[Issue 23978] [REG 2.103.0] ICE: Segmentation fault in dmd.root.aav.dmd_aaGetRvalue at src/dmd/root/aav.d:127

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jun 7 22:09:59 UTC 2023


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

Iain Buclaw <ibuclaw at gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ibuclaw at gdcproject.org

--- Comment #1 from Iain Buclaw <ibuclaw at gdcproject.org> ---
(gdb) bt
#0  0x00005644ce0c033d in
_D3dmd4root3aav15dmd_aaGetRvalueFNaNbNiPSQBnQBmQBk2AAPvZQd (key=0x7f9ec39f5560,
aa=0x7f9ec265d360) at src/dmd/root/aav.d:127
#1  0x00005644ce0c0660 in
_D3dmd4root3aav__T10AssocArrayTCQBe10identifier10IdentifierTCQCh7dsymbol7DsymbolZQCl7opIndexMFNaNbNixCQDwQCsQCjZQCa
(this=..., key=0x7f9ec39f5560) at src/dmd/root/aav.d:313
#2  0x00005644cdf373fc in DsymbolTable::lookup(Identifier const*)
(this=0x7f9ec2ec08c0, ident=0x7f9ec39f5560) at src/dmd/dsymbol.d:2399
#3  0x00005644cdf3509a in ScopeDsymbol::search(Loc const&, Identifier*, int)
(this=0x7f9ec39f8400, loc=..., ident=0x7f9ec39f5560, flags=8) at
src/dmd/dsymbol.d:1474
#4  0x00005644cdf31890 in StructDeclaration::search(Loc const&, Identifier*,
int) (this=0x7f9ec39f8400, loc=..., ident=0x7f9ec39f5560, flags=8) at
src/dmd/dstruct.d:277
#5  0x00005644ce008817 in
_D3dmd6opover15search_functionFCQBe7dsymbol12ScopeDsymbolCQCe10identifier10IdentifierZCQDhQCd7Dsymbol
(funcid=0x7f9ec39f5560, ad=0x7f9ec39f8400) at src/dmd/opover.d:1435
#6  0x00005644cdf30d97 in search_toString(StructDeclaration*)
(sd=0x7f9ec39f8400) at src/dmd/dstruct.d:51
#7  0x00005644ce030afd in semanticTypeInfoMembers(StructDeclaration*)
(sd=0x7f9ec39f8400) at src/dmd/semantic3.d:1650
#8  0x00005644ce03086c in Semantic3Visitor::visit(AggregateDeclaration*)
(this=0x7ffd1ab29230, ad=0x7f9ec39f8400) at src/dmd/semantic3.d:1590
#9  0x00005644ce026566 in
ParseTimeVisitor<ASTCodegen>::visit(StructDeclaration*) (this=0x7ffd1ab29230,
s=0x7f9ec39f8400) at src/dmd/parsetimevisitor.d:88
#10 0x00005644cdf31f6e in StructDeclaration::accept(Visitor*)
(this=0x7f9ec39f8400, v=0x7ffd1ab29230) at src/dmd/dstruct.d:490
#11 0x00005644ce02b736 in semantic3(Dsymbol*, Scope*) (dsym=0x7f9ec39f8400,
sc=0x7f9ec317f2e0) at src/dmd/semantic3.d:83
#12 0x00005644cdf98f02 in ExpressionSemanticVisitor::visit(DeclarationExp*)
(this=0x7ffd1ab293a8, e=0x7f9ec39f1c00) at src/dmd/expressionsem.d:5471
#13 0x00005644cdf7dae2 in DeclarationExp::accept(Visitor*)
(this=0x7f9ec39f1c00, v=0x7ffd1ab293a8) at src/dmd/expression.d:4212
#14 0x00005644cdfafe44 in expressionSemantic(Expression*, Scope*)
(e=0x7f9ec39f1c00, sc=0x7f9ec317f2e0) at src/dmd/expressionsem.d:12566
#15 0x00005644ce0361e8 in StatementSemanticVisitor::visit(ExpStatement*)
(this=0x7ffd1ab29458, s=0x7f9ec39f1bd0) at src/dmd/statementsem.d:206
#16 0x00005644ce032736 in ExpStatement::accept(Visitor*) (this=0x7f9ec39f1bd0,
v=0x7ffd1ab29458) at src/dmd/statement.d:490
#17 0x00005644ce0360cc in statementSemantic(Statement*, Scope*)
(s=0x7f9ec39f1bd0, sc=0x7f9ec317f2e0) at src/dmd/statementsem.d:148
#18 0x00005644ce0364af in StatementSemanticVisitor::visit(CompoundStatement*)
(this=0x7ffd1ab29778, cs=0x7f9ec39f1c30) at src/dmd/statementsem.d:269
#19 0x00005644ce032c5a in CompoundStatement::accept(Visitor*)
(this=0x7f9ec39f1c30, v=0x7ffd1ab29778) at src/dmd/statement.d:633
#20 0x00005644ce0360cc in statementSemantic(Statement*, Scope*)
(s=0x7f9ec39f1c30, sc=0x7f9ec317f2e0) at src/dmd/statementsem.d:148
#21 0x00005644ce02cd57 in Semantic3Visitor::visit(FuncDeclaration*)
(this=0x7ffd1ab2a220, funcdecl=0x7f9ec39f7cc0) at src/dmd/semantic3.d:598
#22 0x00005644cdfbb2ca in FuncDeclaration::accept(Visitor*)
(this=0x7f9ec39f7cc0, v=0x7ffd1ab2a220) at src/dmd/func.d:2857
#23 0x00005644ce02b736 in semantic3(Dsymbol*, Scope*) (dsym=0x7f9ec39f7cc0,
sc=0x7f9ec317dcf0) at src/dmd/semantic3.d:83
#24 0x00005644ce02bb87 in Semantic3Visitor::visit(Module*)
(this=0x7ffd1ab2a2e0, mod=0x7f9ec39f7000) at src/dmd/semantic3.d:205
#25 0x00005644cdf1a31e in Module::accept(Visitor*) (this=0x7f9ec39f7000,
v=0x7ffd1ab2a2e0) at src/dmd/dmodule.d:1259
#26 0x00005644ce02b736 in semantic3(Dsymbol*, Scope*) (dsym=0x7f9ec39f7000,
sc=0x0) at src/dmd/semantic3.d:83
#27 0x00005644cdea0e55 in _D3dmd4mars7tryMainFmPPxaKSQz7globals5ParamZi
(params=..., argv=0x7ffd1ab2abe8, argc=5) at src/dmd/mars.d:473
#28 0x00005644cdea2a9a in _Dmain (_param_0=...) at src/dmd/mars.d:962
#29 0x00005644ce1ddabb in rt.dmain2._d_run_main2(char[][], ulong, extern(C)
int(char[][]) function).runAll().__lambda2() ()
#30 0x00005644ce1dd96a in rt.dmain2._d_run_main2(char[][], ulong, extern(C)
int(char[][]) function).tryExec(scope void() delegate) ()
#31 0x00005644ce1dda43 in rt.dmain2._d_run_main2(char[][], ulong, extern(C)
int(char[][]) function).runAll() ()
#32 0x00005644ce1dd96a in rt.dmain2._d_run_main2(char[][], ulong, extern(C)
int(char[][]) function).tryExec(scope void() delegate) ()
#33 0x00005644ce1dd8d3 in _d_run_main2 ()
#34 0x00005644ce1dd69c in _d_run_main ()
#35 0x00005644cdea2a58 in main (argc=5, argv=0x7ffd1ab2abe8) at
src/dmd/mars.d:918

--


More information about the Digitalmars-d-bugs mailing list