www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 6372] New: data loss due to possible bug in garbage collector

reply d-bugmail puremagic.com writes:
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 puremagic.com
        ReportedBy: bughunter2 googlemail.com



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: -------
Jul 24 2011
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=6372


Rainer Schuetze <r.sagitario gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |r.sagitario gmx.de



PDT ---
https://github.com/D-Programming-Language/druntime/pull/547

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jul 20 2013
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=6372


yebblies <yebblies gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |yebblies gmail.com
         Resolution|                            |FIXED



https://github.com/D-Programming-Language/druntime/commit/883d699b7c6fabcc89aae77ae62955eebd9b0372

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jul 20 2013