From: hufeng1987 at gmail dot com Operating system: CentOS 5.8 PHP version: 5.4.10 Package: FPM related Bug Type: Bug Bug description:Lot's of memory leaks detected
Description: ------------ System Linux localhost.localdomain 2.6.18-308.el5 #1 SMP Tue Feb 21 20:06:06 EST 2012 x86_64 Build Date Jan 8 2013 17:40:04 Configure Command './configure' '--prefix=/usr/local/webserver/php-with- debug' '--with-iconv-dir=/usr/local' '--with-freetype-dir' '--with-jpeg-dir' '-- with-png-dir' '--with-zlib' '--with-libxml-dir=/usr' '--enable-xml' '--disable- rpath' '--enable-bcmath' '--enable-shmop' '--enable-sysvsem' '--enable-inline- optimization' '--with-curl' '--with-curlwrappers' '--enable-mbregex' '--enable- fpm' '--enable-mbstring' '--with-gd' '--enable-gd-native-ttf' '--with-openssl' '-- enable-pcntl' '--enable-sockets' '--enable-zip' '--with-mcrypt' '--with-pdo- mysql=mysqlnd' '--with-mysql=mysqlnd' '--enable-mysqlnd' '--enable-debug' Expected result: ---------------- no memory leaks Actual result: -------------- [09-Jan-2013 16:40:10] WARNING: [pool www] child 2332 said into stderr: "Last leak repeated 608 times" [09-Jan-2013 16:40:10] WARNING: [pool www] child 2332 said into stderr: "[Wed Jan 9 16:40:10 2013] Script: '-'" [09-Jan-2013 16:40:10] WARNING: [pool www] child 2332 said into stderr: "/root/soft/phpall/cache/APC-3.1.13/apc_zend.c(38) : Freeing 0x19D020A8 (25 bytes), script=-" [09-Jan-2013 16:40:10] WARNING: [pool www] child 2332 said into stderr: "Last leak repeated 4958 times" [09-Jan-2013 16:40:10] WARNING: [pool www] child 2332 said into stderr: "[Wed Jan 9 16:40:10 2013] Script: '-'" [09-Jan-2013 16:40:10] WARNING: [pool www] child 2332 said into stderr: "/root/soft/phpall/cache/APC-3.1.13/apc_compile.c(219) : Freeing 0x19D086A0 (32 bytes), script=-" [09-Jan-2013 16:40:10] WARNING: [pool www] child 2332 said into stderr: "Last leak repeated 55 times" [09-Jan-2013 16:40:10] WARNING: [pool www] child 2332 said into stderr: "[Wed Jan 9 16:40:10 2013] Script: '-'" [09-Jan-2013 16:40:10] WARNING: [pool www] child 2332 said into stderr: "/root/soft/phpall/php-5.4.10/Zend/zend_hash.c(324) : Freeing 0x19D08890 (72 bytes), script=-" [09-Jan-2013 16:40:10] WARNING: [pool www] child 2332 said into stderr: "Last leak repeated 941 times" [09-Jan-2013 16:40:10] WARNING: [pool www] child 2332 said into stderr: "[Wed Jan 9 16:40:10 2013] Script: '-'" [09-Jan-2013 16:40:10] WARNING: [pool www] child 2332 said into stderr: "/root/soft/phpall/php-5.4.10/Zend/zend_compile.c(114) : Freeing 0x19D08B80 (70 bytes), script=-" [09-Jan-2013 16:40:10] WARNING: [pool www] child 2332 said into stderr: "Last leak repeated 200 times" [09-Jan-2013 16:40:10] WARNING: [pool www] child 2332 said into stderr: "[Wed Jan 9 16:40:10 2013] Script: '-'" [09-Jan-2013 16:40:10] WARNING: [pool www] child 2332 said into stderr: "/root/soft/phpall/cache/APC-3.1.13/apc_compile.c(1787) : Freeing 0x19D0A140 (240 bytes), script=-" [09-Jan-2013 16:40:10] WARNING: [pool www] child 2332 said into stderr: "Last leak repeated 1486 times" [09-Jan-2013 16:40:10] WARNING: [pool www] child 2332 said into stderr: "[Wed Jan 9 16:40:10 2013] Script: '-'" [09-Jan-2013 16:40:10] WARNING: [pool www] child 2332 said into stderr: "/root/soft/phpall/php-5.4.10/Zend/zend_hash.c(893) : Freeing 0x19D0CF18 (64 bytes), script=-" [09-Jan-2013 16:40:10] WARNING: [pool www] child 2332 said into stderr: "/root/soft/phpall/php-5.4.10/Zend/zend_hash.c(339) : Actual location (location was relayed)" [09-Jan-2013 16:40:10] WARNING: [pool www] child 2332 said into stderr: "Last leak repeated 908 times" [09-Jan-2013 16:40:10] WARNING: [pool www] child 2332 said into stderr: "[Wed Jan 9 16:40:10 2013] Script: '-'" [09-Jan-2013 16:40:10] WARNING: [pool www] child 2332 said into stderr: "/root/soft/phpall/php-5.4.10/Zend/zend_hash.c(450) : Freeing 0x19CCD2B8 (128 bytes), script=-" [09-Jan-2013 16:40:10] WARNING: [pool www] child 2332 said into stderr: "Last leak repeated 32 times" [09-Jan-2013 16:40:10] WARNING: [pool www] child 2332 said into stderr: "[Wed Jan 9 16:40:10 2013] Script: '-'" [09-Jan-2013 16:40:10] WARNING: [pool www] child 2332 said into stderr: "/root/soft/phpall/php-5.4.10/Zend/zend_compile.c(2867) : Freeing 0x19CDF848 (240 bytes), script=-" [09-Jan-2013 16:40:10] WARNING: [pool www] child 2332 said into stderr: "/root/soft/phpall/php-5.4.10/Zend/zend_hash.c(236) : Actual location (location was relayed)" [09-Jan-2013 16:40:10] WARNING: [pool www] child 2332 said into stderr: "Last leak repeated 10 times" [09-Jan-2013 16:40:10] WARNING: [pool www] child 2332 said into stderr: "[Wed Jan 9 16:40:10 2013] Script: '-'" [09-Jan-2013 16:40:10] WARNING: [pool www] child 2332 said into stderr: "/root/soft/phpall/php-5.4.10/Zend/zend_hash.c(292) : Freeing 0x19C7B1E8 (64 bytes), script=-" [09-Jan-2013 16:40:10] WARNING: [pool www] child 2332 said into stderr: "/root/soft/phpall/php-5.4.10/Zend/zend_alloc.c(2529) : Actual location (location was relayed)" [09-Jan-2013 16:40:10] WARNING: [pool www] child 2332 said into stderr: "Last leak repeated 10 times" [09-Jan-2013 16:40:10] WARNING: [pool www] child 2332 said into stderr: "[Wed Jan 9 16:40:10 2013] Script: '-'" [09-Jan-2013 16:40:10] WARNING: [pool www] child 2332 said into stderr: "/root/soft/phpall/php-5.4.10/Zend/zend_compile.c(3309) : Freeing 0x19C4DA08 (64 bytes), script=-" [09-Jan-2013 16:40:10] WARNING: [pool www] child 2332 said into stderr: "/root/soft/phpall/php-5.4.10/Zend/zend_hash.c(339) : Actual location (location was relayed)" [09-Jan-2013 16:40:10] WARNING: [pool www] child 2332 said into stderr: "Last leak repeated 21 times" [09-Jan-2013 16:40:10] WARNING: [pool www] child 2332 said into stderr: "=== Total 9240 memory leaks detected ===" -- Edit bug report at https://bugs.php.net/bug.php?id=63950&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=63950&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=63950&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=63950&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=63950&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=63950&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=63950&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=63950&r=needscript Try newer version: https://bugs.php.net/fix.php?id=63950&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=63950&r=support Expected behavior: https://bugs.php.net/fix.php?id=63950&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=63950&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=63950&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=63950&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=63950&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=63950&r=dst IIS Stability: https://bugs.php.net/fix.php?id=63950&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=63950&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=63950&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=63950&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=63950&r=mysqlcfg