Page 1 of 1

ZF1 + PHP 7.1 php-fpm segfault error

PostPosted: Wed Nov 01, 2017 10:30 am
by bohd9290
After installing PhP 7.1 I can't make ZF works correctly.

My environment:
Fedora 24 (or 26)
PHP: PHP 7.1.10 (cli) (built: Sep 27 2017 05:17:09) ( NTS )
PHP modules:
apcu
bz2
calendar
Core
ctype
curl
date
dom
exif
fileinfo
filter
ftp
gd
gettext
hash
iconv
igbinary
json
libxml
mcrypt
memcache
memcached
mongodb
msgpack
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_pgsql
pdo_sqlite
pgsql
Phar
posix
readline
Reflection
session
shmop
SimpleXML
sockets
SPL
sqlite3
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlwriter
xsl
zlib



Nov 01 11:10:46 dev abrt-notification[27088]: Process 10130 (php-fpm) crashed in zend_std_cast_object_tostring()
Nov 01 11:10:48 dev audit[26987]: ANOM_ABEND auid=4294967295 uid=48 gid=48 ses=4294967295 pid=26987 comm="php-fpm" exe="/usr/sbin/php-fpm" sig=11 res=1
Nov 01 11:10:48 dev kernel: php-fpm[26987]: segfault at 7ffdbaa72fe0 ip 000000d18bbabe3f sp 00007ffdbaa72fe0 error 6 in php-fpm[d18b96f000+3bd000]
Nov 01 11:10:48 dev systemd[1]: Started Process Core Dump (PID 27091/UID 0).
Nov 01 11:10:48 dev audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@13-27091-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 01 11:10:48 dev systemd-coredump[27092]: Process 26987 (php-fpm) of user 48 dumped core.

Stack trace of thread 26987:
#0 0x000000d18bbabe3f zend_call_function (php-fpm)
#1 0x000000d18bbdac6c zend_call_method (php-fpm)
#2 0x000000d18bbf71d3 zend_std_cast_object_tostring (php-fpm)
#3 0x000000d18bbb2f7e _zval_get_string_func (php-fpm)
#4 0x000000d18bc4c0d0 ZEND_CAST_SPEC_CV_HANDLER (php-fpm)
#5 0x000000d18bc0619b execute_ex (php-fpm)
#6 0x000000d18bbac586 zend_call_function (php-fpm)
#7 0x000000d18bbdac6c zend_call_method (php-fpm)
#8 0x000000d18bbf71d3 zend_std_cast_object_tostring (php-fpm)
#9 0x000000d18bbb2f7e _zval_get_string_func (php-fpm)
#10 0x000000d18bc4c0d0 ZEND_CAST_SPEC_CV_HANDLER (php-fpm)
#11 0x000000d18bc0619b execute_ex (php-fpm)
#12 0x000000d18bbac586 zend_call_function (php-fpm)
#13 0x000000d18bbdac6c zend_call_method (php-fpm)
#14 0x000000d18bbf71d3 zend_std_cast_object_tostring (php-fpm)
#15 0x000000d18bbb2f7e _zval_get_string_func (php-fpm)
#16 0x000000d18bc4c0d0 ZEND_CAST_SPEC_CV_HANDLER (php-fpm)
#17 0x000000d18bc0619b execute_ex (php-fpm)
#18 0x000000d18bbac586 zend_call_function (php-fpm)
#19 0x000000d18bbdac6c zend_call_method (php-fpm)
#20 0x000000d18bbf71d3 zend_std_cast_object_tostring (php-fpm)
#21 0x000000d18bbb2f7e _zval_get_string_func (php-fpm)
#22 0x000000d18bc4c0d0 ZEND_CAST_SPEC_CV_HANDLER (php-fpm)
#23 0x000000d18bc0619b execute_ex (php-fpm)
#24 0x000000d18bbac586 zend_call_function (php-fpm)
#25 0x000000d18bbdac6c zend_call_method (php-fpm)
#26 0x000000d18bbf71d3 zend_std_cast_object_tostring (php-fpm)
#27 0x000000d18bbb2f7e _zval_get_string_func (php-fpm)
#28 0x000000d18bc4c0d0 ZEND_CAST_SPEC_CV_HANDLER (php-fpm)
#29 0x000000d18bc0619b execute_ex (php-fpm)
#30 0x000000d18bbac586 zend_call_function (php-fpm)
#31 0x000000d18bbdac6c zend_call_method (php-fpm)
#32 0x000000d18bbf71d3 zend_std_cast_object_tostring (php-fpm)
#33 0x000000d18bbb2f7e _zval_get_string_func (php-fpm)
#34 0x000000d18bc4c0d0 ZEND_CAST_SPEC_CV_HANDLER (php-fpm)
#35 0x000000d18bc0619b execute_ex (php-fpm)
#36 0x000000d18bbac586 zend_call_function (php-fpm)
#37 0x000000d18bbdac6c zend_call_method (php-fpm)
#38 0x000000d18bbf71d3 zend_std_cast_object_tostring (php-fpm)
#39 0x000000d18bbb2f7e _zval_get_string_func (php-fpm)
#40 0x000000d18bc4c0d0 ZEND_CAST_SPEC_CV_HANDLER (php-fpm)
#41 0x000000d18bc0619b execute_ex (php-fpm)
#42 0x000000d18bbac586 zend_call_function (php-fpm)
#43 0x000000d18bbdac6c zend_call_method (php-fpm)
#44 0x000000d18bbf71d3 zend_std_cast_object_tostring (php-fpm)
#45 0x000000d18bbb2f7e _zval_get_string_func (php-fpm)
#46 0x000000d18bc4c0d0 ZEND_CAST_SPEC_CV_HANDLER (php-fpm)
#47 0x000000d18bc0619b execute_ex (php-fpm)
#48 0x000000d18bbac586 zend_call_function (php-fpm)
#49 0x000000d18bbdac6c zend_call_method (php-fpm)
#50 0x000000d18bbf71d3 zend_std_cast_object_tostring (php-fpm)
#51 0x000000d18bbb2f7e _zval_get_string_func (php-fpm)
#52 0x000000d18bc4c0d0 ZEND_CAST_SPEC_CV_HANDLER (php-fpm)
#53 0x000000d18bc0619b execute_ex (php-fpm)
#54 0x000000d18bbac586 zend_call_function (php-fpm)
#55 0x000000d18bbdac6c zend_call_method (php-fpm)
#56 0x000000d18bbf71d3 zend_std_cast_object_tostring (php-fpm)
#57 0x000000d18bbb2f7e _zval_get_string_func (php-fpm)
#58 0x000000d18bc4c0d0 ZEND_CAST_SPEC_CV_HANDLER (php-fpm)
#59 0x000000d18bc0619b execute_ex (php-fpm)
#60 0x000000d18bbac586 zend_call_function (php-fpm)
#61 0x000000d18bbdac6c zend_call_method (php-fpm)
#62 0x000000d18bbf71d3 zend_std_cast_object_tostring (php-fpm)
#63 0x000000d18bbb2f7e _zval_get_string_func (php-fpm)
Nov 01 11:10:48 dev audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@13-27091-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 01 11:11:03 dev abrt-server[27099]: Deleting problem directory ccpp-2017-11-01-11:10:49.24026-26987 (dup of ccpp-2017-10-27-14:21:56.190318-10130)
Nov 01 11:11:03 dev abrt-notification[27142]: Process 10130 (php-fpm) crashed in zend_std_cast_object_tostring()