Bug 19942 – [ICE] Segmentation fault in resolvePropertiesX at dmd/expressionsem.d:1112

Status
RESOLVED
Resolution
FIXED
Severity
critical
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2019-06-05T19:05:04Z
Last change time
2019-06-15T15:19:08Z
Keywords
pull
Assigned to
No Owner
Creator
Iain Buclaw

Comments

Comment #0 by ibuclaw — 2019-06-05T19:05:04Z
void f () { __traits(compiles, { import m:a; a.init; }); }
Comment #1 by dlang-bot — 2019-06-05T20:49:46Z
@ibuclaw created dlang/dmd pull request #9980 "fix Issue 19942 - [ICE] Segmentation fault in resolvePropertiesX at dmd/expressionsem.d:1112" fixing this issue: - fix Issue 19942 - [ICE] Segmentation fault in resolvePropertiesX at dmd/expressionsem.d:1112 https://github.com/dlang/dmd/pull/9980
Comment #2 by dlang-bot — 2019-06-07T00:11:35Z
dlang/dmd pull request #9980 "fix Issue 19942 - [ICE] Segmentation fault in resolvePropertiesX at dmd/expressionsem.d:1112" was merged into stable: - 12c0e67d687505bad803aad64ef9fc5ec9d5f13c by Iain Buclaw: fix Issue 19942 - [ICE] Segmentation fault in resolvePropertiesX at dmd/expressionsem.d:1112 https://github.com/dlang/dmd/pull/9980
Comment #3 by dlang-bot — 2019-06-09T14:08:48Z
dlang/dmd pull request #10006 "[dmd-cxx] fix Issue 19942 - [ICE] Segmentation fault in resolvePropertiesX at dmd/expressionsem.d:1112" was merged into dmd-cxx: - a3cc1b7f8ba42560ad82583118bc3ea832e276a3 by Iain Buclaw: fix Issue 19942 - [ICE] Segmentation fault in resolvePropertiesX at dmd/expressionsem.d:1112 https://github.com/dlang/dmd/pull/10006
Comment #4 by steven_kladitis — 2019-06-15T15:19:08Z
I see this in the latest pull for code. if (s->mod != NULL) I believe it should be if (s->mod is not NULL)