[Issue 6372] New: data loss due to possible bug in garbage collector

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jul 24 04:02:20 PDT 2011


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

           Summary: data loss due to possible bug in garbage collector
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: P2
         Component: druntime
        AssignedTo: nobody at puremagic.com
        ReportedBy: bughunter2 at googlemail.com


--- Comment #0 from Jelle Geerts <bughunter2 at googlemail.com> 2011-07-24 04:02:17 PDT ---
Created an attachment (id=1011)
testcase for possible bug in gcx.d

It seems that during reallocation, the garbage collector does not always copy
enough bytes to the new block should a new block be allocated. The first
reallocation seems ok, but the next reallocation is where things go awry.

I've added a comment to the testcase which I've attached. It explains the issue
in a bit more detail.

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