Edit report at https://bugs.php.net/bug.php?id=60935&edit=1

 ID:               60935
 Updated by:       php-bugs@lists.php.net
 Reported by:      vytenis dot darulis at gmail dot com
 Summary:          Constant memory leaking, segfaults
-Status:           Feedback
+Status:           No Feedback
 Type:             Bug
 Package:          Reproducible crash
 Operating System: Debian testing (kern. 3.2.2)
 PHP Version:      5.3.9

 New Comment:

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


Previous Comments:
------------------------------------------------------------------------
[2012-01-31 13:15:53] paj...@php.net

zend_mm_shutdown_canary is not something we have in PHP.

Please try using a stock PHP versions, available at 
http://www.php.net/downloads.php.

------------------------------------------------------------------------
[2012-01-31 11:47:50] vytenis dot darulis at gmail dot com

Unable to replicate segfault with the debug build, only gigabytes of memory 
leak 
reports in logs.

------------------------------------------------------------------------
[2012-01-31 07:27:25] vytenis dot darulis at gmail dot com

Now using vanilla PHP-FPM, still waiting for a core dump but error log is 
filled 
with:

[31-Jan-2012 09:20:03] WARNING: [pool www] child 10623 said into stderr: "=== 
Total 435 memory leaks detected ==="
[31-Jan-2012 09:20:03] WARNING: [pool www] child 11098 said into stderr: "[Tue 
Jan 31 09:20:03 2012]  Script:  '-'"
[31-Jan-2012 09:20:03] WARNING: [pool www] child 11098 said into stderr: 
"/home/vd/php_exts/apc/APC-3.1.9/apc_zend.c(38) :  Freeing 0x019D3F78 (4 
bytes), 
script=-"
[31-Jan-2012 09:20:03] WARNING: [pool www] child 11098 said into stderr: "Last 
leak repeated 323 times"
[31-Jan-2012 09:20:03] WARNING: [pool www] child 11098 said into stderr: "[Tue 
Jan 31 09:20:03 2012]  Script:  '-'"
[31-Jan-2012 09:20:03] WARNING: [pool www] child 11098 said into stderr: 
"/usr/src/php-5.3.9/Zend/zend_hash.c(315) :  Freeing 0x019D7590 (76 bytes), 
script=-"
[31-Jan-2012 09:20:03] WARNING: [pool www] child 11098 said into stderr: "Last 
leak repeated 1 time"
[31-Jan-2012 09:20:03] WARNING: [pool www] child 11098 said into stderr: "[Tue 
Jan 31 09:20:03 2012]  Script:  '-'"
[31-Jan-2012 09:20:03] WARNING: [pool www] child 11098 said into stderr: 
"/home/vd/php_exts/apc/APC-3.1.9/apc_compile.c(1657) :  Freeing 0x019DAB78 (232 
bytes), script=-"
[31-Jan-2012 09:20:03] WARNING: [pool www] child 11098 said into stderr: "Last 
leak repeated 67 times"
[31-Jan-2012 09:20:03] WARNING: [pool www] child 11098 said into stderr: "[Tue 
Jan 31 09:20:03 2012]  Script:  '-'"
[31-Jan-2012 09:20:03] WARNING: [pool www] child 11098 said into stderr: 
"/usr/src/php-5.3.9/Zend/zend_hash.c(851) :  Freeing 0x019DCF68 (232 bytes), 
script=-"
[31-Jan-2012 09:20:03] WARNING: [pool www] child 11098 said into stderr: 
"/usr/src/php-5.3.9/Zend/zend_hash.c(322) : Actual location (location was 
relayed)"
[31-Jan-2012 09:20:03] WARNING: [pool www] child 11098 said into stderr: "Last 
leak repeated 1 time"
[31-Jan-2012 09:20:03] WARNING: [pool www] child 11098 said into stderr: "=== 
Total 396 memory leaks detected ==="


Configure line:
'./configure' '--build=x86_64-linux-gnu' '--prefix=/usr/local' '--enable-fpm' '-
-disable-cgi' '--with-fpm-user=www-data' '--with-fpm-group=www-data' '--with-
config-file-path=/etc/php5/fpm' '--with-config-file-scan-
dir=/etc/php5/fpm/conf.d' '--host=x86_64-linux-gnu' '--sysconfdir=/etc' '--
localstatedir=/var' '--mandir=/usr/share/man' '--enable-debug' '--with-
regex=php' '--with-gd' '--enable-gd-native-ttf' '--disable-rpath' '--disable-
static' '--with-pic' '--with-layout=GNU' '--with-pear=/usr/local/share/php' '--
enable-fileinfo' '--enable-hash' '--enable-json' '--with-bz2' '--enable-ctype' 
'--without-db4' '--without-gdbm' '--with-iconv' '--enable-mbstring' '--with-
onig' '--with-pcre-regex' '--with-mysql-sock=/var/run/mysqld/mysqld.sock' '--
with-mysqli=shared' '--enable-pdo=shared' '--with-pdo-mysql=shared' '--without-
pdo-sqlite' '--enable-sockets' '--with-zlib' '--enable-zip' '--with-mhash=yes' 
'--without-mm' '--without-sybase-ct' '--without-mssql' '--without-sqlite3' '--
without-sqlite' '--with-curl=/usr' '--with-mcrypt' '--disable-calendar' '--
disable-phar' '--disable-tokenizer' '--disable-posix' '--enable-simplexml' '--
disable-dom' '--with-png-dir=/usr/lib/x86_64-linux-gnu/' '--with-jpeg-
dir=/usr/lib/x86_64-linux-gnu/' '--with-freetype-dir' '--with-t1lib'



php.ini:

apc.serializer  igbinary
apc.shm_size    900M    
apc.stat        Off     
apc.include_once_override       Off
apc.canonicalize        Off

------------------------------------------------------------------------
[2012-01-30 20:43:02] vytenis dot darulis at gmail dot com

I could easily compile it from source w/o suhosin, but is there an easy way to 
make PHP generate core dumps when using the fast-cgi version?

------------------------------------------------------------------------
[2012-01-30 20:38:33] fel...@php.net

Please, try disabling suhosin.

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=60935


-- 
Edit this bug report at https://bugs.php.net/bug.php?id=60935&edit=1

Reply via email to