Topic: php73-php-fpm.service fatal signal after installing php73-php-opcache

Dear all,
I run a system with CentOS 7, 64-bit, daily updated - currently with
- kernel 3.10.0-957.10.1.el7.x86_64
- apache httpd-2.4.6-88
+ some PHP paralel instances
- php70-php-7.0.33-7.el7.remi.x86_64
- php73-php-7.3.4-1.el7.remi.x86_64

I have recently migrated web sites form PHP 7.0 to PHP 7.3 and i get a problem with service php73-php-fpm. When I install the php73-php-opcache pacjet ans restart the service I get the "fatal signal".
With PHP 7.0 I get no problem with php70-php-opcache.

I get the same problem every time. Below are the outputs from commands (sorry but the <code> tags do not work for me in this forum):

--------------------------------------------------------------
#yum install php73-php-opcache


--------------------------------------------------------------
#systemctl restart php73-php-fpm
Job for php73-php-fpm.service failed because a fatal signal was delivered causing the control process to dump core. See "systemctl status php73-php-fpm.service" and "journalctl -xe" for details.


--------------------------------------------------------------
#status php73-php-fpm.service
php73-php-fpm.service - The PHP FastCGI Process Manager
   Loaded: loaded (/usr/lib/systemd/system/php73-php-fpm.service; enabled; vendor preset: disabled)
   Active: failed (Result: core-dump) since ned 2019-04-14 18:15:28 CEST; 1min 6s ago
  Process: 29651 ExecStart=/opt/remi/php73/root/usr/sbin/php-fpm --nodaemonize (code=dumped, signal=SEGV)
Main PID: 29651 (code=dumped, signal=SEGV)

apr 14 18:15:28 centos7 systemd[1]: Starting The PHP FastCGI Process Manager...
apr 14 18:15:28 centos7 systemd[1]: php73-php-fpm.service: main process exited, code=dumped, status=11/SEGV
apr 14 18:15:28 centos7 systemd[1]: Failed to start The PHP FastCGI Process Manager.
apr 14 18:15:28 centos7 systemd[1]: Unit php73-php-fpm.service entered failed state.
apr 14 18:15:28 centos7 systemd[1]: php73-php-fpm.service failed.




--------------------------------------------------------------
#journalctl -xe
apr 14 18:15:09 centos7 yum[29526]: Installed: php73-php-opcache-7.3.4-1.el7.remi.x86_64
apr 14 18:15:27 centos7 polkitd[4636]: Registered Authentication Agent for unix-process:29631:63565977 (system bus name :1.4022 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/Policy
apr 14 18:15:27 centos7 systemd[1]: Stopping The PHP FastCGI Process Manager...
-- Subject: Unit php73-php-fpm.service has begun shutting down
-- Defined-By: systemd
-- Support:
--
-- Unit php73-php-fpm.service has begun shutting down.
apr 14 18:15:27 centos7 kernel: php-fpm[11098]: segfault at ffffff000000000c ip 000055793bb4511a sp 00007fff29708590 error 5 in php-fpm[55793b871000+45f000]
apr 14 18:15:27 centos7 abrt-hook-ccpp[29640]: Process 11098 (php-fpm) of user 0 killed by SIGSEGV - dumping core
apr 14 18:15:28 centos7 systemd[1]: php73-php-fpm.service: main process exited, code=dumped, status=11/SEGV
apr 14 18:15:28 centos7 systemd[1]: Stopped The PHP FastCGI Process Manager.
-- Subject: Unit php73-php-fpm.service has finished shutting down
-- Defined-By: systemd
-- Support:
--
-- Unit php73-php-fpm.service has finished shutting down.
apr 14 18:15:28 centos7 systemd[1]: Unit php73-php-fpm.service entered failed state.
apr 14 18:15:28 centos7 systemd[1]: php73-php-fpm.service failed.
apr 14 18:15:28 centos7 systemd[1]: Starting The PHP FastCGI Process Manager...
-- Subject: Unit php73-php-fpm.service has begun start-up
-- Defined-By: systemd
-- Support:
--
-- Unit php73-php-fpm.service has begun starting up.
apr 14 18:15:28 centos7 abrt-server[29645]: Duplicate: core backtrace
apr 14 18:15:28 centos7 abrt-server[29645]: DUP_OF_DIR: /var/spool/abrt/ccpp-2019-04-14-14:48:44-24597
apr 14 18:15:28 centos7 abrt-server[29645]: Deleting problem directory ccpp-2019-04-14-18:15:27-11098 (dup of ccpp-2019-04-14-14:48:44-24597)
apr 14 18:15:28 centos7 dbus[4577]: [system] Activating service name='org.freedesktop.problems' (using servicehelper)
apr 14 18:15:28 centos7 dbus[4577]: [system] Successfully activated service 'org.freedesktop.problems'
apr 14 18:15:28 centos7 kernel: php-fpm[29651]: segfault at ffffff0000000010 ip 00007fdea2c155e8 sp 00007ffe5f6504d0 error 5 in opcache.so[7fdea2c06000+72000]
apr 14 18:15:28 centos7 abrt-hook-ccpp[29661]: Process 29651 (php-fpm) of user 0 killed by SIGSEGV - ignoring (repeated crash)
apr 14 18:15:28 centos7 systemd[1]: php73-php-fpm.service: main process exited, code=dumped, status=11/SEGV
apr 14 18:15:28 centos7 systemd[1]: Failed to start The PHP FastCGI Process Manager.
-- Subject: Unit php73-php-fpm.service has failed
-- Defined-By: systemd
-- Support:
--
-- Unit php73-php-fpm.service has failed.
--
-- The result is failed.
apr 14 18:15:28 centos7 systemd[1]: Unit php73-php-fpm.service entered failed state.
apr 14 18:15:28 centos7 systemd[1]: php73-php-fpm.service failed.
--------------------------------------------------------------


As soon as I remove the php73-php-opcache and restart the php73-php-fpm it starts to work immediately without any problem.


Could somebody help me with this problem?

Best regards

Re: php73-php-fpm.service fatal signal after installing php73-php-opcache

Can you provide a GDB backtrace ?

I suspect a conflict between 2 extensions, please give list

rpm -qa php73\* | sort
php --modules

Desktop: Fedora 29 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 28 x86_64 + rpmfusion + remi (SCL only)
Hosting Server: CentOS 6.10 x86_64 with EPEL, remi, remi-php72 and remi-php72-test

Re: php73-php-fpm.service fatal signal after installing php73-php-opcache

Hi,sorry for late response.
> Can you provide a GDB backtrace ?
I have to figure out how to do this...

Command lists:
------------------------------------------------------------------------------
rpm -qa php73\* | sort
php73-2.0-1.el7.remi.x86_64
php73-php-7.3.4-1.el7.remi.x86_64
php73-php-ast-1.0.1-1.el7.remi.x86_64
php73-php-bcmath-7.3.4-1.el7.remi.x86_64
php73-php-brotli-0.6.2-1.el7.remi.x86_64
php73-php-cli-7.3.4-1.el7.remi.x86_64
php73-php-common-7.3.4-1.el7.remi.x86_64
php73-php-componere-3.0.0-1.el7.remi.x86_64
php73-php-dba-7.3.4-1.el7.remi.x86_64
php73-php-dbg-7.3.4-1.el7.remi.x86_64
php73-php-embedded-7.3.4-1.el7.remi.x86_64
php73-php-enchant-7.3.4-1.el7.remi.x86_64
php73-php-fpm-7.3.4-1.el7.remi.x86_64
php73-php-gd-7.3.4-1.el7.remi.x86_64
php73-php-geos-1.0.0-11.el7.remi.x86_64
php73-php-gmp-7.3.4-1.el7.remi.x86_64
php73-php-imap-7.3.4-1.el7.remi.x86_64
php73-php-interbase-7.3.4-1.el7.remi.x86_64
php73-php-intl-7.3.4-1.el7.remi.x86_64
php73-php-ioncube-loader-10.3.4-1.el7.remi.x86_64
php73-php-json-7.3.4-1.el7.remi.x86_64
php73-php-ldap-7.3.4-1.el7.remi.x86_64
php73-php-libvirt-0.5.4-3.el7.remi.x86_64
php73-php-litespeed-7.3.4-1.el7.remi.x86_64
php73-php-lz4-0.3.4-3.el7.remi.x86_64
php73-php-maxminddb-1.4.1-1.el7.remi.x86_64
php73-php-mbstring-7.3.4-1.el7.remi.x86_64
php73-php-mysqlnd-7.3.4-1.el7.remi.x86_64
php73-php-odbc-7.3.4-1.el7.remi.x86_64
php73-php-pdo-7.3.4-1.el7.remi.x86_64
php73-php-pdo-dblib-7.3.4-1.el7.remi.x86_64
php73-php-pear-1.10.9-2.el7.remi.noarch
php73-php-pecl-ahocorasick-0.0.6-1.el7.remi.x86_64
php73-php-pecl-amqp-1.9.4-6.el7.remi.x86_64
php73-php-pecl-apcu-5.1.17-1.el7.remi.x86_64
php73-php-pecl-apcu-bc-1.0.5-1.el7.remi.x86_64
php73-php-pecl-apfd-1.0.1-12.el7.remi.x86_64
php73-php-pecl-bitset-3.0.1-3.el7.remi.x86_64
php73-php-pecl-cassandra-1.3.2-4.el7.remi.x86_64
php73-php-pecl-cmark-1.1.0-3.el7.remi.x86_64
php73-php-pecl-couchbase2-2.6.0-1.el7.remi.x86_64
php73-php-pecl-crypto-0.3.1-5.el7.remi.x86_64
php73-php-pecl-datadog-trace-0.19.0-1.el7.remi.x86_64
php73-php-pecl-dbase-7.0.0-0.7.RC1.el7.remi.x86_64
php73-php-pecl-decimal-1.3.0-1.el7.remi.x86_64
php73-php-pecl-dio-0.1.0-6.el7.remi.x86_64
php73-php-pecl-geoip-1.1.1-6.el7.remi.x86_64
php73-php-pecl-geospatial-0.2.1-1.el7.remi.x86_64
php73-php-pecl-gnupg-1.4.0-6.el7.remi.x86_64
php73-php-pecl-grpc-1.19.0-1.el7.remi.x86_64
php73-php-pecl-handlebars-0.8.3-1.el7.remi.x86_64
php73-php-pecl-hdr-histogram-0.3.0-7.el7.remi.x86_64
php73-php-pecl-hprose-1.6.6-5.el7.remi.x86_64
php73-php-pecl-hrtime-0.6.0-5.el7.remi.x86_64
php73-php-pecl-http-3.2.0-4.el7.remi.x86_64
php73-php-pecl-igbinary-3.0.1-1.el7.remi.x86_64
php73-php-pecl-imagick-3.4.3-13.el7.remi.x86_64
php73-php-pecl-inotify-2.0.0-8.el7.remi.x86_64
php73-php-pecl-ip2location-8.0.1-3.el7.remi.x86_64
php73-php-pecl-json-post-1.0.1-11.el7.remi.x86_64
php73-php-pecl-krb5-1.1.2-6.el7.remi.x86_64
php73-php-pecl-leveldb-0.2.1-4.el7.remi.x86_64
php73-php-pecl-lua-2.0.6-1.el7.remi.x86_64
php73-php-pecl-lzf-1.6.7-1.el7.remi.x86_64
php73-php-pecl-mailparse-3.0.3-1.el7.remi.x86_64
php73-php-pecl-mcrypt-1.0.2-1.el7.remi.x86_64
php73-php-pecl-memprof-2.0.0-5.el7.remi.x86_64
php73-php-pecl-mogilefs-0.9.3.1-8.el7.remi.x86_64
php73-php-pecl-molten-0.1.2~beta-5.el7.remi.x86_64
php73-php-pecl-mongodb-1.5.3-3.el7.remi.x86_64
php73-php-pecl-mosquitto-0.4.0-6.el7.remi.x86_64
php73-php-pecl-msgpack-2.0.3-1.el7.remi.x86_64
php73-php-pecl-mustache-0.8.1-1.el7.remi.x86_64
php73-php-pecl-mysql-1.0.0-0.20.20180226.647c933.el7.remi.x86_64
php73-php-pecl-nsq-3.4.0-1.el7.remi.x86_64
php73-php-pecl-oauth-2.0.3-1.el7.remi.x86_64
php73-php-pecl-opencensus-0.2.2-3.el7.remi.x86_64
php73-php-pecl-parle-0.8.1-4.el7.remi.x86_64
php73-php-pecl-pdflib-4.1.2-3.el7.remi.x86_64
php73-php-pecl-pq-2.1.5-1.el7.remi.x86_64
php73-php-pecl-propro-2.1.0-3.el7.remi.x86_64
php73-php-pecl-psr-0.6.1-1.el7.remi.x86_64
php73-php-pecl-radius-1.4.0-0.6.b1.el7.remi.x86_64
php73-php-pecl-raphf-2.0.0-7.el7.remi.x86_64
php73-php-pecl-rar-4.0.0-4.el7.remi.x86_64
php73-php-pecl-rdkafka-3.0.5-3.el7.remi.x86_64
php73-php-pecl-redis4-4.3.0-1.el7.remi.x86_64
php73-php-pecl-rpminfo-0.2.1-3.el7.remi.x86_64
php73-php-pecl-rrd-2.0.1-6.el7.remi.x86_64
php73-php-pecl-scrypt-1.4.2-6.el7.remi.x86_64
php73-php-pecl-seaslog-2.0.2-1.el7.remi.x86_64
php73-php-pecl-selinux-0.4.2-1.el7.remi.x86_64
php73-php-pecl-solr2-2.4.0-11.el7.remi.x86_64
php73-php-pecl-sphinx-1.4.0-0.6.20181116.d958afb.el7.remi.x86_64
php73-php-pecl-ssdeep-1.1.0-4.el7.remi.x86_64
php73-php-pecl-ssh2-1.1.2-4.el7.remi.x86_64
php73-php-pecl-stats-2.0.3-6.el7.remi.x86_64
php73-php-pecl-stomp-2.0.2-3.el7.remi.x86_64
php73-php-pecl-sync-1.1.1-5.el7.remi.x86_64
php73-php-pecl-taint-2.0.5-1.el7.remi.x86_64
php73-php-pecl-tcpwrap-1.2.0-5.el7.remi.x86_64
php73-php-pecl-termbox-0.1.3-7.el7.remi.x86_64
php73-php-pecl-timecop-1.2.10-3.el7.remi.x86_64
php73-php-pecl-trace-1.0.1-0.5.beta.el7.remi.x86_64
php73-php-pecl-uuid-1.0.4-14.el7.remi.x86_64
php73-php-pecl-uv-0.2.2-5.el7.remi.x86_64
php73-php-pecl-varnish-1.2.4-3.el7.remi.x86_64
php73-php-pecl-vips-1.0.9-1.el7.remi.x86_64
php73-php-pecl-vld-0.15.0-1.el7.remi.x86_64
php73-php-pecl-xattr-1.3.0-7.el7.remi.x86_64
php73-php-pecl-xdebug-2.7.1-1.el7.remi.x86_64
php73-php-pecl-xdiff-2.0.1-5.el7.remi.x86_64
php73-php-pecl-xlswriter-1.2.3-1.el7.remi.x86_64
php73-php-pecl-xmldiff-1.1.2-13.el7.remi.x86_64
php73-php-pecl-yac-2.0.2-4.el7.remi.x86_64
php73-php-pecl-yaconf-1.0.8-0.3.20180622.d5f267a.el7.remi.x86_64
php73-php-pecl-yaf-3.0.8-1.el7.remi.x86_64
php73-php-pecl-yaml-2.0.4-1.el7.remi.x86_64
php73-php-pecl-yar-2.0.5-1.el7.remi.x86_64
php73-php-pecl-yaz-1.2.3-1.el7.remi.x86_64
php73-php-pecl-zip-1.15.4-1.el7.remi.x86_64
php73-php-pecl-zmq-1.1.3-8.el7.remi.x86_64
php73-php-pggi-0.3.0-4.el7.remi.x86_64
php73-php-process-7.3.4-1.el7.remi.x86_64
php73-php-pspell-7.3.4-1.el7.remi.x86_64
php73-php-recode-7.3.4-1.el7.remi.x86_64
php73-php-smbclient-1.0.0-1.el7.remi.x86_64
php73-php-snappy-0.1.9-3.el7.remi.x86_64
php73-php-snmp-7.3.4-1.el7.remi.x86_64
php73-php-soap-7.3.4-1.el7.remi.x86_64
php73-php-sodium-7.3.4-1.el7.remi.x86_64
php73-php-tidy-7.3.4-1.el7.remi.x86_64
php73-php-xml-7.3.4-1.el7.remi.x86_64
php73-php-xmlrpc-7.3.4-1.el7.remi.x86_64
php73-php-zephir-parser-1.2.0-1.el7.remi.x86_64
php73-php-zstd-0.6.1-1.el7.remi.x86_64
php73-runtime-2.0-1.el7.remi.x86_64

------------------------------------------------------------------------------
php --modules
[PHP Modules]
bcmath
bz2
calendar
Core
ctype
curl
date
dba
dom
enchant
ereg
exif
fileinfo
filter
ftp
gd
geoip
gettext
gmp
hash
horde_lz4
iconv
imap
intl
json
ldap
libxml
lzf
mbstring
mcrypt
memcache
mhash
mongo
mysql
mysqli
odbc
openssl
pcntl
pcre
PDO
pdo_mysql
PDO_ODBC
pdo_sqlite
Phar
posix
pspell
readline
recode
Reflection
session
shmop
SimpleXML
snmp
soap
sockets
SPL
sqlite3
ssh2
standard
sysvmsg
sysvsem
sysvshm
tidy
tokenizer
wddx
xml
xmlreader
xmlrpc
xmlwriter
xsl
zip
zlib

[Zend Modules]
-------------------------------------------------

Best regards

Re: php73-php-fpm.service fatal signal after installing php73-php-opcache

You obviously don't want all these modules...

Please only install extension you need.

So probably a conflict between some extension and opcache
Need to try by disabling one by one

Desktop: Fedora 29 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 28 x86_64 + rpmfusion + remi (SCL only)
Hosting Server: CentOS 6.10 x86_64 with EPEL, remi, remi-php72 and remi-php72-test