From: alain dot russell at blackpepper dot co dot nz Operating system: Mac OSX Server PHP version: 5.1.2 PHP Bug Type: Unknown/Other Function Bug description: Memory leaks with 5.1.2
Description: ------------ Since upgrading to 5.1.2 I am seeing a lot of memory leak errors. Reproduce code: --------------- n/a ? Expected result: ---------------- No memory leak warnings. Actual result: -------------- Example errors as follows: [Mon Jan 30 22:22:16 2006] Script: '/Library/WebServer/ Documents/cohesion/itcintl.co.nz/index.php' /Users/admin/Desktop/php-5.1.2/main/php_variables.c(186) : Freeing 0x005F6548 (16 bytes), script=/Library/WebServer/ Documents/cohesion/itcintl.co.nz/index.php Last leak repeated 2 times [Mon Jan 30 22:22:16 2006] Script: '/Library/WebServer/ Documents/cohesion/itcintl.co.nz/index.php' /Users/admin/Desktop/php-5.1.2/ext/standard/string.c(3006) : Freeing 0x005B1E28 (5 bytes), script=/Library/WebServer/ Documents/cohesion/itcintl.co.nz/index.php /Users/admin/Desktop/php-5.1.2/Zend/zend_alloc.c(237) : Actual location (location was relayed) Last leak repeated 2 times === Total 6 memory leaks detected === [Mon Jan 30 22:43:49 2006] Script: '/Library/WebServer/ Documents/blackpepper/sportzone.co.nz/index.php' /Users/admin/Desktop/php-5.1.2/ext/standard/string.c(3006) : Freeing 0x005D5448 (9 bytes), script=/Library/WebServer/ Documents/blackpepper/sportzone.co.nz/index.php /Users/admin/Desktop/php-5.1.2/Zend/zend_alloc.c(237) : Actual location (location was relayed) [Mon Jan 30 22:43:49 2006] Script: '/Library/WebServer/ Documents/blackpepper/sportzone.co.nz/index.php' /Users/admin/Desktop/php-5.1.2/main/php_variables.c(186) : Freeing 0x005F4798 (16 bytes), script=/Library/WebServer/ Documents/blackpepper/sportzone.co.nz/index.php === Total 2 memory leaks detected === [Mon Jan 30 22:44:07 2006] Script: '/Library/WebServer/ Documents/blackpepper/sportzone.co.nz/index.php' /Users/admin/Desktop/php-5.1.2/ext/standard/string.c(3006) : Freeing 0x005B1E28 (9 bytes), script=/Library/WebServer/ Documents/blackpepper/sportzone.co.nz/index.php /Users/admin/Desktop/php-5.1.2/Zend/zend_alloc.c(237) : Actual location (location was relayed) [Mon Jan 30 22:44:07 2006] Script: '/Library/WebServer/ Documents/blackpepper/sportzone.co.nz/index.php' /Users/admin/Desktop/php-5.1.2/main/php_variables.c(186) : Freeing 0x005EED98 (16 bytes), script=/Library/WebServer/ Documents/blackpepper/sportzone.co.nz/index.php === Total 2 memory leaks detected === -- Edit bug report at http://bugs.php.net/?id=36205&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=36205&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=36205&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=36205&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=36205&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=36205&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=36205&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=36205&r=needscript Try newer version: http://bugs.php.net/fix.php?id=36205&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=36205&r=support Expected behavior: http://bugs.php.net/fix.php?id=36205&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=36205&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=36205&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=36205&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=36205&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=36205&r=dst IIS Stability: http://bugs.php.net/fix.php?id=36205&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=36205&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=36205&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=36205&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=36205&r=mysqlcfg