[Issue 6821] core.exception.OutOfMemoryError on dtor field test of class-embedded struct

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Oct 17 03:11:29 PDT 2011


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


yebblies <yebblies at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yebblies at gmail.com
           Platform|Other                       |All
         OS/Version|Windows                     |All


--- Comment #2 from yebblies <yebblies at gmail.com> 2011-10-17 21:10:30 EST ---
I'm guessing the issue here is:

Currently attempting to allocate during a garbage collection throws an oom
error.  This is due to limitations in the current gc implementation, previously
it just corrupted memory.  As the Foo object is only destroyed when the final
collection occurs, the assert failing in the destructor tries to allocate an
AssertError and fails.

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