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

--- Comment #0 from Michele Pes <> 2012-06-26 07:08:59 PDT ---
import std.stdio;

void main()
    try {
        byte[] big_buf = new byte[4294967295];
    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:
------- You are receiving this mail because: -------

Reply via email to