From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Werner LEMBERG Newsgroups: gmane.emacs.devel Subject: Re: Emacs crash CVS 2003-10-17 Date: Mon, 10 Nov 2003 14:54:06 +0100 (CET) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <20031110.145406.63054872.wl@gnu.org> References: <20031110.093607.43003888.wl@gnu.org> <200311101142.UAA29631@etlken.m17n.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1068474096 8983 80.91.224.253 (10 Nov 2003 14:21:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 10 Nov 2003 14:21:36 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Nov 10 15:21:32 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AJCv6-0004yg-00 for ; Mon, 10 Nov 2003 15:21:32 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AJCv6-0005fn-00 for ; Mon, 10 Nov 2003 15:21:32 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AJDsJ-0004Fu-GH for emacs-devel@quimby.gnus.org; Mon, 10 Nov 2003 10:22:43 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AJDrr-0004Ei-KE for emacs-devel@gnu.org; Mon, 10 Nov 2003 10:22:15 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AJDr5-00048A-1S for emacs-devel@gnu.org; Mon, 10 Nov 2003 10:21:58 -0500 Original-Received: from [212.227.126.189] (helo=moutng.kundenserver.de) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AJDr4-00047u-AR for emacs-devel@gnu.org; Mon, 10 Nov 2003 10:21:26 -0500 Original-Received: from [212.227.126.160] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1AJCtd-0001VU-00; Mon, 10 Nov 2003 15:20:01 +0100 Original-Received: from [80.129.74.104] (helo=orion.univie.ac.at) by mrelayng.kundenserver.de with asmtp (TLSv1:EDH-RSA-DES-CBC3-SHA:168) (Exim 3.35 #1) id 1AJCtc-0005R2-00; Mon, 10 Nov 2003 15:20:00 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by orion.univie.ac.at (8.11.6/8.11.6/SuSE Linux 0.5) with ESMTP id hAADs6104806; Mon, 10 Nov 2003 14:54:06 +0100 Original-To: handa@m17n.org In-Reply-To: <200311101142.UAA29631@etlken.m17n.org> X-Mailer: Mew version 4.0.60 on Emacs 21.3.50.1 / Mule 5.0 (SAKAKI) X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:2dc398bc694a1e60948148ba0a42c0da X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:17756 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17756 > > Program received signal SIGSEGV, Segmentation fault. > > 0x08077c43 in fill_glyph_string (s=0xbfffe424, face_id=26, > > start=6, end=79, overlaps_p=0) at xdisp.c:16730 > > 16730 = FONT_INFO_FROM_ID (f, face->font_info_id); > > I'd like to know the result of these: > (gdb) p *face > (gdb) p *glyph (gdb) p *face Cannot access memory at address 0x0 (gdb) p *glyph $5 = { charpos = 7, object = -2006738280, pixel_width = 24, voffset = 0, type = 0, multibyte_p = 1, left_box_line_p = 0, right_box_line_p = 0, overlaps_vertically_p = 0, padding_p = 0, glyph_not_available_p = 0, face_id = 26, font_type = 0, u = { ch = 157926, cmp_id = 157926, img_id = 157926, stretch = { height = 26854, ascent = 2 }, val = 157926 } } > But, as it crashes in the inline function > get_glyph_face_and_encoding, those values won't be available in the > current gdb session. > > Can you reproduce it constantly? No. > If not, could you > re-compile xdisp.c with CFLAGS='-g -fno-inline', rebuild > emacs, and use it for a while? The actual procedure will > be: > % cd .../emacs/src > % rm xdisp.o > % make CFLAGS='-g -fno-inline' OK, I'll rebuild emacs from a recent CVS snapshot with `-O0'. Werner