www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 18242] New: DMD Segmentation fault.

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

          Issue ID: 18242
           Summary: DMD Segmentation fault.
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: blocker
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: changlon gmail.com

I run into DMD segmentation fault under linux and Mac OSX, not test windows
yet.


DMD v2.078.0-401-g716303a41-dirty DEBUG

Program received signal SIGSEGV, Segmentation fault.
0x00005555558c694e in
_D3dmd12statementsem13catchSemanticFCQBj9statement5CatchPSQCe6dscope5ScopeZv
(sc=0x7ffff5f611e0, 
    c=0x7ffff7efb550) at dmd/statementsem.d:4038
4038                     cd != ClassDeclaration.exception &&
!ClassDeclaration.exception.isBaseOf(cd, null) &&


The demangle symbol is: void
dmd.statementsem.catchSemantic(dmd.statement.Catch, dmd.dscope.Scope*) 


The code is rather big and I can not made it work with dustmite.

--
Jan 15 2018