[Issue 14119] New: Must not allocate TraceInfo for FinalizeErrors

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Feb 3 11:45:24 PST 2015


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 at puremagic.com
          Reporter: code at 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.

--


More information about the Digitalmars-d-bugs mailing list