Mysterious crash in objc_msgSend in GC app
Mysterious crash in objc_msgSend in GC app
- Subject: Mysterious crash in objc_msgSend in GC app
- From: "Sean McBride" <email@hidden>
- Date: Tue, 27 Oct 2009 13:43:34 -0400
- Organization: Rogue Research Inc.
Hi all,
Occasionally, my GC app crashes in objc_msgSend with none of my code in
the backtrace. This only happens to customers; I've never caught it in gdb.
I've read through Greg's awesome "So you crashed in objc_msgSend()"
article, but I still don't have a clue. :(
I'm able to determine that the selector was from libobjc.A.dylib but I
don't know which (the uuid from dwarfdump does not match mine).
I guess I'm hoping this backtrace looks familiar to someone out there... :)
Thanks,
Sean
Crash Log:
Process: Brainsight [1022]
Path: /Applications/Brainsight/Brainsight.app/Contents/MacOS/
Brainsight
Identifier: com.rogue-research.brainsight2
Version: 2.0.4 (7274)
Code Type: X86-64 (Native)
Parent Process: launchd [88]
Date/Time: 2009-10-19 16:57:44.035 -0500
OS Version: Mac OS X 10.5.8 (9L30)
Report Version: 6
Anonymous UUID: (snip)
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0xfffffff7fa6d09cf
Crashed Thread: 0
Application Specific Information:
objc[1022]: garbage collection is ON
Thread 0 Crashed:
0 libobjc.A.dylib 0x00007fff81d86ad9 objc_msgSend + 41
1 com.apple.CoreFoundation 0x00007fff81eba969
__CFMessagePortPerform + 185
2 com.apple.CoreFoundation 0x00007fff81eda12c
CFRunLoopRunSpecific + 3516
3 com.apple.HIToolbox 0x00007fff80b47d0e
RunCurrentEventLoopInMode + 278
4 com.apple.HIToolbox 0x00007fff80b47b44
ReceiveNextEventCommon + 322
5 com.apple.HIToolbox 0x00007fff80b479ef
BlockUntilNextEventMatchingListInMode + 79
6 com.apple.AppKit 0x00007fff8105ae70 _DPSNextEvent + 603
7 com.apple.AppKit 0x00007fff8105a7b1 -[NSApplication
nextEventMatchingMask:untilDate:inMode:dequeue:] + 136
8 com.apple.AppKit 0x00007fff81054523 -[NSApplication
run] + 434
9 com.apple.AppKit 0x00007fff810212f0 NSApplicationMain + 373
10 com.rogue-research.brainsight2 0x0000000100001614 start + 52
Thread 1:
0 libSystem.B.dylib 0x00007fffffe006ab __bzero + 171
(cpu_capabilities.h:244)
1 libauto.dylib 0x00007fff84003b68
Auto::Zone::reset_all_marks() + 56
2 libauto.dylib 0x00007fff83ff3c18
auto_collect_internal(Auto::Zone*, unsigned int) + 1176
3 libauto.dylib 0x00007fff83ff431e
auto_collect_with_mode(Auto::Zone*, unsigned int) + 190
4 libauto.dylib 0x00007fff83ff43b0
auto_collection_thread(void*) + 112
5 libSystem.B.dylib 0x00007fff83923e8b _pthread_start + 316
6 libSystem.B.dylib 0x00007fff83923d4d thread_start + 13
(28 other threads that don't seem to be doing much)
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000002 rbx: 0x00007fff5fbfeb70 rcx:
0x0000000805927660 rdx: 0x0000000000000000
rdi: 0x0000000805927660 rsi: 0x00007fff81dcc918 rbp:
0x00007fff5fbfec40 rsp: 0x00007fff5fbfeb38
r8: 0x00000001029e0268 r9: 0x0000000102bfc080 r10:
0x0000000000000000 r11: 0xfffffff7fa6d09bf
r12: 0x00007fff5fbfeb40 r13: 0x0000000000000000 r14:
0x00007fff5fbfeb90 r15: 0x0000000812fb0de0
rip: 0x00007fff81d86ad9 rfl: 0x0000000000010206 cr2: 0xfffffff7fa6d09cf
Binary Images:
(snip)
0x7fff81d74000 - 0x7fff81e68fff libobjc.A.dylib ??? (???)
<ae894159f17cfb7673373132cab14f77> /usr/lib/libobjc.A.dylib
(snip)
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden