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: unicode-2 branch segfaulting on MacOS X? Date: Fri, 27 Oct 2006 13:17:05 +0900 Message-ID: References: <453C1834.6040909@cis.upenn.edu> <453C37D6.9090206@cis.upenn.edu> <453C92AF.7060100@cis.upenn.edu> <453CBBD5.9010900@cis.upenn.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1161922628 5730 80.91.229.2 (27 Oct 2006 04:17:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 27 Oct 2006 04:17:08 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 27 06:17:05 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GdJ9T-0001dF-SG for ged-emacs-devel@m.gmane.org; Fri, 27 Oct 2006 06:17:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GdJ9T-0005eI-Aa for ged-emacs-devel@m.gmane.org; Fri, 27 Oct 2006 00:17:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GdJ93-0005YT-Hl for emacs-devel@gnu.org; Fri, 27 Oct 2006 00:16:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GdJ90-0005Xq-LR for emacs-devel@gnu.org; Fri, 27 Oct 2006 00:16:37 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GdJ90-0005Xn-H7 for emacs-devel@gnu.org; Fri, 27 Oct 2006 00:16:34 -0400 Original-Received: from [150.29.246.133] (helo=mx1.aist.go.jp) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GdJ8z-0005Gq-Vg for emacs-devel@gnu.org; Fri, 27 Oct 2006 00:16:34 -0400 Original-Received: from smtp3.aist.go.jp ([150.29.246.12]) by mx1.aist.go.jp with ESMTP id k9R4GB5Y011248; Fri, 27 Oct 2006 13:16:11 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp3.aist.go.jp with ESMTP id k9R4GAbO019230; Fri, 27 Oct 2006 13:16:10 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 3.36 #1 (Debian)) id 1GdJ9V-00034m-00; Fri, 27 Oct 2006 13:17:05 +0900 Original-To: Geoffrey Alan Washburn In-reply-to: <453CBBD5.9010900@cis.upenn.edu> (message from Geoffrey Alan Washburn on Mon, 23 Oct 2006 08:55:49 -0400) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.50 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI) 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:61215 Archived-At: In article <453CBBD5.9010900@cis.upenn.edu>, Geoffrey Alan Washburn writes: > Kenichi Handa wrote: > > Thank you. I think I found what was wrong. As I've just > > installed a fix, please try the latest code. > Thanks, that seems to have solved the problem in font_unparse_fcname, > but now it seems to be segfaulting in gtk_default_draw_check () > Starting program: /local/bin/emacs --enable-font-backend --font > "Bitstream Vera Sans Mono-16" > Breakpoint 3 at 0x9ca20: file xterm.c, line 8053. > Program received signal EXC_BAD_ACCESS, Could not access memory. > Reason: KERN_PROTECTION_FAILURE at address: 0x00000004 > 0x0018f358 in gtk_default_draw_check () at font.c:1328 > 1328 p += sprintf (p, ":%s=%s", style_names[i], > (gdb) p styles[i] > Cannot access memory at address 0xca87dc74 It seems that the stack (or the symbol table is) is completely broken. Please rebuild emacs with this: % make CFLAGS=-g clean all and check if Emacs segfaults at the same place or not. --- Kenichi Handa handa@m17n.org