[Issue 14993] Allocating in a destructor segfaults instead of throwing InvalidMemoryOperationError

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Oct 14 03:34:33 PDT 2015


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

--- Comment #3 from github-bugzilla at puremagic.com ---
Commits pushed to stable at https://github.com/D-Programming-Language/druntime

https://github.com/D-Programming-Language/druntime/commit/ee306cc93e7feb894f8fb618b4aae340878c0d54
fix Issue 14993 - segfault for InvalidMemoryOperationError

- creating a stacktrace currently uses the GC (thus might recurse
  infinetely when the GC throws an exception itself)
- suppress stack traces for OutOfMemoryError,
  InvalidMemoryOperationError, and FinalizeError

https://github.com/D-Programming-Language/druntime/commit/d3dad79e43a703800ae4407b3d33812f869e3fcc
Merge pull request #1406 from MartinNowak/fix14993

fix Issue 14993 - segfault for InvalidMemoryOperationError

--


More information about the Digitalmars-d-bugs mailing list