Problem with conversion minidump to crash report on Mac OS X

165 views
Skip to first unread message

Telle

unread,
Mar 6, 2012, 1:06:04 AM3/6/12
to google-breakpad-discuss
Hello,

I can not convert minidump files, generated by google-breakpad, to
useful crashreport files.

I found some info in this thread
http://groups.google.com/group/google-breakpad-discuss/browse_thread/thread/9900b3371a9015a/2cdb40de10d81c0e?lnk=gst&q=mac#2cdb40de10d81c0e
. But it does not work for me.

I make next steps:
0. build my application with debug information format: DWARF with dSYM
File
1. dump_syms ~/ws/MyApp/build/bin/RelWithDebInfo/MyApp.app.dSYM/
Contents/Resources/DWARF/MyApp > MyApp.sym
2. head -n1 MyApp.sym

MODULE mac x86 D69538D35C363123B0F5C0652672CD540 MyApp
3. mkdir -p symbols/MyApp/D69538D35C363123B0F5C0652672CD540/
4. cp MyApp symbols/MyApp/D69538D35C363123B0F5C0652672CD540/
5. minidump_stackwalk minidump.dmp ./symbols/
6. crash_report -S . minidump.dmp

I get next output at 5 and 6 steps:

2012-03-06 12:37:38: minidump.cc:3775: INFO: Minidump opened minidump
minidump.dmp
2012-03-06 12:37:38: minidump.cc:3820: INFO: Minidump not byte-
swapping minidump
2012-03-06 12:37:38: minidump.cc:4186: INFO: GetStream: type
1197932546 not present
2012-03-06 12:37:38: minidump.cc:1958: INFO: MinidumpModule could not
determine version for /Users/telle/ws/MyApp/build/bin/RelWithDebInfo/
MyApp.app/Contents/MacOS/MyApp
2012-03-06 12:37:38: minidump.cc:1958: INFO: MinidumpModule could not
determine version for /System/Library/Frameworks/Cocoa.framework/
Versions/A/Cocoa
2012-03-06 12:37:38: minidump.cc:1958: INFO: MinidumpModule could not
determine version for /Library/Frameworks/QtCore.framework/Versions/4/
QtCore
2012-03-06 12:37:38: minidump.cc:1958: INFO: MinidumpModule could not
determine version for /Library/Frameworks/QtGui.framework/Versions/4/
QtGui
2012-03-06 12:37:38: minidump.cc:1958: INFO: MinidumpModule could not
determine version for /Library/Frameworks/QtNetwork.framework/Versions/
4/QtNetwork
2012-03-06 12:37:38: minidump.cc:1958: INFO: MinidumpModule could not
determine version for /Library/Frameworks/QtXml.framework/Versions/4/
QtXml
2012-03-06 12:37:38: minidump.cc:1958: INFO: MinidumpModule could not
determine version for /Library/Frameworks/QtWebKit.framework/Versions/
4/QtWebKit
2012-03-06 12:37:38: minidump.cc:1958: INFO: MinidumpModule could not
determine version for /Library/Frameworks/QtDBus.framework/Versions/4/
QtDBus
2012-03-06 12:37:38: minidump.cc:1958: INFO: MinidumpModule could not
determine version for /Library/Frameworks/QtSvg.framework/Versions/4/
QtSvg

and etc.

I get following stacktrace at the 5 step:

Thread 0 (crashed)
0 0x8fe0b831
eip = 0x8fe0b831 esp = 0xbfffe69c ebp = 0xbfffe6d8 ebx =
0x8fe0b920
esi = 0xbfffe71c edi = 0x00000001 eax = 0xbfffe710 ecx =
0x8fe44400
edx = 0x00000001 efl = 0x00000a03
Found by: given as instruction pointer in context
1 0x8fe01fe4
eip = 0x8fe01fe5 esp = 0xbfffe6e0 ebp = 0xbfffe6f8
Found by: previous frame's frame pointer
2 0x8fe03f2c
eip = 0x8fe03f2d esp = 0xbfffe700 ebp = 0xbfffe998
Found by: previous frame's frame pointer
3 0x8fe0de22
eip = 0x8fe0de23 esp = 0xbfffe9a0 ebp = 0xbfffea18
Found by: previous frame's frame pointer
4 0x8fe056ae
eip = 0x8fe056af esp = 0xbfffea20 ebp = 0xbfffea68
Found by: previous frame's frame pointer
5 0x8fe0b241
eip = 0x8fe0b242 esp = 0xbfffea70 ebp = 0xbfffead8
Found by: previous frame's frame pointer
6 libSystem.B.dylib + 0x72a7
eip = 0x923312a8 esp = 0xbfffeae0 ebp = 0xbfffeaf8
Found by: previous frame's frame pointer
7 QtCore + 0x52fe7
eip = 0x001bcfe8 esp = 0xbfffeb00 ebp = 0xbfffec78
Found by: previous frame's frame pointer
8 QtCore + 0x4eb87
eip = 0x001b8b88 esp = 0xbfffec80 ebp = 0xbfffec98
Found by: previous frame's frame pointer
9 QtCore + 0x4ebcb
eip = 0x001b8bcc esp = 0xbfffeca0 ebp = 0xbfffecb8
Found by: previous frame's frame pointer
10 QtCore + 0x4ed79
eip = 0x001b8d7a esp = 0xbfffecc0 ebp = 0xbfffecd8
Found by: previous frame's frame pointer
11 QtCore + 0x60cec
eip = 0x001caced esp = 0xbfffece0 ebp = 0xbfffed38
Found by: previous frame's frame pointer
12 QtCore + 0x5ee58
eip = 0x001c8e59 esp = 0xbfffed40 ebp = 0xbfffed78
Found by: previous frame's frame pointer
13 QtCore + 0x5ef1e
eip = 0x001c8f1f esp = 0xbfffed80 ebp = 0xbfffeda8
Found by: previous frame's frame pointer
14 QtCore + 0x36954
eip = 0x001a0955 esp = 0xbfffedb0 ebp = 0xbfffede8
Found by: previous frame's frame pointer
15 QtCore + 0x603c
eip = 0x0017003d esp = 0xbfffedf0 ebp = 0xbfffefe8
Found by: previous frame's frame pointer
16 QtCore + 0x560e9
eip = 0x001c00ea esp = 0xbfffeff0 ebp = 0xbffff068
Found by: previous frame's frame pointer
17 QtCore + 0x1467ea
eip = 0x002b07eb esp = 0xbffff070 ebp = 0xbffff0a8
Found by: previous frame's frame pointer
18 QtCore + 0x146911
eip = 0x002b0912 esp = 0xbffff0b0 ebp = 0xbffff0d8
Found by: previous frame's frame pointer
19 QtGui + 0x9633f
eip = 0x004d8340 esp = 0xbffff0e0 ebp = 0xbffff108
Found by: previous frame's frame pointer
20 MyApp!__ZN16QtMacApplicationC2ERiPPc + 0x2f
eip = 0x0001a94a esp = 0xbffff110 ebp = 0xbffff138
Found by: previous frame's frame pointer

and following at the 6 step:

Thread 0 (crashed)
0
1
2
3
4
5
6 libSystem.B.dylib 0x923312a7 dlopen + 0x41
7 QtCore 0x001bcfe7
QLibraryPrivate::load_sys() + 0x487

Can somebody help me?

Thanks in advance, Maria

Telle

unread,
Mar 12, 2012, 4:19:14 AM3/12/12
to google-brea...@googlegroups.com
Hello,

I figured out what the problem I had.

This behavior occurs in xcode, when you have at least one breakpoint in your code, or you debug (but do not run) your application without any breakpoints set. It leads to EXC_BREAKPOINT and crashing of application.

Maria

вторник, 6 марта 2012 г. 13:06:04 UTC+7 пользователь Telle написал:
Reply all
Reply to author
Forward
0 new messages