CallbackFilterIterator is leaking memory

php.internals

Michael Voříšek - ČVUT FEL

5 years ago
Hi, can someone please verify https://bugs.php.net/bug.php?id=80125 and fix if possible? With kind regards / Mit freundlichen Grüßen / S přátelským pozdravem, Michael Voříšek ČVUT FEL

Michael Voříšek - ČVUT FEL

5 years ago
Hi, if the dual_it is hard to fix, can we fix the memory isssues using WeakRef like here https://github.com/atk4/data/pull/737/files#diff-cc2c8bc61e741e6f1b07d0076c5036c0R51 inside php directly? Why are internal objects not correctly linked and GCable at all? With kind regards / Mit freundlichen Grüßen / S přátelským pozdravem, Michael Voříšek ČVUT FEL On 23 Sep 2020 11:28, Michael Voříšek - ČVUT FEL wrote:

Nikita Popov

5 years ago
On Wed, Sep 23, 2020 at 11:29 AM Michael Voříšek - ČVUT FEL < vorismi3@fel.cvut.cz> wrote:
> Hi, > > can someone please verify https://bugs.php.net/bug.php?id=80125 and fix > if possible? > > With kind regards / Mit freundlichen Grüßen / S přátelským pozdravem, > > Michael Voříšek > ČVUT FEL
This issue is fixed with https://github.com/php/php-src/commit/afab9eb48c883766b7870f76f2e2b0a4bd575786 and https://github.com/php/php-src/commit/2c1b5c43656336b6a19070a3529c411084f0304f for PHP 8.0. Regards, Nikita