Bug #80154 [NEW]: php-fpm segfaults for an unknown reason
| From: | sriccio at swisccenter dot com | Date: | Sun, 27 Sep 2020 08:28:54 +0000 |
| Subject: | Bug #80154 [NEW]: php-fpm segfaults for an unknown reason | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-229231@lists.php.net to get a copy of this message | ||
From: sriccio at swisccenter dot com
Operating system: Centos 8
PHP version: 7.4.10
Package: opcache
Bug Type: Bug
Bug description:php-fpm segfaults for an unknown reason
Description:
------------
On our shared hosting servers, sometime (often) there php-fpm segfaults
for an unknown reason.
However we suspect it might be related to opcache, as if we disable it
for certain sites, it seems these aren't segfaulting anymore.
Packages we are using are Remi's php74-php-fpm-7.4.10-1.el8.x86_64$
opcache config in pools
php_admin_value[opcache.file_cache_only] = 1
php_admin_value[opcache.file_cache] = "/home/xyz/.data/opcache/"
php_admin_value[opcache.max_accelerated_files] = 10000
php_admin_value[opcache.memory_consumption] = 128
Expected result:
----------------
No segfault happening
Actual result:
--------------
[root@web21 ~]# coredumpctl info 1817197
PID: 1817197 (php-fpm)
UID: 1098 (xyz)
GID: 1100 (xyz)
Signal: 11 (SEGV)
Timestamp: Sun 2020-09-27 09:56:25 CEST (16min ago)
Command Line: php74-fpm: pool xyz
Executable: /opt/remi/php74/root/usr/sbin/php-fpm
Control Group: /system.slice/php74-php-fpm.service
Unit: php74-php-fpm.service
Slice: system.slice
Boot ID: 504629e6e9164777bb74535d8219c1ee
Machine ID: 06e6f1ebaaae4c8aa0611d132201376a
Hostname: web21
Storage:
/var/lib/systemd/coredump/core.php-fpm.1098.504629e6e9164777bb74535d8219c1ee.1817197.1601193385000000.lz4
Message: Process 1817197 (php-fpm) of user 1098 dumped core.
Stack trace of thread 1817197:
#0 0x000055f36a078540
ZEND_BIND_STATIC_SPEC_CV_UNUSED_HANDLER (php-fpm)
#1 0x000055f36a0afe32 execute_ex (php-fpm)
#2 0x000055f36a0b9661 zend_execute (php-fpm)
#3 0x000055f36a0308fb zend_execute_scripts (php-fpm)
#4 0x000055f369fcdc38 php_execute_script (php-fpm)
#5 0x000055f369e9b850 main (php-fpm)
#6 0x00007fb9677e26a3 __libc_start_main (libc.so.6)
#7 0x000055f369e9c6be _start (php-fpm)
--
Edit bug report at https://bugs.php.net/bug.php?id=80154&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=80154&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=80154&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=80154&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=80154&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=80154&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=80154&r=support
Expected behavior: https://bugs.php.net/fix.php?id=80154&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=80154&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=80154&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=80154&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=80154&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=80154&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=80154&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=80154&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=80154&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=80154&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=80154&r=mysqlcfg