https://issues.dlang.org/show_bug.cgi?id=14993
Issue ID: 14993 Summary: Allocating in a destructor segfaults instead of throwing InvalidMemoryOperationError Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: regression Priority: P1 Component: druntime Assignee: nob...@puremagic.com Reporter: thecybersha...@gmail.com /////// test.d /////// struct S { ~this() { new int; } } void main() { foreach (n; 0..10) { new S[10]; } } ////////////////////// Introduced in https://github.com/D-Programming-Language/druntime/pull/1325 --