[Issue 1180] the GC failes to handle large allocation requests propperly

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Feb 20 08:49:14 PST 2016


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

Sobirari Muhomori <dfj1esp02 at sneakemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
            Version|D1 (retired)                |D2
          Component|phobos                      |druntime
           Hardware|x86                         |x86_64
           Assignee|bugzilla at digitalmars.com    |nobody at puremagic.com
         Resolution|FIXED                       |---
           Severity|blocker                     |normal
                 OS|All                         |Linux

--- Comment #2 from Sobirari Muhomori <dfj1esp02 at sneakemail.com> ---
int main()
{
    size_t len = size_t.max-100;
    ubyte[] arr = new ubyte[len];
    return 0;
}

Return code: 11 (Segmentation fault)

Tried only on dpaste.

--


More information about the Digitalmars-d-bugs mailing list