Does anybody know why when trying to debug a "Hello world" program with gdb under cygwin, it causes a segmentation fault? But it runs fine, when it is not debugged. Here is the program: import std.stdio; void main() { int i = 1; i++; printf("Good bye"); writefln("\n%d", i); }