Bug 21091 – [ICE] Segmentation fault: Module::importAll(Scope*) (this=0x0, prevsc=0x0) at dmd/dmodule.d:1124

Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2020-07-30T08:53:00Z
Last change time
2020-08-07T23:37:28Z
Keywords
ice-on-invalid-code, pull
Assigned to
No Owner
Creator
Iain Buclaw

Comments

Comment #0 by ibuclaw — 2020-07-30T08:53:00Z
class Logger { import Tid; Tid threadId; }
Comment #1 by ibuclaw — 2020-07-30T08:55:17Z
Nearby code segfaults in the same location - any fix should include both. struct NullAllocator { import Ternary; Ternary owns() { } }
Comment #2 by moonlightsentinel — 2020-07-30T21:19:56Z
Digger blames this commit: commit f55dae671597445a29156d54977e63c52bb06d14 Author: Cristian Creteanu <[email protected]> Date: Fri Dec 13 01:19:02 2019 +0200 dmd: Issue6592 - di header file created even if errors occur (#10635) * Moved header file generation at the end * Fix Issue 6592 - di header file created even if errors occur
Comment #3 by dlang-bot — 2020-08-04T05:12:39Z
@RazvanN7 created dlang/dmd pull request #11503 "Fix Issue 21091 - [ICE] Segmentation fault: Module::importAll(Scope*)…" fixing this issue: - Fix Issue 21091 - [ICE] Segmentation fault: Module::importAll(Scope*) (this=0x0, prevsc=0x0) at dmd/dmodule.d:1124 https://github.com/dlang/dmd/pull/11503
Comment #4 by dlang-bot — 2020-08-04T06:32:24Z
dlang/dmd pull request #11503 "Fix Issue 21091 - [ICE] Segmentation fault: Module::importAll(Scope*)…" was merged into master: - be2c6f74873673442440359153ab735ea7c1e9e5 by RazvanN7: Fix Issue 21091 - [ICE] Segmentation fault: Module::importAll(Scope*) (this=0x0, prevsc=0x0) at dmd/dmodule.d:1124 https://github.com/dlang/dmd/pull/11503
Comment #5 by boris2.9 — 2020-08-07T23:37:28Z
*** Issue 20703 has been marked as a duplicate of this issue. ***