Breakpad vs Xcode callstacks on Mac OS

56 views
Skip to first unread message

David Plunkett

unread,
Oct 14, 2012, 11:06:44 AM10/14/12
to google-brea...@googlegroups.com
Should breakpad be able to show the same call stack as XCode for Mac OS library modules?  I'm getting a shorter callstack from breakpad,  there are only two levels of the stack for thread 0:

0|0|Breaksplat|-[AppDelegate nullDereference:]|/Users/David/Documents/BugSplat/iOS/Breaksplat/Breaksplat/AppDelegate.m:56|0x0
Register32|0|0|eip|0x000355ed
Register32|0|0|esp|0xbffcc3c8
Register32|0|0|ebp|0xbffcc3c8
Register32|0|0|ebx|0x00035ed3
Register32|0|0|esi|0x796c4cb0
Register32|0|0|edi|0x7a2574b0
Register32|0|0|eax|0x000355ea
Register32|0|0|ecx|0xbffcc344
Register32|0|0|edx|0x00000000
Register32|0|0|efl|0x00010246
0|1|libobjc.A.dylib|-[NSObject performSelector:withObject:]|||0x45
Register32|0|1|eip|0x953d55d3
Register32|0|1|esp|0xbffcc3e8
Register32|0|1|ebp|0xbffcc3c8
Register32|0|1|ebx|0x00035ed3
Register32|0|1|esi|0x796c4cb0
Register32|0|1|edi|0x7a2574b0
1|0|libsystem_kernel.dylib|__workq_kernreturn|||0xa
Register32|1|0|eip|0x93c040ee
Register32|1|0|edx|0x93c040ee
Register32|1|0|efl|0x00000282
Register32|1|0|esp|0xb0080f6c
Register32|1|0|ebp|0xb0080f88
Register32|1|0|ebx|0x93ab6c67
Register32|1|0|esi|0xb0081000
Register32|1|0|edi|0xb0081000
Register32|1|0|eax|0x00100170
Register32|1|0|ecx|0xb0080f6c


And here's the XCode debugger version of the same spot:

#0 0x00002582 in -[AppDelegate nullDereference:] at /Users/David/Documents/BugSplat/iOS/Breaksplat/Breaksplat/AppDelegate.m:56
#1 0x953d55d3 in -[NSObject performSelector:withObject:] ()
#2 0x96593bd2 in -[NSApplication sendAction:to:from:] ()
#3 0x965939e0 in -[NSControl sendAction:to:] ()
#4 0x965938ef in -[NSCell _sendActionFrom:] ()
#5 0x96591e60 in -[NSCell trackMouse:inRect:ofView:untilMouseUp:] ()
#6 0x9659169f in -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] ()
#7 0x96590db9 in -[NSControl mouseDown:] ()
#8 0x96588a21 in -[NSWindow sendEvent:] ()
#9 0x96583a0f in -[NSApplication sendEvent:] ()
#10 0x9649d72c in -[NSApplication run] ()
#11 0x964406f6 in NSApplicationMain ()
#12 0x000022fb in main at /Users/David/Documents/BugSplat/iOS/Breaksplat/Breaksplat/main.m:13


I've attached the breakpad output (sw.txt), error output (err.txt), and the symbol file for libobjc.A.dylib, which is the OS module containing performSelector:withObject.

Any suggestions?
Dave
sw.txt
err.txt

David Plunkett

unread,
Oct 14, 2012, 11:10:01 AM10/14/12
to google-brea...@googlegroups.com
This post has the symbol file attached...
libobjc.A.dylib.sym.zip
Reply all
Reply to author
Forward
0 new messages