[Issue 21996] New: -checkaction=context triggers InvalidMemoryOperationError in finalizer
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Jun 6 13:06:14 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=21996
Issue ID: 21996
Summary: -checkaction=context triggers
InvalidMemoryOperationError in finalizer
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P1
Component: druntime
Assignee: nobody at puremagic.com
Reporter: moonlightsentinel at disroot.org
checkaction=context allocates from the GC to create the formatted assert
message. This may cause an InvalidMemoryOperationError when called from a
destructor during GC finalization.
--
More information about the Digitalmars-d-bugs
mailing list