Bug 17179 – dmd 2.073 betas segfault while trying to build vibe.d project
Status
RESOLVED
Resolution
WONTFIX
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2017-02-13T19:09:35Z
Last change time
2018-12-13T11:32:53Z
Keywords
ice-on-valid-code, industry
Assigned to
No Owner
Creator
briancschott
Comments
Comment #0 by briancschott — 2017-02-13T19:09:35Z
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"
Comment #1 by uplink.coder — 2017-02-15T17:18:52Z
This is too little information.
Please try to use dustmite on the issue, or compile with -v and try to isolate the function this happens on.
Comment #2 by bugzilla — 2017-04-12T05:14:42Z
Were there any error messages prior to the fault?
Comment #3 by bugzilla — 2018-12-13T11:32:53Z
Since this is nearly two years old, there is insufficient information, and there is no further information, I'm going to close it.