From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: CVS emacs on Windows still crashes loading bongo.el Date: Wed, 28 May 2008 21:23:59 +0900 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1211977468 4207 80.91.229.12 (28 May 2008 12:24:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 28 May 2008 12:24:28 +0000 (UTC) Cc: deyke@yahoo.com, ddeyke@ptc.com, emacs-devel@gnu.org To: dhruva Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 28 14:24:59 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K1KiA-000864-Cd for ged-emacs-devel@m.gmane.org; Wed, 28 May 2008 14:24:58 +0200 Original-Received: from localhost ([127.0.0.1]:56411 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K1KhP-0005kR-2w for ged-emacs-devel@m.gmane.org; Wed, 28 May 2008 08:24:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K1KhL-0005jB-Hn for emacs-devel@gnu.org; Wed, 28 May 2008 08:24:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K1KhK-0005hX-68 for emacs-devel@gnu.org; Wed, 28 May 2008 08:24:07 -0400 Original-Received: from [199.232.76.173] (port=42268 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K1KhJ-0005hI-RU for emacs-devel@gnu.org; Wed, 28 May 2008 08:24:05 -0400 Original-Received: from mx1.aist.go.jp ([150.29.246.133]:33085) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K1KhJ-0004Xq-E9 for emacs-devel@gnu.org; Wed, 28 May 2008 08:24:05 -0400 Original-Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1.aist.go.jp with ESMTP id m4SCO8ri002522; Wed, 28 May 2008 21:24:08 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp2.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id m4SCNxS7004305; Wed, 28 May 2008 21:23:59 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp2.aist.go.jp with ESMTP id m4SCNxLP019247; Wed, 28 May 2008 21:23:59 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken.m17n.org with local (Exim 4.69) (envelope-from ) id 1K1KhD-00037J-5i; Wed, 28 May 2008 21:23:59 +0900 In-reply-to: (message from dhruva on Wed, 28 May 2008 17:19:56 +0530) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) X-detected-kernel: by monty-python.gnu.org: Solaris 9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:97893 Archived-At: In article , dhruva writes: > I have further isolated the problem to the following call: > (font-info (face-font 'fringe)) > If you start emacs and evaluate the above expression TWICE (not the > first time), you will get that crash (call to abort()) in > font_close_object. The objlist seems to be empty and it does not enter > the for loop. The following statement is a call to abort and hence, it > had to enter the loop. I am currently trying to understand the data > structures so that I can look deeper into it. Thank you for finding this bug. I've just installed a fix. Even if Ffont_info opens a font, it should not close the font because it's still kept in OBJLIST of font-entity, and may be used by some other place. BTW, it seems that the current code has a bug in releasing a font-object. I'll investigate it. --- Kenichi Handa handa@ni.aist.go.jp