problem in Reading crash reports

Discussion in 'Mac Programming' started by mkristain, May 9, 2012.

  1. mkristain, May 9, 2012
    Last edited: May 9, 2012

    macrumors regular

    Joined:
    Aug 18, 2011
    #1
    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:eek:bject: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.
     
  2. macrumors 68030

    jared_kipe

    Joined:
    Dec 8, 2003
    Location:
    Seattle
    #2
    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.
     

Share This Page