[Issue 9242] Add stack stomping code to flush out heisenbugs

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jan 24 18:24:09 PST 2013


http://d.puremagic.com/issues/show_bug.cgi?id=9242



--- Comment #9 from bearophile_hugs at eml.cc 2013-01-24 18:24:04 PST ---
(In reply to comment #8)

> Why not try it and see what happens?

I have just tried this code with and without -gx, and on Windows32 the program
segfaults with no error message and no stack trace:


import std.c.stdio;
void recurse(in uint i=0) {
    printf("%u ", i);
    recurse(i + 1);
}
void main() {
    recurse();
}


> In any case, discussing stack overflow
> here is not the right place, as this issue has nothing in common with it.

OK.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list