[Issue 18026] Stack overflow in ddmd/dtemplate.d:6241, TemplateInstance::needsCodegen()

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jun 8 22:38:21 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=18026

--- Comment #9 from JR <zorael at gmail.com> ---
To update, I did a new dustmite run and managed to produce something that
segfaults on all my machines running dmd 2.080, ldc 1.7.0 and 1.9.0. This
includes local Windows, but also CircleCI and Travis. dscanner --sloc reports
it as 108 lines.

Mind that it is still nonsense! But it is compiler-segfaulting nonsense.

> git clone https://github.com/zorael/kameloso -b 2080-overflow1
> cd kameloso
> dub build -b plain
> dmd -c source/kameloso/*.d source/kameloso/plugins/*.d
> ldc source/kameloso/*.d source/kameloso/plugins/*.d

I'll write up a #dbugfix post for the General forum next and ask for more help
there.

--


More information about the Digitalmars-d-bugs mailing list