[Issue 14993] Allocating in a destructor segfaults instead of throwing InvalidMemoryOperationError
    via Digitalmars-d-bugs 
    digitalmars-d-bugs at puremagic.com
       
    Sat Sep  5 21:22:09 PDT 2015
    
    
  
https://issues.dlang.org/show_bug.cgi?id=14993
Martin Nowak <code at dawg.eu> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |code at dawg.eu
--- Comment #1 from Martin Nowak <code at dawg.eu> ---
This broke b/c of an ugly hack in druntime which excluded throwing
typeinfo(Ex).init.ptr style exceptions from stacktraces.
https://github.com/D-Programming-Language/druntime/blob/46fdff3c82d917c94a79f355274770147bf8bdae/src/rt/deh.d#L22
The underlying issue is the same as issue 14119, stacktraces should be @nogc.
--
    
    
More information about the Digitalmars-d-bugs
mailing list