#37006 [NEW]: memory leaks

From: Date: Fri, 07 Apr 2006 09:16:26 +0000
Subject: #37006 [NEW]: memory leaks
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-95417@lists.php.net to get a copy of this message
From: info at talte dot net Operating system: CentOS 4.0 Rel3 PHP version: 4.4.2 PHP Bug Type: Unknown/Other Function Bug description: memory leaks Description: ------------ Hello, Sorry for my bad engish. After some segmentation faults I compiled PHP with --enable-debug, and then I have these memory leaks. Reproduce code: --------------- /usr/local/directadmin/customapache/php-4.4.2/Zend/zend_execute.c(276) : Freeing 0x0C4E2124 (44 bytes), script=/home/jacob/domains/jacobshome.info/public_html/index.php /usr/local/directadmin/customapache/php-4.4.2/Zend/zend_variables.c(123) : Actual location (location was relayed) Last leak repeated 2 times /usr/local/directadmin/customapache/php-4.4.2/Zend/zend_execute.c(1812) : Freeing 0x0C4E207C (12 bytes), script=/home/jacob/domains/jacobshome.info/public_html/index.php Last leak repeated 3 times /usr/local/directadmin/customapache/php-4.4.2/Zend/zend_execute.c(2123) : Freeing 0x0C4E1FE4 (14 bytes), script=/home/jacob/domains/jacobshome.info/public_html/index.php /usr/local/directadmin/customapache/php-4.4.2/Zend/zend_variables.c(111) : Actual location (location was relayed) Last leak repeated 156 times /usr/local/directadmin/customapache/php-4.4.2/Zend/zend_execute.c(2120) : Freeing 0x0C4E1FA4 (12 bytes), script=/home/jacob/domains/jacobshome.info/public_html/index.php Last leak repeated 160 times /usr/local/directadmin/customapache/php-4.4.2/Zend/zend_execute.c(2100) : Freeing 0x0C4DCD9C (44 bytes), script=/home/jacob/domains/jacobshome.info/public_html/index.php /usr/local/directadmin/customapache/php-4.4.2/Zend/zend_API.c(563) : Actual location (location was relayed) Last leak repeated 14 times /usr/local/directadmin/customapache/php-4.4.2/Zend/zend_execute.c(2069) : Freeing 0x0C4DCBD4 (12 bytes), script=/home/jacob/domains/jacobshome.info/public_html/index.php Last leak repeated 9 times /usr/local/directadmin/customapache/php-4.4.2/Zend/zend_API.c(680) : Freeing 0x0C4DC90C (2 bytes), script=/home/jacob/domains/jacobshome.info/public_html/index.php Last leak repeated 48 times /usr/local/directadmin/customapache/php-4.4.2/Zend/zend_API.c(679) : Freeing 0x0C4DC8CC (12 bytes), script=/home/jacob/domains/jacobshome.info/public_html/index.php Last leak repeated 48 times Expected result: ---------------- No memory leaks Actual result: -------------- Some memory leaks -- Edit bug report at http://bugs.php.net/?id=37006&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37006&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=37006&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37006&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=37006&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=37006&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=37006&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=37006&r=needscript Try newer version: http://bugs.php.net/fix.php?id=37006&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=37006&r=support Expected behavior: http://bugs.php.net/fix.php?id=37006&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=37006&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=37006&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=37006&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37006&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=37006&r=dst IIS Stability: http://bugs.php.net/fix.php?id=37006&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=37006&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=37006&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=37006&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=37006&r=mysqlcfg

« previous php.bugs (#95417) next »