Bug #48690 [Ver->Bgs]: Memory leaks when using cyclic references (PHP_5_2 only)
| From: | stas@php.net | Date: | Tue, 27 Dec 2011 09:59:38 +0000 |
| Subject: | Bug #48690 [Ver->Bgs]: Memory leaks when using cyclic references (PHP_5_2 only) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-166105@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=48690&edit=1
ID: 48690
Updated by: stas@php.net
Reported by: felipe@php.net
Summary: Memory leaks when using cyclic references (PHP_5_2
only)
-Status: Verified
+Status: Bogus
Type: Bug
Package: Scripting Engine problem
Operating System: *
PHP Version: 5.2CVS-2009-11-30
Block user comment: N
Private report: N
New Comment:
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP --
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php
If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
Previous Comments:
------------------------------------------------------------------------
[2009-06-25 12:53:43] felipe@php.net
Description:
------------
This issue is PHP5_2 only.
See below.
Reproduce code:
---------------
$x = array(); $x[0] = &$x;
Expected result:
----------------
No memleak.
Actual result:
--------------
[Thu Jun 25 09:48:53 2009] Script: '-'
/home/felipe/dev/php5_2/Zend/zend_execute.c(833) : Freeing 0x0A8388E8 (16 bytes), script=-
[Thu Jun 25 09:48:53 2009] Script: '-'
/home/felipe/dev/php5_2/Zend/zend_vm_execute.h(18351) : Freeing 0x0A83933C (44 bytes), script=-
/home/felipe/dev/php5_2/Zend/zend_API.c(827) : Actual location (location was relayed)
Last leak repeated 1 time
[Thu Jun 25 09:48:53 2009] Script: '-'
/home/felipe/dev/php5_2/Zend/zend_execute.c(1001) : Freeing 0x0A839440 (35 bytes), script=-
/home/felipe/dev/php5_2/Zend/zend_hash.c(388) : Actual location (location was relayed)
=== Total 4 memory leaks detected ===
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=48690&edit=1