Thread overview
[Issue 14443] [REG2.067.0] Incorrect double freeing of reference counted struct
[Issue 14443] [Reg 2.067.0] Incorrect double freeing of reference counted struct
Apr 15, 2015
Edwin van Leeuwen
Apr 17, 2015
Martin Nowak
Apr 18, 2015
Kenji Hara
April 15, 2015
https://issues.dlang.org/show_bug.cgi?id=14443

Edwin van Leeuwen <edder@tkwsping.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |edder@tkwsping.nl

--
April 17, 2015
https://issues.dlang.org/show_bug.cgi?id=14443

--- Comment #1 from Martin Nowak <code@dawg.eu> ---
Regression was apparently introduced with https://github.com/D-Programming-Language/dmd/pull/4078.

--
April 18, 2015
https://issues.dlang.org/show_bug.cgi?id=14443

Kenji Hara <k.hara.pg@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull, wrong-code
            Version|unspecified                 |D2
            Summary|[Reg 2.067.0] Incorrect     |[REG2.067.0] Incorrect
                   |double freeing of reference |double freeing of reference
                   |counted struct              |counted struct

--- Comment #2 from Kenji Hara <k.hara.pg@gmail.com> ---
https://github.com/D-Programming-Language/dmd/pull/4595

--
April 18, 2015
https://issues.dlang.org/show_bug.cgi?id=14443

github-bugzilla@puremagic.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--
April 18, 2015
https://issues.dlang.org/show_bug.cgi?id=14443

--- Comment #3 from github-bugzilla@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/46841af5b6ac2ceb60a897974423d6f31b8a8301 fix Issue 14443 - Incorrect double freeing of reference counted struct

After the issue 13586 fix (pull#4078), the emission of 'prefix' expressions on
`CallExp` had accidentally changed `valueNoDtor()` in
`ReturnStatement::semantic()` no-op.
Then excessive destructor call had happened in PathRange.front().

https://github.com/D-Programming-Language/dmd/commit/c46be675fd3be445dcb0db691a544898aa0332ee Merge pull request #4595 from 9rnsr/fix14443

[REG2.067] Issue 14443 - Incorrect double freeing of reference counted struct

--
April 18, 2015
https://issues.dlang.org/show_bug.cgi?id=14443

--- Comment #4 from github-bugzilla@puremagic.com ---
Commit pushed to stable at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/ee257090f0f89adf19eadc70692070c6d30ebac1 Merge pull request #4595 from 9rnsr/fix14443

[REG2.067] Issue 14443 - Incorrect double freeing of reference counted struct

--
April 26, 2015
https://issues.dlang.org/show_bug.cgi?id=14443

--- Comment #5 from github-bugzilla@puremagic.com ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/ee257090f0f89adf19eadc70692070c6d30ebac1 Merge pull request #4595 from 9rnsr/fix14443

--
June 17, 2015
https://issues.dlang.org/show_bug.cgi?id=14443

--- Comment #6 from github-bugzilla@puremagic.com ---
Commits pushed to stable at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/46841af5b6ac2ceb60a897974423d6f31b8a8301 fix Issue 14443 - Incorrect double freeing of reference counted struct

https://github.com/D-Programming-Language/dmd/commit/c46be675fd3be445dcb0db691a544898aa0332ee Merge pull request #4595 from 9rnsr/fix14443

--