From: admin at itech7 dot com Operating system: Fedora 8 / i386 PHP version: 5.2.5 PHP Bug Type: Session related Bug description: Memory Leaks
Description: ------------ When sessions are configured to autostart in php.ini ; there two memory leaks when calling a simple phpinfo() script using FastCGI with lighttpd server. I have a Pentium 3 / 500 Mhz / 384 MB RAM / 50 GB HDD box. Reproduce code: --------------- <? phpinfo(); ?> Expected result: ---------------- Clean working without any errors on the terminal. Actual result: -------------- PHP printed two memory leaks in my terminal. backtrace - [Tue Mar 25 14:49:38 2008] Script: '/var/www/lighttpd/_server/index.php' /root/php-5.2.5/ext/standard/url_scanner_ex.c(305) : Freeing 0x096F2D28 (79 bytes), script=/var/www/lighttpd/_server/index.php [Tue Mar 25 14:49:38 2008] Script: '/var/www/lighttpd/_server/index.php' /root/php-5.2.5/ext/standard/url_scanner_ex.c(316) : Freeing 0x096F2DA4 (79 bytes), script=/var/www/lighttpd/_server/index.php === Total 2 memory leaks detected === -- Edit bug report at http://bugs.php.net/?id=44528&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=44528&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=44528&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=44528&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=44528&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=44528&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=44528&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=44528&r=needscript Try newer version: http://bugs.php.net/fix.php?id=44528&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=44528&r=support Expected behavior: http://bugs.php.net/fix.php?id=44528&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=44528&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=44528&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=44528&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=44528&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=44528&r=dst IIS Stability: http://bugs.php.net/fix.php?id=44528&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=44528&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=44528&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=44528&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=44528&r=mysqlcfg