Bug #63950 [Opn->Fbk]: Lot's of memory leaks detected
Edit report at https://bugs.php.net/bug.php?id=63950&edit=1
ID: 63950
Updated by: pajoye@php.net
Reported by: hufeng1987 at gmail dot com
Summary: Lot's of memory leaks detected
-Status: Open
+Status: Feedback
Type: Bug
Package: FPM related
Operating System: CentOS 5.8
PHP Version: 5.4.10
Block user comment: N
Private report: N
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 the script requires a
database to demonstrate the issue, please make sure it creates
all necessary tables, stored procedures etc.
Please avoid embedding huge scripts into the report.
Previous Comments:
------------------------------------------------------------------------
[2013-01-09 08:43:03] hufeng1987 at gmail dot com
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 this bug report at https://bugs.php.net/bug.php?id=63950&edit=1
Thread (13 messages)
- hufeng1987 at gmail dot com
- pajoye@php.netBug #63950 [Opn->Fbk]: Lot's of memory leaks detected
- hufeng1987 at gmail dot comBug #63950 [Com]: Lot's of memory leaks detected
- pajoye@php.netBug #63950 [Fbk]: Lot's of memory leaks detected
- hufeng1987 at gmail dot comBug #63950 [Com]: Lot's of memory leaks detected
- rasmus@php.netBug #63950 [Fbk]: Lot's of memory leaks detected
- hufeng1987 at gmail dot comBug #63950 [Com]: Lot's of memory leaks detected
- laruence@php.netBug #63950 [Fbk]: Lot's of memory leaks detected
- hufeng1987 at gmail dot comBug #63950 [Fbk->Opn]: Lot's of memory leaks detected
- laruence@php.netBug #63950 [Opn]: Lot's of memory leaks detected
- pajoye@php.netBug #63950 [Opn->Fbk]: Lot's of memory leaks detected
- hufeng1987 at gmail dot comBug #63950 [Com]: Lot's of memory leaks detected
- hufeng1987 at gmail dot comBug #63950 [Com]: Lot's of memory leaks detected