PDA

View Full Version : problem in Reading crash reports




mkristain
May 9, 2012, 03:26 AM
Hi!

I am having trouble making sense of crash reports.

E.g.:

Thread 0 Crashed:
0 libobjc.A.dylib 0x90a3e100 objc_msgSend + 32
1 HoudahSpot 0x0001466c -[TestController testNotification:] + 396
2 com.apple.Foundation 0x92931ad8 _nsnote_callback + 180
3 com.apple.CoreFoundation 0x908034c4 __CFXNotificationPost + 368
4 com.apple.CoreFoundation 0x907fb5a0 _CFXNotificationPostNotification + 684
5 com.apple.Foundation 0x9291bee0 -[NSNotificationCenter postNotificationName:object:userInfo:] + 92

-[TestController testNotification:] is around line 100 in the source. I have no idea what "+ 396 refers to.

please help to reached the line number of this backtrace.

thanks.



jared_kipe
May 9, 2012, 10:01 AM
I've never thought about it, but I would wager a guess that the numbers are assembly offsets from the named function.

In either case, you're sending a message to an object that isn't what you think it is.

Set breakpoints in -testNotification: and step through it.