www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13465] New: Segfault in dmd (2.066.0 and 2.067.0-b1)


          Issue ID: 13465
           Summary: Segfault in dmd (2.066.0 and 2.067.0-b1)
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: DMD
          Assignee: nobody puremagic.com
          Reporter: sfrijters gmail.com

Created attachment 1426
  --> https://issues.dlang.org/attachment.cgi?id=1426&action=edit
Dustmited code that causes a segfault on dmd *.d

Not sure what is happening, the test case seems to be rather fragile, but the
attached code is the smallest that dustmite seems to be able to come up with. I
tried moving stuff around into fewer files but it often seems to hide the
segfault. In any case the reduced case is broken, so after the segfault is
fixed it will probably throw some more sane errors. Hopefully someone with more
experience can figure it out!

dmd *.d
Segmentation fault

Sep 13 2014