From unknown Sun Jun 22 11:40:45 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6593: emacs-23.2 crashes in get_glyph_face_and_encoding with a null face returned by FACE_FROM_ID(0) Resent-From: John Lumby Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 09 Jul 2010 16:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 6593 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 6593@debbugs.gnu.org X-Debbugs-Original-To: Received: via spool by submit@debbugs.gnu.org id=B.127869134619777 (code B ref -1); Fri, 09 Jul 2010 16:03:02 +0000 Received: (at submit) by debbugs.gnu.org; 9 Jul 2010 16:02:26 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OXG1w-00058w-Ov for submit@debbugs.gnu.org; Fri, 09 Jul 2010 12:02:26 -0400 Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OXE3E-0003d2-Nq for submit@debbugs.gnu.org; Fri, 09 Jul 2010 09:55:38 -0400 Received: from lists.gnu.org ([199.232.76.165]:58826) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OXE39-0001ci-Eo for submit@debbugs.gnu.org; Fri, 09 Jul 2010 09:55:31 -0400 Received: from [140.186.70.92] (port=34950 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OXE33-0006hD-7L for bug-gnu-emacs@gnu.org; Fri, 09 Jul 2010 09:55:30 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, RECEIVED_FROM_WINDOWS_HOST, T_RP_MATCHES_RCVD autolearn=no version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OXE2b-0002rc-MU for bug-gnu-emacs@gnu.org; Fri, 09 Jul 2010 09:55:25 -0400 Received: from col0-omc1-s13.col0.hotmail.com ([65.55.34.23]:47610) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OXE2b-0002rR-DA for bug-gnu-emacs@gnu.org; Fri, 09 Jul 2010 09:54:57 -0400 Received: from COL116-W33 ([65.55.34.7]) by col0-omc1-s13.col0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 9 Jul 2010 06:54:55 -0700 Message-ID: Content-Type: multipart/alternative; boundary="_b999fecc-2759-43c5-8ac5-58aab71ecab3_" X-Originating-IP: [70.31.48.125] From: John Lumby Date: Fri, 9 Jul 2010 09:54:55 -0400 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 09 Jul 2010 13:54:55.0866 (UTC) FILETIME=[4FF745A0:01CB1F6E] X-detected-operating-system: by eggs.gnu.org: Windows 2000 SP4, XP SP1+ X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -3.4 (---) X-Mailman-Approved-At: Fri, 09 Jul 2010 12:02:23 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.7 (----) --_b999fecc-2759-43c5-8ac5-58aab71ecab3_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable paste this text into any lisp-interaction buffer e.g. *scratch*=2C positi= on cursor at end=2C and press Ctl-X Ctl-E (progn (modify-frame-parameters (selected-frame) '((menu-bar-lines . 0))) (set-face-font 'modeline "-misc-fixed-medium-r-normal--13-120-75-75-c-70-is= o8859-1") (face-set-after-frame-default (selected-frame)) (set-face-background 'defa= ult (cdr (assoc 'background-color (frame-parameters (selected-frame))))) (s= et-face-background 'fringe (cdr (assoc 'background-color (frame-parameters = (selected-frame))))) (set-face-foreground 'default (cdr (assoc 'foreground-= color (frame-parameters (selected-frame))))) (server-start)) I get a crash in get_glyph_face_and_encoding.=20 It did not happen in 23.1 I started emacs with something like emacs --name=3Dsawlist --title=3Dsawlist -ms "#14892b" -cr red -fn "-Misc-F= ixed-bold-R-*--15-*-*-*-C-90-ISO8859-1" -bg "#E0EDED" -fg "#751503" -q -loa= d sawlist.el I can send my sawlist.el if needed I obtained a core file after rebuilding to get the debugging information an= d here is the relevant piece (gdb) bt #0 0x00d57424 in __kernel_vsyscall () #1 0x00876006 in kill () at ../sysdeps/unix/syscall-template.S:82 #2 0x0810fe76 in fatal_error_signal (sig=3D11) at emacs.c:402 #3 #4 get_glyph_face_and_encoding (f=3D0x920c4f0=2C glyph=3D0x946b9a0=2C char= 2b=3D0xbfbeb890=2C two_byte_p=3D0xbfbeb85c) at xdisp.c:19511 #5 0x0806bc58 in fill_glyph_string (s=3D0xbfbeb8b0=2C face_id=3D0=2C start= =3D=2C end=3D1=2C overlaps=3D0) at xdisp.c:19681 #6 0x0806c68b in draw_glyphs (w=3D0x920c670=2C x=3D27=2C row=3D0x93fa530= =2C area=3DTEXT_AREA=2C start=3D0=2C end=3D1=2C hl=3DDRAW_NORMAL_TEXT=2C ov= erlaps=3D0) at xdisp.c:20297 This patch (below) fixes one obvious mistake (but not the cause) and also w= orks around the problem. This mistake is that the assert is located after = the dereference of the face pointer - should be before. But that just ch= anges the crash to an assert failure. The workaround to is to try all oth= er faces cached on the frame. I don't know what the correct fix is for t= he default face being null. John Lumby --- src/dispextern.h.orig 2010-04-03 18:26:13.000000000 -0400 +++ src/dispextern.h 2010-07-08 11:17:41.000000000 -0400 @@ -1664=2C12 +1664=2C19 @@ struct face_cache else \ (void) 0 =20 +/* search for the first usable cached face on frame F=2C + or null if such a face doesn't exist. */ + +struct face *try_all_cached_faces(struct frame *f)=3B + /* Return a pointer to the face with ID on frame F=2C or null if such a - face doesn't exist. */ + face doesn't exist. But try *all* faces cached for this frame before = giving up */ =20 #define FACE_FROM_ID(F=2C ID) \ (((unsigned) (ID) < FRAME_FACE_CACHE (F)->used) \ - ? FRAME_FACE_CACHE (F)->faces_by_id[ID] \ + ? (FRAME_FACE_CACHE (F)->faces_by_id[ID] ? FRAME_FACE_CACHE (F)->= faces_by_id[ID] : \ + try_all_cached_faces(F) \ + ) \ : NULL) =20 #ifdef HAVE_WINDOW_SYSTEM --- src/xdisp.c.orig 2010-04-05 10:05:48.000000000 -0400 +++ src/xdisp.c 2010-07-08 11:23:35.000000000 -0400 @@ -19489=2C6 +19489=2C22 @@ get_char_face_and_encoding (f=2C c=2C face_i } =20 =20 +/* search for the first usable cached face on frame F=2C + or null if such a face doesn't exist. */ + +struct face *try_all_cached_faces(struct frame *f) +{ + struct face *local_face =3D 0=3B + int ix=2C used=3B + + used =3D FRAME_FACE_CACHE(f)->used=3B + for (ix=3D0=3B ((ixfaces_by_id[ix]=3B + } + + return local_face=3B +} + /* Get face and two-byte form of character glyph GLYPH on frame F. The encoding of GLYPH->u.ch is returned in *CHAR2B. Value is a pointer to a realized face that is ready for display. */ @@ -19505=2C6 +19521=2C9 @@ get_glyph_face_and_encoding (f=2C glyph=2C c xassert (glyph->type =3D=3D CHAR_GLYPH)=3B face =3D FACE_FROM_ID (f=2C glyph->face_id)=3B =20 + /* Make sure X resources of the face are allocated. */ + xassert (face !=3D NULL)=3B + if (two_byte_p) *two_byte_p =3D 0=3B =20 @@ -19518=2C8 +19537=2C6 @@ get_glyph_face_and_encoding (f=2C glyph=2C c STORE_XCHAR2B (char2b=2C 0=2C 0)=3B } =20 - /* Make sure X resources of the face are allocated. */ - xassert (face !=3D NULL)=3B PREPARE_FACE_FOR_DISPLAY (f=2C face)=3B return face=3B } =20 Your Photo on Bing.ca: You Could WIN on Canada Day! Submit a Photo Now! = =20 _________________________________________________________________ Learn more ways to connect with your buddies now http://go.microsoft.com/?linkid=3D9734388= --_b999fecc-2759-43c5-8ac5-58aab71ecab3_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable  =3Bpaste this text into any lisp-interaction buffer e.g. *scratch*=2C&= nbsp=3B position cursor at end=2C and press Ctl-X Ctl-E


(progn (= modify-frame-parameters (selected-frame) '((menu-bar-lines . 0)))
(set-f= ace-font 'modeline "-misc-fixed-medium-r-normal--13-120-75-75-c-70-iso8859-= 1")
(face-set-after-frame-default (selected-frame)) (set-face-backgroun= d 'default (cdr (assoc 'background-color (frame-parameters (selected-frame)= )))) (set-face-background 'fringe (cdr (assoc 'background-color (frame-para= meters (selected-frame))))) (set-face-foreground 'default (cdr (assoc 'fore= ground-color (frame-parameters (selected-frame))))) (server-start))

=

I get a crash in get_glyph_face_and_encoding. =3B


It= did not happen in 23.1

I started emacs with something like
emacs= --name=3Dsawlist --title=3Dsawlist -ms "#14892b" -cr red -fn "-Misc-Fixed-= bold-R-*--15-*-*-*-C-90-ISO8859-1" -bg "#E0EDED" -fg "#751503" -q -load saw= list.el

I can send my sawlist.el =3B if needed

I obtained= a core file after rebuilding to get the debugging information and here is = the relevant piece
(gdb) bt
#0 =3B 0x00d57424 in __kernel_vsyscal= l ()
#1 =3B 0x00876006 in kill () at ../sysdeps/unix/syscall-templat= e.S:82
#2 =3B 0x0810fe76 in fatal_error_signal (sig=3D11) at emacs.c= :402
#3 =3B <=3Bsignal handler called>=3B
#4 =3B get_glyp= h_face_and_encoding (f=3D0x920c4f0=2C glyph=3D0x946b9a0=2C char2b=3D0xbfbeb= 890=2C two_byte_p=3D0xbfbeb85c) at xdisp.c:19511
#5 =3B 0x0806bc58 i= n fill_glyph_string (s=3D0xbfbeb8b0=2C face_id=3D0=2C start=3D<=3Bvalue o= ptimized out>=3B=2C end=3D1=2C overlaps=3D0) at xdisp.c:19681
#6 = =3B 0x0806c68b in draw_glyphs (w=3D0x920c670=2C x=3D27=2C row=3D0x93fa530= =2C area=3DTEXT_AREA=2C start=3D0=2C end=3D1=2C hl=3DDRAW_NORMAL_TEXT=2C ov= erlaps=3D0)
 =3B =3B =3B at xdisp.c:20297



Thi= s patch (below) fixes one obvious mistake (but not the cause) and also work= s around the problem.  =3BThis mistake is that the assert is located af= ter the dereference of the face pointer  =3B- should be before.  = =3B But that just changes the crash to an assert failure.  =3B The work= around to is to try all other faces cached on the frame.  =3B  =3BI= don't know what the correct fix is for the default face being null.

John Lumby


--- src/dispextern.h.orig 2010-04-03 18:26:13.00= 0000000 -0400
+++ src/dispextern.h 2010-07-08 11:17:41.000000000 -0400@@ -1664=2C12 +1664=2C19 @@ struct face_cache
else \
= (void) 0

+/* search for the first usable cached face on frame F= =2C
+ or null if such a face doesn't exist. */
+
+struct face *= try_all_cached_faces(struct frame *f)=3B
+
/* Return a pointer to th= e face with ID on frame F=2C or null if such a
- face doesn't exist. = */
+ face doesn't exist. But try *all* faces cached for this frame b= efore giving up */

#define FACE_FROM_ID(F=2C ID) \
((= (unsigned) (ID) <=3B FRAME_FACE_CACHE (F)->=3Bused) \
- ? FRAME= _FACE_CACHE (F)->=3Bfaces_by_id[ID] \
+ ? (FRAME_FACE_CACHE (= F)->=3Bfaces_by_id[ID] ? FRAME_FACE_CACHE (F)->=3Bfaces_by_id[ID] : \+ try_all_cached_faces(F) \
+ ) \
: NUL= L)

#ifdef HAVE_WINDOW_SYSTEM

--- src/xdisp.c.orig =3B&n= bsp=3B =3B 2010-04-05 10:05:48.000000000 -0400
+++ src/xdisp.c = =3B =3B =3B 2010-07-08 11:23:35.000000000 -0400
@@ -19489=2C6 +1= 9489=2C22 @@ get_char_face_and_encoding (f=2C c=2C face_i
 =3B}
&= nbsp=3B
 =3B
+/* search for the first usable cached face on frame= F=2C
+ =3B =3B or null if such a face doesn't exist. =3B */=
+
+struct face *try_all_cached_faces(struct frame *f)
+{
+&nbs= p=3B struct face *local_face =3D 0=3B
+ =3B int ix=2C used=3B
++ =3B used =3D FRAME_FACE_CACHE(f)->=3Bused=3B
+ =3B for (ix= =3D0=3B ((ix<=3Bused) &=3B&=3B (local_face =3D=3D (struct face *)0)= )=3B ix++) {
+ =3B =3B =3B =3B local_face =3D =3B FR= AME_FACE_CACHE(f)->=3Bfaces_by_id[ix]=3B
+ =3B }
+
+ =3B= return local_face=3B
+}
+
 =3B/* Get face and two-byte form o= f character glyph GLYPH on frame F.
 =3B =3B =3B The encodin= g of GLYPH->=3Bu.ch is returned in *CHAR2B. =3B Value is
 =3B&= nbsp=3B =3B a pointer to a realized face that is ready for display.&nbs= p=3B */
@@ -19505=2C6 +19521=2C9 @@ get_glyph_face_and_encoding (f=2C gl= yph=2C c
 =3B =3B xassert (glyph->=3Btype =3D=3D CHAR_GLYPH)= =3B
 =3B =3B face =3D FACE_FROM_ID (f=2C glyph->=3Bface_id)=3B=
 =3B
+ =3B /* Make sure X resources of the face are allocate= d. =3B */
+ =3B xassert (face !=3D NULL)=3B
+
 =3B&nbs= p=3B if (two_byte_p)
 =3B =3B =3B =3B *two_byte_p =3D 0= =3B
 =3B
@@ -19518=2C8 +19537=2C6 @@ get_glyph_face_and_encoding = (f=2C glyph=2C c
 =3B =3B =3B =3B STORE_XCHAR2B (char2b= =2C 0=2C 0)=3B
 =3B =3B =3B =3B }
 =3B
- = =3B /* Make sure X resources of the face are allocated. =3B */
-&nbs= p=3B xassert (face !=3D NULL)=3B
 =3B =3B PREPARE_FACE_FOR_DISPL= AY (f=2C face)=3B
 =3B =3B return face=3B
 =3B}




Your Photo on Bing.ca: You Could WIN on Canada Da= y! Submit a Photo Now= !

Enter for a chance to get your town photo on = Bing.ca! Submit a Photo Now! = --_b999fecc-2759-43c5-8ac5-58aab71ecab3_-- From unknown Sun Jun 22 11:40:45 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6593: emacs-23.2 crashes in get_glyph_face_and_encoding with a null face returned by FACE_FROM_ID(0) Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 10 Jul 2010 08:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6593 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: John Lumby Cc: 6593@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 6593-submit@debbugs.gnu.org id=B6593.127874974513166 (code B ref 6593); Sat, 10 Jul 2010 08:16:02 +0000 Received: (at 6593) by debbugs.gnu.org; 10 Jul 2010 08:15:45 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OXVDs-0003QJ-LP for submit@debbugs.gnu.org; Sat, 10 Jul 2010 04:15:44 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OXVDq-0003QC-1m for 6593@debbugs.gnu.org; Sat, 10 Jul 2010 04:15:43 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0L5C008001CYL200@a-mtaout20.012.net.il> for 6593@debbugs.gnu.org; Sat, 10 Jul 2010 11:15:38 +0300 (IDT) Received: from HOME-C4E4A596F7 ([77.127.120.144]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L5C0069Z1LZ7E70@a-mtaout20.012.net.il>; Sat, 10 Jul 2010 11:15:36 +0300 (IDT) Date: Sat, 10 Jul 2010 11:13:33 +0300 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il Message-id: <83sk3rah5e.fsf@gnu.org> References: X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) > From: John Lumby > Date: Fri, 9 Jul 2010 09:54:55 -0400 > Cc: > > paste this text into any lisp-interaction buffer e.g. *scratch*, position cursor at end, and press Ctl-X Ctl-E > > > (progn (modify-frame-parameters (selected-frame) '((menu-bar-lines . 0))) > (set-face-font 'modeline "-misc-fixed-medium-r-normal--13-120-75-75-c-70-iso8859-1") > (face-set-after-frame-default (selected-frame)) (set-face-background 'default (cdr (assoc 'background-color (frame-parameters (selected-frame))))) (set-face-background 'fringe (cdr (assoc 'background-color (frame-parameters (selected-frame))))) (set-face-foreground 'default (cdr (assoc 'foreground-color (frame-parameters (selected-frame))))) (server-start)) > > > > I get a crash in get_glyph_face_and_encoding. Thanks for your report. It misses a few crucial details, though. What system is that? I couldn't reproduce the crash on my machine (MS-Windows). > I started emacs with something like > emacs --name=sawlist --title=sawlist -ms "#14892b" -cr red -fn "-Misc-Fixed-bold-R-*--15-*-*-*-C-90-ISO8859-1" -bg "#E0EDED" -fg "#751503" -q -load sawlist.el > > I can send my sawlist.el if needed Does the crash happen if you start Emacs with "emacs -Q"? Without -Q, your customizations on ~/.emacs also come into play. > I obtained a core file after rebuilding to get the debugging information and here is the relevant piece > (gdb) bt > #0 0x00d57424 in __kernel_vsyscall () > #1 0x00876006 in kill () at ../sysdeps/unix/syscall-template.S:82 > #2 0x0810fe76 in fatal_error_signal (sig=11) at emacs.c:402 > #3 > #4 get_glyph_face_and_encoding (f=0x920c4f0, glyph=0x946b9a0, char2b=0xbfbeb890, two_byte_p=0xbfbeb85c) at xdisp.c:19511 > #5 0x0806bc58 in fill_glyph_string (s=0xbfbeb8b0, face_id=0, start=, end=1, overlaps=0) at xdisp.c:19681 > #6 0x0806c68b in draw_glyphs (w=0x920c670, x=27, row=0x93fa530, area=TEXT_AREA, start=0, end=1, hl=DRAW_NORMAL_TEXT, overlaps=0) > at xdisp.c:20297 Please show the full backtrace, including the Lisp backtrace (shown if you start GDB from the src directory). The above only shows the top 6 stack frames. Also, if you could rebuild without optimizations (-O0), it would help, because the stack trace in an optimized build cannot be trusted and too many variables have their values shown as ``optimized out'', which doesn't really help debugging. > This patch (below) fixes one obvious mistake (but not the cause) and also works around the problem. This mistake is that the assert is located after the dereference of the face pointer - should be before. But that just changes the crash to an assert failure. The workaround to is to try all other faces cached on the frame. I don't know what the correct fix is for the default face being null. Sorry, but I don't think this is the right fix. The default face should always be realized. Looking up some face, any face, in the face cache is not TRT. From unknown Sun Jun 22 11:40:45 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6593: emacs-23.2 crashes in get_glyph_face_and_encoding with a null face returned by FACE_FROM_ID(0) Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 10 Jul 2010 17:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6593 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: John Lumby Cc: 6593@debbugs.gnu.org Received: via spool by 6593-submit@debbugs.gnu.org id=B6593.127878473631304 (code B ref 6593); Sat, 10 Jul 2010 17:59:02 +0000 Received: (at 6593) by debbugs.gnu.org; 10 Jul 2010 17:58:56 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OXeKG-00088r-EP for submit@debbugs.gnu.org; Sat, 10 Jul 2010 13:58:56 -0400 Received: from pantheon-po45.its.yale.edu ([130.132.50.79]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OXeKE-00088m-Ap for 6593@debbugs.gnu.org; Sat, 10 Jul 2010 13:58:54 -0400 Received: from furry (173-14-147-246-NewEngland.hfc.comcastbusiness.net [173.14.147.246]) (authenticated bits=0) by pantheon-po45.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o6AHwpsb003627 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 10 Jul 2010 13:58:52 -0400 Received: by furry (Postfix, from userid 1000) id 3894EC011; Sat, 10 Jul 2010 13:58:51 -0400 (EDT) From: Chong Yidong References: Date: Sat, 10 Jul 2010 13:58:51 -0400 In-Reply-To: (John Lumby's message of "Fri, 9 Jul 2010 09:54:55 -0400") Message-ID: <87bpafqkv8.fsf@stupidchicken.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-Spam-Score: -2.9 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.9 (--) John Lumby writes: > (progn (modify-frame-parameters (selected-frame) '((menu-bar-lines . 0))) > (set-face-font 'modeline > "-misc-fixed-medium-r-normal--13-120-75-75-c-70-iso8859-1") > (face-set-after-frame-default (selected-frame)) (set-face-background 'default > (cdr (assoc 'background-color (frame-parameters (selected-frame))))) > (set-face-background 'fringe (cdr (assoc 'background-color (frame-parameters > (selected-frame))))) (set-face-foreground 'default (cdr (assoc > 'foreground-color (frame-parameters (selected-frame))))) (server-start)) > > I get a crash in get_glyph_face_and_encoding. Thanks; I've checked a fix into the branch. From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 10 13:59:06 2010 Received: (at control) by debbugs.gnu.org; 10 Jul 2010 17:59:06 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OXeKQ-00089O-Jg for submit@debbugs.gnu.org; Sat, 10 Jul 2010 13:59:06 -0400 Received: from pantheon-po44.its.yale.edu ([130.132.50.78]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OXeKP-00088x-3h for control@debbugs.gnu.org; Sat, 10 Jul 2010 13:59:05 -0400 Received: from furry (173-14-147-246-NewEngland.hfc.comcastbusiness.net [173.14.147.246]) (authenticated bits=0) by pantheon-po44.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o6AHx3pB019353 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 10 Jul 2010 13:59:03 -0400 Received: by furry (Postfix, from userid 1000) id 28EADC011; Sat, 10 Jul 2010 13:59:03 -0400 (EDT) From: Chong Yidong To: control@debbugs.gnu.org Subject: close 6593 Date: Sat, 10 Jul 2010 13:59:03 -0400 Message-ID: <87pqyvz09k.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-Spam-Score: -2.9 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.9 (--) close 6593 thanks