Bug 2091404

Summary: Process 41581 (php-fpm) crashed in zend_accel_inheritance_cache_get()
Product: [Fedora] Fedora Reporter: Woti <tino.wolf.1980>
Component: phpAssignee: Remi Collet <fedora>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 36CC: fedora, jorton
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: php-8.1.7-1.fc36 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-06-17 01:13:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Woti 2022-05-29 15:02:56 UTC
Description of problem:
After updating from php 8.1.4 to 8.1.6 is php-fpm crashing when using Nextcloud 24 and followed by the message "503 Service unavailable". 
I don't know if this is Nextcloud related. But downgrading back to php 8.1.4 the issue disappears and Nextcloud 24 is just working fine again. 

Version-Release number of selected component (if applicable):
php 8.1.6-1.fc36
php-bcmath 8.1.6-1.fc36
php-cli 8.1.6-1.fc36
php-common 8.1.6-1.fc36
php-fpm 8.1.6-1.fc36
php-gd 8.1.6-1.fc36
php-gmp 8.1.6-1.fc36
php-intl 8.1.6-1.fc36
php-ldap 8.1.6-1.fc36
php-mbstring 8.1.6-1.fc36
php-mysqlnd 8.1.6-1.fc36
php-opcache 8.1.6-1.fc36
php-pdo 8.1.6-1.fc36
php-process 8.1.6-1.fc36
php-sodium 8.1.6-1.fc36
php-xml 8.1.6-1.fc36

How reproducible:
Not sure if this issue is affecting other programs but using Nextcloud 24 and then updating from php 8.1.4 to 8.1.6 is causing Process 41581 (php-fpm) crashed in zend_accel_inheritance_cache_get() and Nextcloud is stopping working.

Steps to Reproduce:
1. 
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Woti 2022-05-29 15:06:33 UTC
backtrace
    traps: php-fpm[41579] general protection fault ip:7f7b62f6610c sp:7ffee4c2e280 error:0 in opcache.so[7f7b62f5b000+b9000]

reason
    traps: php-fpm[41579] general protection fault ip:7f7b62f6610c sp:7ffee4c2e280 error:0 in opcache.so[7f7b62f5b000+b9000]

Comment 2 Remi Collet 2022-05-30 05:43:23 UTC
Not enough information to find the root issue, probably need a small reproducer and/or a gdb bactrace.

Workaround is probably to disable the opcache extension.


Some issues have been recently reported and fixed:

https://github.com/php/php-src/issues/8461 will be in 8.1.7 (planed for June 9th)
https://github.com/php/php-src/issues/8591 will be in 8.1.8 (planed for Jult 7th)


It will be nice if you can try 8.1.7RC1
which is in Rawhide only, but also in my repository, see https://blog.remirepo.net/post/2022/05/28/PHP-version-8.0.20RC1-and-8.1.7RC1

Comment 3 Remi Collet 2022-06-09 14:51:24 UTC
Please try https://bodhi.fedoraproject.org/updates/FEDORA-2022-f3fc52428e

Comment 4 Woti 2022-06-13 16:21:18 UTC
Sorry for the late reply.

I can confirm 8.1.7 from updates-testing is working fine.

Comment 5 Fedora Update System 2022-06-14 05:07:05 UTC
FEDORA-2022-f3fc52428e has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-f3fc52428e

Comment 6 Fedora Update System 2022-06-17 01:13:07 UTC
FEDORA-2022-f3fc52428e has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.