digitalmars.D.bugs - [Issue 21336] New: [2.094.1] Memory corruption of TemplateInstance
- d-bugmail puremagic.com (24/24) Oct 22 2020 https://issues.dlang.org/show_bug.cgi?id=21336
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 puremagic.com Reporter: uplink.coder 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 --
Oct 22 2020