www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14119] New: Must not allocate TraceInfo for FinalizeErrors

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

          Issue ID: 14119
           Summary: Must not allocate TraceInfo for FinalizeErrors
           Product: D
           Version: unspecified
          Hardware: x86_64
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: druntime
          Assignee: nobody puremagic.com
          Reporter: code dawg.eu

The GC is currently not reentrant, thus we can't allocate during finalization.
If an exception is thrown in a finalizer, it will allocate a TraceInfo object,
even if the exception was preallocated.

--
Feb 03 2015