digitalmars.D.bugs - [Issue 15595] New: access violation in _d_interface_cast during GC
- via Digitalmars-d-bugs (19/19) Jan 22 2016 https://issues.dlang.org/show_bug.cgi?id=15595
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 puremagic.com Reporter: etcimon 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. --
Jan 22 2016