Bug 23351 – A bunch of Mayonix's dmd-segfaulting programs
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2022-09-20T18:38:02Z
Last change time
2022-09-20T22:17:39Z
Keywords
pull
Assigned to
No Owner
Creator
mhh
Comments
Comment #0 by maxhaton — 2022-09-20T18:38:02Z
The full list is
```
// Related to .
a[(b).
[(a)(b).
a(={@.()(
a[b,[(c).
a[b#([(c).
[a@b[(c).
[((a).
[a)b[(c).
a[b)[(c).
a(b[(c).
a[b()c[(d).
a[(b[(c).
a(b[(c).
[(@@a b[(c).
a[(!b)c[(d).
[(^a)b[(c).
[(\(a).
a(b[(c).
~[a.b[(c).
[a).[(b c d(e[(f).
[((a).
[a}b[(c).
a[b[c..(d).
a[b\c[(d).
[1a.[(b).
// Related to keyword 'in'
a[({in){
a[({in\){
a[^in(b[c=])S....
a[({in[({)){
```
some of these have invalid escape sequences in them
Comment #1 by dlang-bot — 2022-09-20T19:05:35Z
@maxhaton created dlang/dmd pull request #14460 "Fix Issue 23351 - Replace some null pointers with ErrorXYZs to stop d…" fixing this issue:
- Fix Issue 23351 - Replace some null pointers with ErrorXYZs to stop dmd segfaulting.
This has some changes to error messages which should be reviewed.
The segfaulting-patterns were contributed by mayonix.
https://github.com/dlang/dmd/pull/14460
Comment #2 by dlang-bot — 2022-09-20T22:17:39Z
dlang/dmd pull request #14460 "Fix Issue 23351 - Replace some null pointers with ErrorXYZs to stop d…" was merged into master:
- c976ef2d1d5c18c3f756cf89d9a00c041b2c1bd8 by mhh:
Fix Issue 23351 - Replace some null pointers with ErrorXYZs to stop dmd segfaulting.
This has some changes to error messages which should be reviewed.
The segfaulting-patterns were contributed by mayonix.
https://github.com/dlang/dmd/pull/14460