[Issue 16386] New: std.concurrency: destructors called twice on objects passed as Message

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Aug 14 02:50:08 PDT 2016


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

          Issue ID: 16386
           Summary: std.concurrency: destructors called twice on objects
                    passed as Message
           Product: D
           Version: D2
          Hardware: x86
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P1
         Component: phobos
          Assignee: nobody at puremagic.com
          Reporter: r.sagitario at gmx.de

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.

--


More information about the Digitalmars-d-bugs mailing list