ID: 36205 Updated by: [EMAIL PROTECTED] Reported By: alain dot russell at blackpepper dot co dot nz -Status: Open +Status: Feedback Bug Type: Unknown/Other Function Operating System: Mac OSX Server PHP Version: 5.1.2 New Comment:
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 to avoid embedding huge scripts into the report. Previous Comments: ------------------------------------------------------------------------ [2006-01-30 11:23:51] alain dot russell at blackpepper dot co dot nz 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 this bug report at http://bugs.php.net/?id=36205&edit=1