Created attachment 1809
testcase for the issue.
Since the new version of dmd the code in the archive attached to this bug report fails.
to reproduce untar the archive cd into repro.reduced and run ../bld.sh
You will see it segfault with 2.094.1
But succeeded with 2.094.0
The root cause for this, is stale data kept around in a memory pool.
Introduced in https://github.com/dlang/dmd/pull/11381
Comment #1 by uplink.coder — 2020-10-22T12:56:32Z
I will have to amend my testcase as this particular one seems to fail even with the pool reverted.
That means the pool is not the only issue, but certainly one of the contributing factors.
Comment #2 by razvan.nitu1305 — 2022-03-31T10:30:18Z
I cannot reproduce this. Running the script yields: "app.d-mixin-15(24,1): Deprecation: use `{ }` for an empty statement, not `;`". No segfault.