Bug 18981 – SIGSEGV during backtrace when debug info is compressed
Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
druntime
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2018-06-14T01:11:26Z
Last change time
2018-06-19T18:24:44Z
Assigned to
No Owner
Creator
Yuxuan Shui
Comments
Comment #0 by yshuiv7 — 2018-06-14T01:11:26Z
To reproduce:
1) sample D code:
void main() {
throw new Exception("asdf");
}
2) compile it with debug info
3) compress the debug info with objcopy a.out --compress-debug-sections=zlib
4) run it
Expected:
Stack trace, or at least not crashing
Actual:
SIGSEGV
Comment #1 by github-bugzilla — 2018-06-19T18:24:43Z