From: laruence Operating system: PHP version: 5.4.0beta1 Package: Built-in web server Bug Type: Bug Bug description:mem leak when use built-in server
Description: ------------ router.php <?php return FALSE; ?> a.php <?php echo "llllll" ?> ./php -S**** -t . router.php then request http://*****/a.php Expected result: ---------------- 111111 Actual result: -------------- [Thu Sep 22 10:55:32 2011] 172.21.232.67:50662 [200]: /a.php [Thu Sep 22 10:55:32 2011] Script: '-' php-src/trunk/main/output.c(803) : Freeing 0x2A95DDB200 (88 bytes), script=- php-src/trunk/Zend/zend_alloc.c(2529) : Actual location (location was relayed) [Thu Sep 22 10:55:32 2011] Script: '-' php-src/trunk/main/output.c(804) : Freeing 0x2A95DDB2B0 (23 bytes), script=- [Thu Sep 22 10:55:32 2011] Script: '-' php-src/trunk/main/output.c(809) : Freeing 0x2A95DDB320 (8192 bytes), script=- [Thu Sep 22 10:55:32 2011] Script: '-' php-src/trunk/Zend/zend_stack.c(37) : Freeing 0x2A95DDD378 (512 bytes), script=- [Thu Sep 22 10:55:32 2011] Script: '-' php-src/trunk/Zend/zend_stack.c(42) : Freeing 0x2A95DDD5D0 (8 bytes), script=- -- Edit bug report at https://bugs.php.net/bug.php?id=55759&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=55759&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=55759&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=55759&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=55759&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=55759&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=55759&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=55759&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=55759&r=needscript Try newer version: https://bugs.php.net/fix.php?id=55759&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=55759&r=support Expected behavior: https://bugs.php.net/fix.php?id=55759&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=55759&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=55759&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=55759&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=55759&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=55759&r=dst IIS Stability: https://bugs.php.net/fix.php?id=55759&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=55759&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=55759&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=55759&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=55759&r=mysqlcfg