ID: 36332 Updated by: [EMAIL PROTECTED] Reported By: Bjorn dot Wiberg at its dot uu dot se -Status: Open +Status: Feedback Bug Type: Strings related Operating System: IBM AIX 5.2.0.0 ML5 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-02-08 09:22:44] Bjorn dot Wiberg at its dot uu dot se Description: ------------ The Apache error log lists memory leaks when using phpMyAdmin 2.8.0-beta1 on Apache 2.0.55 with PHP as SAPI. I'm wondering whether these memory leaks are due to something wrong with PHP, or something wrong with phpMyAdmin? It would be interesting to know if you encounter the same problem on another machine, with --enable-debug and report_memleaks on? phpMyAdmin bug report: https://sourceforge.net/tracker/?func=detail&atid=377408&aid=1418607&group_id=23067 phpMyAdmin download page: http://www.phpmyadmin.net/home_page/downloads.php Many thanks in advance! Best regards, Björn Reproduce code: --------------- Using phpMyAdmin, visiting the index page, browsing around (the CSS stuff gets included just about everywhere). Expected result: ---------------- No memleaks reported. Actual result: -------------- >From the Apache error log: ---8<--- [Mon Feb 6 15:00:01 2006] Script: '/apache/htdocs/hotel/phpmyadmin/css/phpmyadmin.css.php' /usr/local/src/php-5.1.2/ext/standard/string.c(3006) : Freeing 0x31FB153C (28 bytes), script=/apache/htdocs/hotel/phpmyadmin/css/phpmyadmin.css.php /usr/local/src/php-5.1.2/Zend/zend_alloc.c(237) : Actual location (location was relayed) [Mon Feb 6 15:00:01 2006] Script: '/apache/htdocs/hotel/phpmyadmin/css/phpmyadmin.css.php' /usr/local/src/php-5.1.2/main/php_variables.c(186) : Freeing 0x31FB0C8C (16 bytes), script=/apache/htdocs/hotel/phpmyadmin/css/phpmyadmin.css.php === Total 2 memory leaks detected === [Mon Feb 6 14:59:55 2006] Script: '/apache/htdocs/hotel/phpmyadmin/css/phpmyadmin.css.php' /usr/local/src/php-5.1.2/ext/standard/string.c(3006) : Freeing 0x31FE62DC (28 bytes), script=/apache/htdocs/hotel/phpmyadmin/css/phpmyadmin.css.php /usr/local/src/php-5.1.2/Zend/zend_alloc.c(237) : Actual location (location was relayed) [Mon Feb 6 14:59:55 2006] Script: '/apache/htdocs/hotel/phpmyadmin/css/phpmyadmin.css.php' /usr/local/src/php-5.1.2/main/php_variables.c(186) : Freeing 0x31FE601C (16 bytes), script=/apache/htdocs/hotel/phpmyadmin/css/phpmyadmin.css.php === Total 2 memory leaks detected === [Mon Feb 6 15:00:10 2006] Script: '/apache/htdocs/hotel/phpmyadmin/css/phpmyadmin.css.php' /usr/local/src/php-5.1.2/ext/standard/string.c(3006) : Freeing 0x31FB5AFC (28 bytes), script=/apache/htdocs/hotel/phpmyadmin/css/phpmyadmin.css.php /usr/local/src/php-5.1.2/Zend/zend_alloc.c(237) : Actual location (location was relayed) [Mon Feb 6 15:00:10 2006] Script: '/apache/htdocs/hotel/phpmyadmin/css/phpmyadmin.css.php' /usr/local/src/php-5.1.2/main/php_variables.c(186) : Freeing 0x31FB583C (16 bytes), script=/apache/htdocs/hotel/phpmyadmin/css/phpmyadmin.css.php === Total 2 memory leaks detected === --->8--- (I get a lot of these in the error log.) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=36332&edit=1
