www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 18981] New: SIGSEGV during backtrace when debug info is

https://issues.dlang.org/show_bug.cgi?id=18981

          Issue ID: 18981
           Summary: SIGSEGV during backtrace when debug info is compressed
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: druntime
          Assignee: nobody puremagic.com
          Reporter: yshuiv7 gmail.com

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

--
Jun 13 2018