June 06, 2021 [Issue 21996] New: -checkaction=context triggers InvalidMemoryOperationError in finalizer | ||||
---|---|---|---|---|
| ||||
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@puremagic.com Reporter: moonlightsentinel@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. -- |
Copyright © 1999-2021 by the D Language Foundation