From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Antipov Newsgroups: gmane.emacs.bugs Subject: bug#16140: 24.3.50; GC tries to free invalid font objects Date: Mon, 16 Dec 2013 19:26:59 +0400 Message-ID: <52AF1BC3.8090100@yandex.ru> References: <83vbyrg3qb.fsf@gnu.org> <52AEB30C.7090306@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1387207698 17151 80.91.229.3 (16 Dec 2013 15:28:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 16 Dec 2013 15:28:18 +0000 (UTC) Cc: 16140@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 16 16:28:23 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Vsa5k-0007zR-Rx for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Dec 2013 16:28:20 +0100 Original-Received: from localhost ([::1]:56672 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vsa5k-0004cp-DH for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Dec 2013 10:28:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60115) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vsa5Z-0004Of-LK for bug-gnu-emacs@gnu.org; Mon, 16 Dec 2013 10:28:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vsa5S-0000g5-No for bug-gnu-emacs@gnu.org; Mon, 16 Dec 2013 10:28:09 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39990) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vsa5S-0000g0-KA for bug-gnu-emacs@gnu.org; Mon, 16 Dec 2013 10:28:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Vsa5R-00015t-TH for bug-gnu-emacs@gnu.org; Mon, 16 Dec 2013 10:28:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Antipov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 Dec 2013 15:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16140 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16140-submit@debbugs.gnu.org id=B16140.13872076284128 (code B ref 16140); Mon, 16 Dec 2013 15:28:01 +0000 Original-Received: (at 16140) by debbugs.gnu.org; 16 Dec 2013 15:27:08 +0000 Original-Received: from localhost ([127.0.0.1]:54009 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vsa4Z-00014V-Vm for submit@debbugs.gnu.org; Mon, 16 Dec 2013 10:27:08 -0500 Original-Received: from forward9l.mail.yandex.net ([84.201.143.142]:43136) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vsa4X-00014L-Ts for 16140@debbugs.gnu.org; Mon, 16 Dec 2013 10:27:06 -0500 Original-Received: from smtp17.mail.yandex.net (smtp17.mail.yandex.net [95.108.252.17]) by forward9l.mail.yandex.net (Yandex) with ESMTP id 5898AE60D67; Mon, 16 Dec 2013 19:27:05 +0400 (MSK) Original-Received: from smtp17.mail.yandex.net (localhost [127.0.0.1]) by smtp17.mail.yandex.net (Yandex) with ESMTP id 094391900020; Mon, 16 Dec 2013 19:27:04 +0400 (MSK) Original-Received: from unknown (unknown [37.139.80.10]) by smtp17.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id abqzT6Oo03-R4PqudPl; Mon, 16 Dec 2013 19:27:04 +0400 (using TLSv1 with cipher CAMELLIA256-SHA (256/256 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1387207624; bh=Is7iiJZ/wZU+oPPXW/fW/XD5LOL9h1qY4uWIFJkr2D4=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=WTYro8k+2koRX97ib7EgPDF7wmWxg9Js87TQQsguTHFit07I7caS9q3+3gewi+66K pEoztKXx+apscan+mBbg9rOKn11uohgs65loOThnjqqWVLdRM0JNO8Q9iRw4KboZUC gMqDtHyDgxE7xEdthziZnLIKwIHpyhUNS6oVuSoc= Authentication-Results: smtp17.mail.yandex.net; dkim=pass header.i=@yandex.ru User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: <52AEB30C.7090306@yandex.ru> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:82064 Archived-At: On 12/16/2013 12:00 PM, Dmitry Antipov wrote: > On 12/14/2013 01:51 PM, Eli Zaretskii wrote: > >> When I originally saw this, fnt->driver was NULL. I added protection >> against that, but then it crashed with non-NULL but still invalid >> pointer. Such pointers should never end up in font objects, so how >> come they do? > > Hm...I've tried bloat-font quite a lot with my MinGW build, but didn't > see anything similar. Anyway, r115541 has an extra check for valid > font driver pointer in font objects; if you hit this eassert, please > let me know. BTW, this may be caused by heap corruption, which I found and described in Bug#16165. Dmitry