Issue ID: 16511
Summary: Suspected Win64 release-mode code-gen bug
I've reveived a bug report on a lib of mine that I'm suspecting may be a 64-bit
release-mode code-gen bug, because it involves what, at least *appears*, to be
a fiber overflowing its stack *ONLY* on 64-bit in release mode. I could
understand a stack overlflow on 32-bit-only, but this seems backwards. And a
release-mode-only crash seems to suggest a code-gen bug as well.
Sorry I dont have a reduced case right now, but you can reproduce like this:
On a Win64 machine with DUB 1.0.0
- Download this Gist to a fresh directory:
- From that directory, run:
> dub --arch=x86_64 --build=release --verbose --compiler=dmd
It will build, run, and then crash.
Omitting *either* of --arch=x86_64 or --build=release will eliminate the crash.