An electron app packaged using electron-packager is crashing and generating dump files.
I was able to use breakpad, minidump_stackwalk to view a part of the dump file. Here's a snapshot of the output,
7 0x7fff6026ec5d
rbp = 0x0000700005badf78 rsp = 0x0000700005badf60
rip = 0x00007fff6026ec5d
Found by: previous frame's frame pointer
8 Electron Framework + 0x2608a0
rsp = 0x0000700005bae028 rip = 0x000000010d94a8a0
Found by: stack scanning
Thread 18
0 0x7fff60134562
rax = 0x0000000002000170 rdx = 0x0000000000000000
rcx = 0x0000700001a0fee8 rbx = 0x0000700001a10000
rsi = 0x0000000000000000 rdi = 0x0000000000000004
rbp = 0x0000700001a0ff50 rsp = 0x0000700001a0fee8
r8 = 0x0000000000000fff r9 = 0x00007fbc4b654000
r10 = 0x0000000000000000 r11 = 0x0000000000000246
r12 = 0x0000000000000001 r13 = 0x0000000000250015
r14 = 0x0000000000000000 r15 = 0x0000000000000004
rip = 0x00007fff60134562
Found by: given as instruction pointer in context
1 0x7fff6026ec4d
rbp = 0x0000700001a0ff78 rsp = 0x0000700001a0ff60
rip = 0x00007fff6026ec4d
Found by: previous frame's frame pointer
Loaded modules:
0x10d6e7000 - 0x10d6e7fff Electron Helper 0.0.0.0 (main) (WARNING: No symbols, Electron Helper, 26BF611B7ACC305A9FC5C535A513256F0)
0x10d6ea000 - 0x11164ffff Electron Framework 0.0.0.0
0x111ba5000 - 0x111bbffff Squirrel 1.0.0.0
0x111be1000 - 0x111c44fff ReactiveCocoa 1.0.0.0
0x111cb6000 - 0x111ccafff Mantle 1.0.0.0
0x111cdc000 - 0x112beefff libnode.dylib 0.0.0.0
0x112e7f000 - 0x1130e3fff libffmpeg.dylib 0.0.0.0
0x116972000 - 0x1169bcfff dyld 0.0.0.0
This information is not very useful in identifying the crash. Is there any way to obtain a stack trace of the application code where the crash occurred ?
Also, I'm not sure if the WARNING message is relevant or how to go about fixing it if it is.
I've looked at,
And the book, Developing an electron edge
But there seems to be a lack of documentation about debugging electron crash reports.