asmaloney / asmaloney/asmCrashReport

Crash in DLL doesn't get decoded

Open
#11 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
54
Forks
28
PR merge metrics
No merged PRs in 30d

Description

It works quite well when a crash happen in exe.
But, if a crash is in DLL or plugin loaded with QPluginLoader it doesn't get decoded well.
Any suggestion how to catch from DLL or plugin?

Platform: Windows Mingw 64

Here it comes an example:

RTSuite v1.7.0
02 Mar 2020 @ 20:55:02

EXCEPTION_INT_DIVIDE_BY_ZERO

[0] 0x000000006f10501d ?? ??:0
[1] 0x0000000068aa2720 ?? ??:0
[2] 0x0000000068aadb7a ?? ??:0
[3] 0x0000000068aa334b ?? ??:0
[4] 0x00000000013c7c8c ?? ??:0
[5] 0x00000000013ced23 ?? ??:0
[6] 0x0000000068a758c8 ?? ??:0
[7] 0x0000000068ad1344 ?? ??:0
[8] 0x0000000068ad15a2 ?? ??:0
[9] 0x00007ff98f3f5b6d ?? ??:0
[10] 0x00007ff98f3f5562 ?? ??:0
[11] 0x0000000068ad0dcb ?? ??:0
[12] 0x000000006a8fb565 ?? ??:0
[13] 0x0000000068a7395e ?? ??:0
[14] 0x000000000158e109 ?? ??:0
[15] 0x000000006f10b2f1 ?? ??:0
[16] 0x000000006f110202 ?? ??:0
[17] 0x000000006f110343 ?? ??:0
[18] 0x0000000068aa26d3 ?? ??:0
[19] 0x000000000163056f ?? ??:0
[20] 0x0000000001635cff ?? ??:0
[21] 0x0000000068aa2600 ?? ??:0
[22] 0x00000000015df9dd ?? ??:0
[23] 0x0000000001405378 ?? ??:0
[24] 0x000000000149c6ae ?? ??:0
[25] 0x00000000015e862e ?? ??:0
[26] 0x0000000068a74430 ?? ??:0
[27] 0x00000000013c7c65 ?? ??:0
[28] 0x00000000013cfd1a ?? ??:0
[29] 0x0000000068a75a88 ?? ??:0
[30] 0x00000000013ce118 ?? ??:0
[31] 0x0000000001419edd ?? ??:0
[32] 0x000000000141caa3 ?? ??:0
[33] 0x00000000013c7c8c ?? ??:0
[34] 0x00000000013ced23 ?? ??:0
[35] 0x0000000068a75a88 ?? ??:0
[36] 0x0000000061977824 ?? ??:0
[37] 0x00000000619789b5 ?? ??:0
[38] 0x0000000061950f2c ?? ??:0
[39] 0x0000000068ad187a ?? ??:0
[40] 0x00007ff98f3f5b6d ?? ??:0
[41] 0x00007ff98f3f5562 ?? ??:0
[42] 0x0000000068ad0dcb ?? ??:0
[43] 0x000000006a8fb565 ?? ??:0
[44] 0x0000000068a7395e ?? ??:0
[45] 0x0000000068a7cd87 ?? ??:0
[46] 0x0000000000409108 qMain(int, char**) at main.cpp:123
[47] 0x0000000000412610 /tools/addr2line: Dwarf Error: Could not find abbrev number 69.
?? at qtmain_win.cpp:?
[48] 0x00000000004013c7 /tools/addr2line: Dwarf Error: Could not find abbrev number 69.
?? at crtexe.c:?
[49] 0x00000000004014cb /tools/addr2line: Dwarf Error: Could not find abbrev number 69.
?? at crtexe.c:?
[50] 0x00007ff9909b7bd4 ?? ??:0
[51] 0x00007ff990c0ced1 ?? ??:0

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the DLL or QPluginLoader crash on Windows with MinGW and compare its stack output with the working executable case. Inspect the unresolved entries reported through /tools/addr2line, using main.cpp:123 and the shown qtmain_win.cpp and crtexe.c frames as reference. Done means the relevant DLL or plugin frames are decoded instead of remaining ?? ??:0.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
devtools, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.