[Issue 3898] New: access violation with associative arrays

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Mar 8 07:24:55 PST 2010


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

           Summary: access violation with associative arrays
           Product: D
           Version: 2.041
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: regression
          Priority: P2
         Component: druntime
        AssignedTo: sean at invisibleduck.org
        ReportedBy: r.sagitario at gmx.de


--- Comment #0 from Rainer Schuetze <r.sagitario at gmx.de> 2010-03-08 07:24:53 PST ---
the following test case crashes in version 2.041

import std.conv;

void main()
{
    int[string] aa;
    for(int i = 0; i < 100000; i++)
    {
        string s = to!string(i);
        aa[s] = i;
    }
}

while it worked with 2.040 and earlier. The access violation is in _aaBalance
and very much looks like a memory corruption.

-- 
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