#29975 [Fbk->NoF]: memory leaks
| From: | php-bugs at lists dot php dot net | Date: | Wed, 13 Apr 2005 23:00:05 +0000 |
| Subject: | #29975 [Fbk->NoF]: memory leaks | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-77506@lists.php.net to get a copy of this message | ||
ID: 29975
Updated by: php-bugs@lists.php.net
Reported By: guth at fiifo dot u-psud dot fr
-Status: Feedback
+Status: No Feedback
Bug Type: Zend Engine 2 problem
Operating System: *
PHP Version: 5CVS-2005-03-07
New Comment:
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
Previous Comments:
------------------------------------------------------------------------
[2005-04-06 08:44:57] tony2001@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.0-win32-latest.zip
------------------------------------------------------------------------
[2005-02-10 13:36:04] guth at fiifo dot u-psud dot fr
Still here (lines have changed) :
/usr/src/php5-STABLE-200502101130/Zend/zend_builtin_functions.c(1089) :
Freeing 0x084CACBC (16 bytes), script=leaks.php
Last leak repeated 9999 times
/usr/src/php5-STABLE-200502101130/Zend/zend_builtin_functions.c(1099) :
Freeing 0x084CABEC (23 bytes), script=leaks.php
/usr/src/php5-STABLE-200502101130/Zend/zend_variables.c(137) : Actual
location (location was relayed)
Last leak repeated 9999 times
=== Total 20000 memory leaks detected ===
------------------------------------------------------------------------
[2005-02-09 01:51:57] tony2001@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.0-win32-latest.zip
I can't reproduce it with latest snapshot.
------------------------------------------------------------------------
[2005-01-07 20:51:38] sniper@php.net
/Zend/zend_builtin_functions.c(1097) : Freeing 0x08965664 (16 bytes),
script=t.php
Last leak repeated 9999 times
/Zend/zend_variables.h(45) : Freeing 0x08965594 (23 bytes),
script=t.php
/Zend/zend_variables.c(120) : Actual location (location was relayed)
Last leak repeated 9999 times
=== Total 20000 memory leaks detected ===
------------------------------------------------------------------------
[2004-10-12 10:36:00] guth at fiifo dot u-psud dot fr
I use a SimpleTest to do unit tests and it seems that it is this
library which causes the memory leaks.
<?php
function simpleTestErrorHandler($severity, $message, $filename, $line)
{
restore_error_handler();
TRUE; // Some PHP code
set_error_handler('simpleTestErrorHandler');
}
class plip {
public function run() {
set_error_handler('simpleTestErrorHandler');
trigger_error("plop", E_USER_NOTICE);
restore_error_handler();
}
}
$a = new plip;
for($i = 0; $i < 10000; $i++)
$a->run();
?>
/usr/src/php5-200410111030/Zend/zend_builtin_functions.c(1058) :
Freeing 0x082D0C54 (16 bytes), script=/www/test2.php
Last leak repeated 9999 times
/usr/src/php5-200410111030/Zend/zend_variables.h(45) : Freeing
0x082D0B84 (23 bytes), script=/www/test2.php
/usr/src/php5-200410111030/Zend/zend_variables.c(120) : Actual location
(location was relayed)
Last leak repeated 9999 times
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/29975
--
Edit this bug report at http://bugs.php.net/?id=29975&edit=1