#29975 [Fbk->NoF]: memory leaks
| From: | php-bugs at lists dot php dot net | Date: | Sun, 19 Sep 2004 23:00:04 +0000 |
| Subject: | #29975 [Fbk->NoF]: memory leaks | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-66428@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: Performance problem
Operating System: Linux (Mandrake 10)
PHP Version: 5.0.1
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:
------------------------------------------------------------------------
[2004-09-06 08:12:18] derick@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc.
If possible, make the script source available online and provide
an URL to it here. Try avoid embedding huge scripts into the report.
------------------------------------------------------------------------
[2004-09-03 21:21:15] guth at fiifo dot u-psud dot fr
Description:
------------
(i'm french, excuse me for my english)
I try to develop a CMS and i take more time to debug PHP than code
PHP...
After 3 segmentation fault, I compiled PHP with --enable-debug, and my
tests give the following errors.
Reproduce code:
---------------
/usr/src/php-5.0.1/Zend/zend_builtin_functions.c(1023) : Freeing
0x0846F864 (23 bytes),
script=/www/haricow/0.4/haricow/test/runTests.php
/usr/src/php-5.0.1/Zend/zend_variables.c(137) : Actual location
(location was relayed)
Last leak repeated 32 times
/usr/src/php-5.0.1/Zend/zend_builtin_functions.c(1013) : Freeing
0x084702C4 (16 bytes),
script=/www/haricow/0.4/haricow/test/runTests.php
Last leak repeated 32 times
/usr/src/php-5.0.1/Zend/zend_execute.c(3718) : Freeing 0x0844FA94 (44
bytes), script=/www/haricow/0.4/haricow/test/runTests.php
/usr/src/php-5.0.1/Zend/zend_variables.c(149) : Actual location
(location was relayed)
Last leak repeated 1 time
/usr/src/php-5.0.1/Zend/zend_execute.c(3252) : Freeing 0x0844DCCC (16
bytes), script=/www/haricow/0.4/haricow/test/runTests.php
Last leak repeated 7 times
/usr/src/php-5.0.1/Zend/zend_variables.c(150) : Freeing 0x0843597C (32
bytes), script=/www/haricow/0.4/haricow/test/runTests.php
/usr/src/php-5.0.1/Zend/zend_hash.c(169) : Actual location (location
was relayed)
/usr/src/php-5.0.1/Zend/zend_execute.c(3389) : Freeing 0x084315DC (16
bytes), script=/www/haricow/0.4/haricow/test/runTests.php
/usr/src/php-5.0.1/Zend/zend_hash.c(242) : Freeing 0x08233804 (40
bytes), script=/www/haricow/0.4/haricow/test/runTests.php
=== Total 79 memory leaks detected ===
Expected result:
----------------
No memory leaks
Actual result:
--------------
About 3 Kb of memory leaks.
I tryed to "insulate" them, but i didn't manage, because of the
complexity of the script.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=29975&edit=1