Closed etcimon closed 10 years ago
Seems like fibers are broken in general on Win64. The following program also just crashes:
import std.stdio;
import core.thread;
void main()
{
auto f = new Fiber({ writeln("Hello, World!"); });
f.call(false);
}
Not sure if this was a regression in DMD 2.064 as I can't get 2.063 to compile 64-bit right now.
Supposably fixed in the dmd ~master
Ah, yes it is.
The events2.lib file is missing which makes it impossible to compile it through dub (git) master with --arch=x86_64. Using the i386 events2.lib file returns a "wrong magic number" error.
Compiling with VibeWin32Driver configuration Win32 failed when executing the Windows x86_64 binary; it crashes at run-time.
My DMD environment is safe and tested for x86_64 applications, so it can't be the issue here.