Subject: Re: bug#11684: 24.1.50; Version 24.1.50 crash on OS X Lion

From: Jan Djärv <[email-masked]>
Date: Tue, 12 Jun 2012 22:22:54 +0200

Hello.

12 jun 2012 kl. 21:39 skrev Eli Zaretskii:

>> From: James Peterson <[email-masked]>
>> Date: Tue, 12 Jun 2012 11:26:47 -0700
>> 
>> 
>> 
>> Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
>> 0   libsystem_kernel.dylib        	0x00007fff8dc0182a __kill + 10
>> 1   org.gnu.Emacs                 	0x00000001000a608b fatal_error_signal + 347
>> 2   libsystem_c.dylib             	0x00007fff8a1c3cfa _sigtramp + 26
>> 3   libsystem_kernel.dylib        	0x00007fff8dc01ce2 __pthread_kill + 10
>> 4   libsystem_c.dylib             	0x00007fff8a1717d2 pthread_kill + 95
>> 5   libsystem_c.dylib             	0x00007fff8a162a7a abort + 143
>> 6   org.gnu.Emacs                 	0x000000010018eb9f ns_term_shutdown + 79
>> 7   org.gnu.Emacs                 	0x00000001000a5750 shut_down_emacs + 192
>> 8   org.gnu.Emacs                 	0x00000001000a6057 fatal_error_signal + 295
>> 9   libsystem_c.dylib             	0x00007fff8a1c3cfa _sigtramp + 26
>> 10  com.apple.CoreFoundation      	0x00007fff8d7f83c2 CFStringGetLength + 18
>> 11  com.apple.CoreFoundation      	0x00007fff8d80f97e CFStringCompare + 30
>> 12  com.apple.CoreText            	0x00007fff874b67b2 CompareLocalizedDescriptorsByTraitsAndPrecedence(void const*, void const*, void*, bool) + 209
>> 13  com.apple.CoreFoundation      	0x00007fff8d830fdd __CFSimpleMergeSort + 141
>> 14  com.apple.CoreFoundation      	0x00007fff8d831083 __CFSimpleMergeSort + 307
>> 15  com.apple.CoreFoundation      	0x00007fff8d831067 __CFSimpleMergeSort + 279
>> 16  com.apple.CoreFoundation      	0x00007fff8d831083 __CFSimpleMergeSort + 307
>> 17  com.apple.CoreFoundation      	0x00007fff8d831083 __CFSimpleMergeSort + 307
>> 18  com.apple.CoreFoundation      	0x00007fff8d831067 __CFSimpleMergeSort + 279
>> 19  com.apple.CoreFoundation      	0x00007fff8d831067 __CFSimpleMergeSort + 279
>> 20  com.apple.CoreFoundation      	0x00007fff8d831083 __CFSimpleMergeSort + 307
>> 21  com.apple.CoreFoundation      	0x00007fff8d831067 __CFSimpleMergeSort + 279
>> 22  com.apple.CoreFoundation      	0x00007fff8d830ef6 CFSortIndexes + 1446
>> 23  com.apple.CoreFoundation      	0x00007fff8d803e33 CFQSortArray + 275
>> 24  com.apple.CoreFoundation      	0x00007fff8d803bb8 CFArraySortValues + 1080
>> 25  com.apple.CoreText            	0x00007fff874e0b28 TDescriptorSource::GetAllDescriptors(bool, long (*)(void const*, void const*, void*)) const + 136
>> 26  com.apple.CoreText            	0x00007fff874ad587 TDescriptor::CreateMatchingDescriptors(__CFSet const*, unsigned long) const + 163
>> 27  com.apple.AppKit              	0x00007fff8a65b599 -[NSCTFontDescriptor matchingFontDescriptorsWithMandatoryKeys:] + 12
>> 28  org.gnu.Emacs                 	0x00000001001a9801 ns_findfonts + 449
>> 29  org.gnu.Emacs                 	0x0000000100133d06 font_list_entities + 1414
>> 30  org.gnu.Emacs                 	0x0000000100135717 font_find_for_lface + 1239
>> 31  org.gnu.Emacs                 	0x000000010017f6dd fontset_find_font + 1597
>> 32  org.gnu.Emacs                 	0x000000010017fc7b fontset_font + 283
>> 33  org.gnu.Emacs                 	0x0000000100180123 face_for_char + 291
>> 34  org.gnu.Emacs                 	0x0000000100035e61 get_next_display_element + 2625
> 
> Sounds like a duplicate of bug #11583, perhaps the fix for it
> (revision 108036 on the emacs-24 branch) will fix this one as well.
> 

I don't think it is a duplicate of 11583.  That bug was a crash in x_free_frame_resources.  This is in the font code.  According to the recepie to reproduce, x_free_frame_resources has not been called.

	Jan D.