[Issue 15836] New: [REG 2.071-b1] memory error when a class is not implicitly destructed and constructed with new
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sat Mar 26 19:46:13 PDT 2016
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: nobody at puremagic.com
Reporter: b2.temp at 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 at 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.
--
More information about the Digitalmars-d-bugs
mailing list