July 10, 2018 [Issue 19074] New: [REG 2.080] SIGSEGV in el_ptr (s=0x15) at dmd/backend/el.c:1760 | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19074 Issue ID: 19074 Summary: [REG 2.080] SIGSEGV in el_ptr (s=0x15) at dmd/backend/el.c:1760 Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: regression Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: ibuclaw@gdcproject.org --- #0 0x0000555555893b74 in el_ptr (s=0x15) at dmd/backend/el.c:1760 #1 0x000055555582fe56 in toElem::ToElemVisitor::visit(AddrExp*) (this=0x7fffffffc4d0, ae=0x555555be4df0) at dmd/e2ir.d:3825 #2 0x000055555574399b in AddrExp::accept(Visitor*) (this=0x555555be4df0, v=0x7fffffffc4d0) at dmd/expression.d:5779 #3 0x000055555582528f in toElem(Expression*, IRState*) (e=0x555555be4df0, irs=0x7fffffffce60) at dmd/e2ir.d:5390 #4 0x000055555582d818 in toElem::ToElemVisitor::visit(AssignExp*) (this=0x7fffffffc8c0, ae=0x7ffff6a57e80) at dmd/e2ir.d:3115 #5 0x00005555557e8877 in Visitor::visit(ConstructExp*) (this=0x7fffffffc8c0, e=0x7ffff6a57e80) at dmd/visitor.d:83 #6 0x0000555555745823 in ConstructExp::accept(Visitor*) (this=0x7ffff6a57e80, v=0x7fffffffc8c0) at dmd/expression.d:6565 #7 0x000055555582528f in toElem(Expression*, IRState*) (e=0x7ffff6a57e80, irs=0x7fffffffce60) at dmd/e2ir.d:5390 #8 0x0000555555833685 in toElem::ToElemVisitor::Dsymbol_toElem(Dsymbol*) (this=0x7fffffffca20, s=0x7ffff7ecb600) at dmd/e2ir.d:5127 #9 0x00005555558260cf in toElem::ToElemVisitor::visit(DeclarationExp*) (this=0x7fffffffca20, de=0x7ffff7eca900) at dmd/e2ir.d:1305 #10 0x0000555555740bfa in DeclarationExp::accept(Visitor*) (this=0x7ffff7eca900, v=0x7fffffffca20) at dmd/expression.d:4734 #11 0x000055555582528f in toElem(Expression*, IRState*) (e=0x7ffff7eca900, irs=0x7fffffffce60) at dmd/e2ir.d:5390 #12 0x0000555555835595 in toElemDtor(Expression*, IRState*) (e=0x7ffff7eca900, irs=0x7fffffffce60) at dmd/e2ir.d:5754 #13 0x000055555581b71f in S2irVisitor::visit(ExpStatement*) (this=0x7fffffffcb10, s=0x7ffff7ed29c0) at dmd/s2ir.d:844 #14 0x00005555557cd714 in ExpStatement::accept(Visitor*) (this=0x7ffff7ed29c0, v=0x7fffffffcb10) at dmd/statement.d:732 #15 0x000055555581dd88 in Statement_toIR(Statement*, IRState*) (s=0x7ffff7ed29c0, irs=0x7fffffffce60) at dmd/s2ir.d:1617 #16 0x000055555581b7b2 in S2irVisitor::visit(CompoundStatement*) (this=0x7fffffffcbb0, s=0x7ffff7ed29e0) at dmd/s2ir.d:860 #17 0x00005555557cdfad in CompoundStatement::accept(Visitor*) (this=0x7ffff7ed29e0, v=0x7fffffffcbb0) at dmd/statement.d:919 #18 0x000055555581dd88 in Statement_toIR(Statement*, IRState*) (s=0x7ffff7ed29e0, irs=0x7fffffffce60) at dmd/s2ir.d:1617 #19 0x000055555581b7b2 in S2irVisitor::visit(CompoundStatement*) (this=0x7fffffffcc50, s=0x7ffff69cd580) at dmd/s2ir.d:860 #20 0x00005555557cdfad in CompoundStatement::accept(Visitor*) (this=0x7ffff69cd580, v=0x7fffffffcc50) at dmd/statement.d:919 #21 0x000055555581dd88 in Statement_toIR(Statement*, IRState*) (s=0x7ffff69cd580, irs=0x7fffffffce60) at dmd/s2ir.d:1617 #22 0x000055555580e247 in FuncDeclaration_toObjFile(FuncDeclaration*, bool) (fd=0x7ffff7ed5000, multiobj=false) at dmd/glue.d:1155 #23 0x000055555581ef9f in toObjFile::ToObjFile::visit(FuncDeclaration*) (this=0x7fffffffd230, fd=0x7ffff7ed5000) at dmd/toobj.d:312 #24 0x000055555577388a in FuncDeclaration::accept(Visitor*) (this=0x7ffff7ed5000, v=0x7fffffffd230) at dmd/func.d:2369 #25 0x000055555581eefb in toObjFile(Dsymbol*, bool) (ds=0x7ffff7ed5000, multiobj=false) at dmd/toobj.d:1025 #26 0x000055555580bf77 in genObjFile(Module*, bool) (m=0x7ffff7ed3000, multiobj=false) at dmd/glue.d:403 #27 0x00005555557a55c0 in dmd.mars.tryMain(ulong, const(char)**) (argc=2, argv=0x7fffffffdda8) at dmd/mars.d:943 #28 0x00005555557a603c in D main () at dmd/mars.d:1094 --- struct Coord13831 { } struct Chunk13831 { this(Coord13831 a) { coord = a; } Coord13831 coord; } void icetest() { static const a = new Chunk13831(Coord13831()); auto b = a; } --- PR that introduced regression: https://github.com/dlang/dmd/pull/8292 -- |
Copyright © 1999-2021 by the D Language Foundation