http://d.puremagic.com/issues/show_bug.cgi?id=8301
Summary: Exception not caught when a big array is allocated Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: major Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: mp8...@rambler.ru --- Comment #0 from Michele Pes <mp8...@rambler.ru> 2012-06-26 07:08:59 PDT --- import std.stdio; void main() { try { byte[] big_buf = new byte[4294967295]; writeln("Allocated"); } catch(Exception) { writeln("never displayed"); } } The string "never displayed" is never displayed and the client crushes with object.Error: Access Violation. Same if instead of (2^32 -1) you put -1. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------