Am 04.11.2015 um 15:16 schrieb Nikita:
It seems that this behavior related to
Fiber
class:import std.stdio; import core.thread; void foo() { writeln("before"); try { throw new Exception("Exception"); } catch (Throwable ex) { writeln(ex.msg); } writeln("after"); } void main() { Fiber fiber = new Fiber(&foo); fiber.call(); }
There is an open ticket for DMD:
https://issues.dlang.org/show_bug.cgi?id=13821
I also often get crashes on my Win8 system, but I didn't manage to take
the time to reduce this to a minimal test case. It doesn't fail for the
simple ones above.