https://issues.dlang.org/show_bug.cgi?id=15836
Issue ID: 15836 Summary: [REG 2.071-b1] memory error when a class is not implicitly destructed and constructed with new Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: regression Priority: P1 Component: druntime Assignee: nob...@puremagic.com Reporter: b2.t...@gmx.com Created attachment 1592 --> https://issues.dlang.org/attachment.cgi?id=1592&action=edit source + dub description to reproduce the issue - download the attachement - unzip, cd to the dir - try the dub package from the attachement with - dub --config=strange - dub --config=ok1 - dub --config=ok2 - dub --config=ok3 without explicit destruction (strange config) the following error appears, at the end of the run-time: > core.exception.InvalidMemoryOperationError@src/core/exception.d(693): Invalid > memory operation This error never appeared before and the class exists since 20 monthes, which leads me to think that there's a regression, maybe related to the GC or at least in druntime. --