Bug 16386 – std.concurrency: destructors called twice on objects passed as Message
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2016-08-14T09:50:00Z
Last change time
2016-10-01T11:46:41Z
Assigned to
nobody
Creator
r.sagitario
Comments
Comment #0 by r.sagitario — 2016-08-14T09:50:08Z
I don't have a reduced repro case, but the unittests for std.concurrency crashed for me on Win32 when enabling the precise GC in https://github.com/dlang/druntime/pull/1603.
This is caused by the destructor of a Variant being called twice when a Node of the Message List is reused by the MessageBox.
Comment #1 by github-bugzilla — 2016-08-15T01:44:45Z