PHP-FPM: SIGSEGV during Exception generation
| From: | B. R. | Date: | Tue, 31 Mar 2015 13:38:02 +0000 |
| Subject: | PHP-FPM: SIGSEGV during Exception generation | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-324744@lists.php.net to get a copy of this message | ||
Hello,
We are experiencing SIGSEGV with PHP-FPM (v5.4 from Red Hat Software
Collections).
Here are the details:
$ cat /etc/centos-release
CentOS release 6.6 (Final)
$ php-fpm -v
PHP 5.4.16 (fpm-fcgi) (built: Nov 19 2014 10:23:12)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
$ gdb coredump
[...]
Program terminated with signal 11, Segmentation fault.
#0 0x00000000006523d1 in
ZEND_INIT_STATIC_METHOD_CALL_SPEC_CONST_CONST_HANDLER
(execute_data=0x7f28c58e8c50)
at /usr/src/debug/php-5.4.16/Zend/zend_vm_execute.h:3510
3510 zend_error_noreturn(E_ERROR,
"Non-static method %s::%s() cannot be called statically, assuming $this
from incompatible context", EX(fbc)->common.scope->name,
EX(fbc)->common.function_name);
Missing separate debuginfos, use: debuginfo-install
libidn-1.18-2.el6.x86_64 libmcrypt-2.5.8-9.el6.x86_64
bt full is of no use for use. Do you wish to have it?
Using .gdbinit for v5.4.16 from php-src GitHub repository, I found where
the error is generated, and it is indeed a static call to a method (which
might not be statically defined).
No information there: code error, that is right, but no reason for any
segmentation fault to occur.
I know v5.4.16 is far from being the latest version of the branch,
however, it is being used as shipped by a stable distro, thus believed to
be... stable.
Any idea how to solve the problem?
Thanks,
---
*B. R.*