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: Tue, 11 Nov 2003 06:29:04 +0100 (CET) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <20031111.062904.179201862.wl@gnu.org> References: <200311101142.UAA29631@etlken.m17n.org> <20031110.145406.63054872.wl@gnu.org> <200311110015.JAA00899@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 1068528899 14542 80.91.224.253 (11 Nov 2003 05:34:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 11 Nov 2003 05:34:59 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Nov 11 06:34:56 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 1AJRB2-0003lP-00 for ; Tue, 11 Nov 2003 06:34:56 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AJRAz-0005T0-00 for ; Tue, 11 Nov 2003 06:34:53 +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 1AJS5z-0000Yr-Ov for emacs-devel@quimby.gnus.org; Tue, 11 Nov 2003 01:33:47 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AJS4x-0008MU-SZ for emacs-devel@gnu.org; Tue, 11 Nov 2003 01:32:43 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AJS3V-0007Wp-Iy for emacs-devel@gnu.org; Tue, 11 Nov 2003 01:31:45 -0500 Original-Received: from [212.227.126.186] (helo=moutng.kundenserver.de) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AJS3D-0006ql-KI for emacs-devel@gnu.org; Tue, 11 Nov 2003 01:30:55 -0500 Original-Received: from [212.227.126.206] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1AJR5m-0004yE-00; Tue, 11 Nov 2003 06:29:30 +0100 Original-Received: from [80.129.64.33] (helo=orion.univie.ac.at) by mrelayng.kundenserver.de with asmtp (TLSv1:EDH-RSA-DES-CBC3-SHA:168) (Exim 3.35 #1) id 1AJR5m-0008Nd-00; Tue, 11 Nov 2003 06:29:30 +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 hAB5T4107024; Tue, 11 Nov 2003 06:29:04 +0100 Original-To: handa@m17n.org In-Reply-To: <200311110015.JAA00899@etlken.m17n.org> X-Mailer: Mew version 4.0.60 on Emacs 21.3.50.1 / Mule 5.0 (SAKAKI) 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:17764 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17764 From: Kenichi Handa Subject: Re: Emacs crash CVS 2003-10-17 Date: Tue, 11 Nov 2003 09:15:30 +0900 (JST) > In article <20031110.145406.63054872.wl@gnu.org>, Werner LEMBERG writes: > > >> > 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, > [...] > > face_id = 26, > > Hmmm, then somehow, the call of FACE_FROM_ID here: > > L16697 face = FACE_FROM_ID (f, glyph->face_id); > > returns NULL. > > Please show the result of these: > (gdb) p *f->face_cache > (gdb) p *f->face_cache->faces_by_id[26] (gdb) p *f->face_cache $6 = { buckets = 0x8660de0, f = 0x85af0c0, faces_by_id = 0x8ba02f0, size = 200, used = 21, menu_face_changed_p = 0 } (gdb) p *f->face_cache->faces_by_id[26] Cannot access memory at address 0x0 The last non-zero index is 20: (gdb) p *f->face_cache->faces_by_id[20] $19 = { id = 20, gc = 0x8db55a8, font = 0x8d63470, stipple = 0, foreground = 3355443, background = 15066597, underline_color = 0, overline_color = 0, strike_through_color = 0, box_color = 12566463, font_name = 0x8c94c38 "-Etl-Fixed-Bold-R-Normal--24-240-72-72-C-120-ISO8859-1", font_info_id = 0, fontset = 22, pixmap_w = 0, pixmap_h = 0, box_line_width = -1, box = FACE_SIMPLE_BOX, use_box_color_for_shadows_p = 1, lface = {675056940, 1758776380, 675105332, 174, 675105476, 675105332, 675056556, 675056556, 1749329204, 1749332324, 675056556, 675056556, 675056556, -1471922728, 675056556, 675056556, 120}, hash = 675090362, charset = 0, underline_p = 0, overline_p = 0, strike_through_p = 0, foreground_defaulted_p = 0, background_defaulted_p = 0, underline_defaulted_p = 0, overline_color_defaulted_p = 0, strike_through_color_defaulted_p = 0, box_color_defaulted_p = 1, tty_bold_p = 0, tty_dim_p = 0, tty_underline_p = 0, tty_alt_charset_p = 0, tty_reverse_p = 0, tty_blinking_p = 0, colors_copied_bitwise_p = 0, overstrike = 0, next = 0x0, prev = 0x0, ascii_face = 0x8fb51c8 } > By the way, xbacktrace shows that Emacs crashed while calling > message. I remember you are using a separate frame for the > minibuffer, so the message of what-cursor-position is shown in the > minibuffer-only frame, right? No. I only use a separate minibuffer-only frame if I access the 40x40 bitmap fonts for CNS-11643 which isn't the case currently. Werner