[Issue 17179] New: dmd 2.073 betas segfault while trying to build vibe.d project

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Feb 13 11:09:35 PST 2017


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

          Issue ID: 17179
           Summary: dmd 2.073 betas segfault while trying to build vibe.d
                    project
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Keywords: ice-on-valid-code, industry
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: briancschott at gmail.com

The code in question is not public, but I do have a stack trace.

----------------
Compiling diet template 'index.dt'...

Program received signal SIGSEGV, Segmentation fault.
0x00000000006de982 in totym(Type*) ()
(gdb) bt
#0  0x00000000006de982 in totym(Type*) ()
#1  0x00000000006d9780 in ToCtypeVisitor::visit(Type*) ()
#2  0x00000000006bf912 in Visitor::visit(TypeError*) ()
#3  0x0000000000665f89 in TypeError::accept(Visitor*) ()
#4  0x00000000006da292 in ToCtypeVisitor::visit(TypeClass*) ()
#5  0x0000000000678bd9 in TypeClass::accept(Visitor*) ()
#6  0x00000000006d9b0b in ToCtypeVisitor::visit(TypeFunction*) ()
#7  0x000000000066fdd1 in TypeFunction::accept(Visitor*) ()
#8  0x00000000006e45f2 in toSymbol::ToSymbol::visit(FuncDeclaration*) ()
#9  0x0000000000606169 in FuncDeclaration::accept(Visitor*) ()
#10 0x00000000006e3b83 in toSymbol(Dsymbol*) ()
#11 0x00000000006dc713 in FuncDeclaration_toObjFile(FuncDeclaration*, bool) ()
#12 0x00000000006ec5ce in toObjFile::ToObjFile::visit(FuncDeclaration*) ()
#13 0x0000000000606169 in FuncDeclaration::accept(Visitor*) ()
#14 0x00000000006ee903 in toObjFile::ToObjFile::visit(TemplateInstance*) ()
#15 0x00000000005b9ee9 in TemplateInstance::accept(Visitor*) ()
#16 0x00000000006ec553 in toObjFile(Dsymbol*, bool) ()
#17 0x00000000006db87f in genObjFile(Module*, bool) ()
#18 0x000000000065c02c in ddmd.mars.tryMain(ulong, const(char)**) ()
#19 0x000000000065c9d3 in D main ()
----------------

The code depends on "vibe-d-0.7.30"

--


More information about the Digitalmars-d-bugs mailing list