php5-fpm segfault

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello. I'm getting problem.

OS: Ububtu Server 2.6.38-8-server
PHP: PHP 5.3.5-1ubuntu7.2 with Suhosin-Patch
Work over fastcgi (fpm) with cherokee web server.

PHP fall often with such messages in syslog:
Sep 28 11:01:25 userver kernel: [278665.292418] php5-fpm[31892]:
segfault at 80001000321 ip 000000000069f427 sp 00007fffddf571b0 error
4 in php5-fpm[400000+755000]

I took core dump and gdb it:

root@userver:~# gdb /usr/sbin/php5-fpm /tmp/core-php5-fpm.8289
... gnu gpl banner omitted...
Reading symbols from /usr/sbin/php5-fpm...Reading symbols from
/usr/lib/debug/usr/sbin/php5-fpm...done.
done.
[New Thread 8289]

warning: Can't read pathname for load map: Input/output error.
Reading symbols from /lib/x86_64-linux-gnu/libcrypt.so.1...(no
debugging symbols found)...done.
... a lot of loading symbols messages omitted ...

Core was generated by `php-fpm: pool www                                      '.
Program terminated with signal 11, Segmentation fault.
#0  zend_hash_destroy (ht=0x80001000301) at
/build/buildd/php5-5.3.5/Zend/zend_hash.c:723
723             HASH_PROTECT_RECURSION(ht);
(gdb) bt
#0  zend_hash_destroy (ht=0x80001000301) at
/build/buildd/php5-5.3.5/Zend/zend_hash.c:723
#1  0x00000000007293c1 in fcgi_close (req=0x7fff6a7783e0, force=0, destroy=1)
    at /build/buildd/php5-5.3.5/sapi/fpm/fpm/fastcgi.c:675
#2  0x0000000000729d3d in fcgi_finish_request (req=0x7fff6a7783e0,
force_close=0)
    at /build/buildd/php5-5.3.5/sapi/fpm/fpm/fastcgi.c:1000
#3  0x000000000072f036 in sapi_cgi_deactivate () at
/build/buildd/php5-5.3.5/sapi/fpm/fpm/fpm_main.c:886
#4  0x00000000006477ed in sapi_deactivate () at
/build/buildd/php5-5.3.5/main/SAPI.c:444
#5  0x000000000063efe5 in php_request_shutdown (dummy=0x80001000301)
at /build/buildd/php5-5.3.5/main/main.c:1658
#6  0x0000000000730642 in main (argc=46077184, argv=0xdddb60) at
/build/buildd/php5-5.3.5/sapi/fpm/fpm/fpm_main.c:1902
(gdb) print ht
$1 = (HashTable *) 0x80001000301
(gdb) print *ht
Cannot access memory at address 0x80001000301

Please, tell what the problem is? How to find out which script causing
this problem? Or this is not scripting problem?
Yes, this is not latest php version and there are some problems with update.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux