Subject: bug#11541: 24.0.97; Crash when visiting file on OS X 10.7.3

From: Florian Ebeling <[email-masked]>
Date: Wed, 30 May 2012 09:55:33 +0200

> Hmm, the's strange, that does not look like a font spec Lisp object at
> all... are you sure you typed "pp" rather than "p"?  Please do
>
> p spec
> xtype
>
> and show the result.

That yields this:

(gdb) p font_spec
$1 = 140734799761008
(gdb) p/x font_spec
$2 = 0x7fff5fbf4e70
(gdb) xtype
Lisp_Int0

- I hope 'font_spec' is what you meant. 'spec' is an unknown symbol
here. See below for the first part of the gdb output

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000
0x00007fff8966d3c2 in CFStringGetLength ()
(gdb) f 18
#18 0x0000000100199c9e in ns_findfonts (font_spec=140734799761008,
isMatch=0 '\000') at nsfont.m:521
521	    matchingDescs = [fdesc matchingFontDescriptorsWithMandatoryKeys: fkeys];
Current language:  auto; currently objective-c
(gdb) p spec
No symbol "spec" in current context.