www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 22358] New: Allocations from foreign threads lead to crash

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

          Issue ID: 22358
           Summary: Allocations from foreign threads lead to crash
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: critical
          Priority: P1
         Component: druntime
          Assignee: nobody puremagic.com
          Reporter: temtaime gmail.com

Created attachment 1829
  --> https://issues.dlang.org/attachment.cgi?id=1829&action=edit
testcase

Actual result :

foo done
foo done
foo done
Segmentation fault

Expected results :
foo done
...
main done

--
Oct 04 2021