When I run the minidump_stackwalk on my minidump and symbols, I get a stacktrace, but it looks incomplete. I tested breakpad on a dummy program much like the one in the LinuxStarterGuide wiki, and I was getting function names and line numbers of where the crash occurred. Now that it's integrated with my larger application I'm not getting that information. Here's what the stacktrace looks like:
>> Operating system: Linux
>> 0.0.0 Linux 3.2.60 #18 SMP Fri May 15 17:02:36 EDT 2015 x86_64
>> CPU: amd64
>> family 6 model 62 stepping 4
>> 4 CPUs
>>
>> Crash reason: SIGSEGV
>> Crash address: 0x0
>> Process uptime: not available
>>
>> Thread 0 (crashed)
>> 0 myapplication + 0x1057a8
>> rax = 0x0000000000000000 rdx = 0x00007f147ee65e98
>> rcx = 0x0000000000017680 rbx = 0x0000000000916080
>> rsi = 0x0000000000000000 rdi = 0x00007f147ee65e40
>> rbp = 0x00000000005057a0 rsp = 0x00007fff45d3f7b0
>> r8 = 0x00007f1480281720 r9 = 0x0000000000000000
>> r10 = 0x0000000000000022 r11 = 0x0000000000000206
>> r12 = 0x00000000004bf784 r13 = 0x00007fff45d4cb40
>> r14 = 0x0000000000000000 r15 = 0x0000000000000000
>> rip = 0x00000000005057a8
>> Found by: given as instruction pointer in context
>>
>> Loaded modules:
>> 0x00400000 - 0x00708fff myapplication ??? (main) (WARNING: No symbols, myapplication, 000000000000000000000000000000000)
>> 0x7f147e24d000 - 0x7f147e463fff libz.so.1.2.7 ???
>> 0x7f147e464000 - 0x7f147e857fff libcrypto.so.1.0.0 ???
>> 0x7f147e85c000 - 0x7f147eaddfff
libm-2.13.so ???
>> 0x7f147eade000 - 0x7f147ee64fff
libc-2.13.so ???
>> 0x7f147ee6a000 - 0x7f147f07ffff libgcc_s.so.1 ???
>> 0x7f147f080000 - 0x7f147f2dffff libssl.so.1.0.0 ???
>> 0x7f147f2e0000 - 0x7f147f4e3fff
libdl-2.13.so ???
>> 0x7f147f4e4000 - 0x7f147f6ecfff
libcrypt-2.13.so ???
>> 0x7f147f71b000 - 0x7f147fa0cfff libstdc++.so.6.0.17 ???
>> 0x7f147fa22000 - 0x7f147fc4cfff libsgutils2.so.2.0.0 ???
>> 0x7f147fc4d000 - 0x7f147fe54fff
librt-2.13.so ???
>> 0x7f147fe55000 - 0x7f148006cfff
libpthread-2.13.so ???
>> 0x7f1480071000 - 0x7f1480090fff
ld-2.13.so ???
>> 0x7fff45d8d000 - 0x7fff45d8dfff linux-gate.so ???
Why is it saying "WARNING: No symbols, myapplication, 000000000000000000000000000000000"? I have the symbol files stored in /symbols/myapplication/{buildID}/myapplication.sym, but it looks like it's trying to find /symbols/myapplication/000000000000000000000000000000000/myapplication.sym. The output of running minidump_stackwalk gives this line at one point as well:
>> 2015-07-14 14:37:01: stackwalker.cc:97: INFO: Couldn't load symbols for: myapplication|000000000000000000000000000000000
Any thoughts?
Thanks in advance!
~Stephen