Subject: Re: bug#5396: Something in splash page causes Emacs to crash?

From: Joseph Tam <[email-masked]>
Date: Thu, 28 Jan 2010 18:57:41 -0800 (PST)

On Wed, 27 Jan 2010, Kenichi Handa wrote:

> Hmm, it seems that the contents of `name' argument to
> font_parse_xlfd is broken or invalid.
> 
> In the same gdb session, following the above, please do:
> 
> (gdb) up
> (gdb) p buf

Thanks for looking into this.

Here are the results:

 	(gdb) up
 	#2  0x003470d4 in xfont_list_pattern (display=0x958020, pattern=0xffbfc938 "-adobe-helvetica-*-*-*-*-*-*-*-*-*-*-iso8859-1",
 	    registry=542395320, script=542121656) at xfont.c:414
 	414               if (font_parse_xlfd (buf, entity) < 0)

 	(gdb) p buf
 	$1 = "-adobe-helvetica-medium-r-normal-x-x-x-12-120-p-67-iso8859-1\0009-1\0006.\330\000\000\000\005\000\313l\210\000\000\000m\000f\324(\000\313l\210", '\0' <repeats 17 times>, "6.\370", '\0' <repeats 17 times>, "6.\240\000\000\000\002\000\306\030\230", '\0' <repeats 16 times>, "\377\277\311f\377\277\307\354", '\0' <repeats 23 times>, "\001", '\0' <repeats 11 times>, "\001\000\000\000\000\377\277\307\350\000\000\000\001", '\0' <repeats 16 times>, "\377\277\307\210\000\000\000\003`_@\370 P\036\350"...

Enlightening?

Joseph Tam <[email-masked]>