digitalmars.D.bugs - [Issue 23327] New: [ICE] SEGV in AssocArray!(Identifier,
- d-bugmail puremagic.com (61/61) Sep 05 2022 https://issues.dlang.org/show_bug.cgi?id=23327
https://issues.dlang.org/show_bug.cgi?id=23327 Issue ID: 23327 Summary: [ICE] SEGV in AssocArray!(Identifier, Dsymbol).AssocArray.opIndex(const(Identifier)) at src/dmd/root/aav.d:313 Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: critical Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: ibuclaw gdcproject.org Only need two files to reproduce, including third so this can just be copy-pasted into the testsuite as-is (replace NNNNN with the issue number of this report). testNNNNN.d --- import imports.formatNNNNN; --- imports/formatNNNNN.d --- module imports.formatNNNNN; import imports.formatNNNNN.write; immutable(string) formatNNNNN() { } import imports.formatNNNNN.internal.write; --- imports/formatNNNNN/write.d --- // empty file --- (gdb) bt dmd.dsymbol.Dsymbol).AssocArray.opIndex(const(dmd.identifier.Identifier)) (this=..., key=0x7ffff7ba3a80) at src/dmd/root/aav.d:313 ident=0x7ffff7ba3a80) at src/dmd/dsymbol.d:2350 dmd.dimport.Import.addPackageAccess(dmd.dsymbol.ScopeDsymbol) ( this=0x7ffff72bf020, scopesym=0x7ffff72be6e0) at src/dmd/dimport.d:268 sc=0x7ffff72bf320) at src/dmd/dimport.d:249 prevsc=0x0) at src/dmd/dmodule.d:1187 sc=0x7ffff7b73c10) at src/dmd/dimport.d:240 prevsc=0x0) at src/dmd/dmodule.d:1187 dmd.globals.Param) (params=..., argv=0x7fffffffdbf8, argc=2) at src/dmd/mars.d:428 --
Sep 05 2022