[Issue 15595] New: access violation in _d_interface_cast during GC collection

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Jan 22 21:32:42 PST 2016


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

          Issue ID: 15595
           Summary: access violation in _d_interface_cast during GC
                    collection
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Windows
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: druntime
          Assignee: nobody at puremagic.com
          Reporter: etcimon at gmail.com

When using Unique!Object, if Object is collected by the GC during the same
collection cycle that calls the destructor of an object containing Unique!, the
destroy() function will produce an access violation during casting, because the
vtable pointer is no longer valid.

--


More information about the Digitalmars-d-bugs mailing list