From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Geoffrey Alan Washburn Newsgroups: gmane.emacs.devel Subject: Re: unicode-2 branch segfaulting on MacOS X? Date: Sun, 22 Oct 2006 23:32:38 -0400 Message-ID: <453C37D6.9090206@cis.upenn.edu> References: <453C1834.6040909@cis.upenn.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1161574404 22075 80.91.229.2 (23 Oct 2006 03:33:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 23 Oct 2006 03:33:24 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 23 05:33:22 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 1GbqYn-000742-2S for ged-emacs-devel@m.gmane.org; Mon, 23 Oct 2006 05:33:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GbqYm-0003jC-Cp for ged-emacs-devel@m.gmane.org; Sun, 22 Oct 2006 23:33:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GbqYZ-0003ib-Hf for emacs-devel@gnu.org; Sun, 22 Oct 2006 23:32:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GbqYX-0003hP-QD for emacs-devel@gnu.org; Sun, 22 Oct 2006 23:32:55 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GbqYX-0003hE-Fx for emacs-devel@gnu.org; Sun, 22 Oct 2006 23:32:53 -0400 Original-Received: from [199.232.41.67] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GbqYX-0002vw-Ec for emacs-devel@gnu.org; Sun, 22 Oct 2006 23:32:53 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by mx20.gnu.org with esmtp (Exim 4.52) id 1GbqYW-0000Hz-Go for emacs-devel@gnu.org; Sun, 22 Oct 2006 23:32:52 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GbqYU-0006yx-22 for emacs-devel@gnu.org; Mon, 23 Oct 2006 05:32:50 +0200 Original-Received: from c-68-39-209-108.hsd1.pa.comcast.net ([68.39.209.108]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 23 Oct 2006 05:32:50 +0200 Original-Received: from geoffw by c-68-39-209-108.hsd1.pa.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 23 Oct 2006 05:32:50 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 23 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c-68-39-209-108.hsd1.pa.comcast.net User-Agent: Thunderbird 1.5.0.7 (X11/20060909) In-Reply-To: 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:61018 Archived-At: Kenichi Handa wrote: > That's what I wanted to know. The code around line 1258 is > this: > > 1255 val = AREF (font, FONT_FOUNDRY_INDEX); > 1256 if (! NILP (val)) > 1257 /* ":foundry=NAME" */ > 1258 len += 9 + SBYTES (SYMBOL_NAME (val)); > > So the variable `val' is suspicious. Please check the type > and value of `val' as this: > > (gdb) p val > (gdb) xtype > (gdb) pp val (gdb) p val $1 = 44174064 (gdb) xtype Lisp_Int (gdb) pp val 5521758