[Issue 21336] New: [2.094.1] Memory corruption of TemplateInstance
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Oct 22 08:56:58 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=21336
Issue ID: 21336
Summary: [2.094.1] Memory corruption of TemplateInstance
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: regression
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: uplink.coder at gmail.com
Created attachment 1809
--> https://issues.dlang.org/attachment.cgi?id=1809&action=edit
testcase for the issue.
Since the new version of dmd the code in the archive attached to this bug
report fails.
to reproduce untar the archive cd into repro.reduced and run ../bld.sh
You will see it segfault with 2.094.1
But succeeded with 2.094.0
The root cause for this, is stale data kept around in a memory pool.
Introduced in https://github.com/dlang/dmd/pull/11381
--
More information about the Digitalmars-d-bugs
mailing list