D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 23351 - A bunch of Mayonix's dmd-segfaulting programs
Summary: A bunch of Mayonix's dmd-segfaulting programs
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: All All
: P1 normal
Assignee: No Owner
URL:
Keywords: pull
Depends on:
Blocks:
 
Reported: 2022-09-20 18:38 UTC by mhh
Modified: 2022-09-20 22:17 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description mhh 2022-09-20 18:38:02 UTC
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 Dlang Bot 2022-09-20 19:05:35 UTC
@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 Dlang Bot 2022-09-20 22:17:39 UTC
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