[Issue 16564] KRRegion.empty sometimes returns Ternary.no

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Jul 6 14:40:23 PDT 2017


https://issues.dlang.org/show_bug.cgi?id=16564

--- Comment #5 from Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> ---
(In reply to Temtaime from comment #4)
> 	ubyte[1024 * 1024] buf;


Are you sure that's not just because you have a 1MB static array on the stack?

This program, by itself, crashes on Windows (because of stack overflow):

void main()
{
    ubyte[1024 * 1024] buf;
}

--


More information about the Digitalmars-d-bugs mailing list