New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PHP7] Crash of php7.0-fpm with opcache and opcache.fast_shutdown #322
Comments
@mfn Also try installing Also if you can reliably reproduce the bug, I suggest to add it to the bug as well even though it is not a simple script. A reproducible bug is always easier to fix. |
Thanks for the encouragement. It's totally reproducible for me; here's an updated stacktrace with pgsql db:
I'll add this information to the PHP report too. |
I've pulled fix for PHP#71573 into |
Thanks, I did => no change, immediately crashes as soon as |
Haven't seen this crash anymore, also not using this PHP version anymore 🤷♀️ => closing |
We're running 5.6/7.0 alongside and when enabling opcache with
opcache.fast_shutdown=1
in PHP7 we experienced crashes almost instantly.The log entry from
/var/log/upstart/php7.0-fpm.log
:child 26210 exited on signal 11 (SIGSEGV) after 56.330280 seconds from start
Removing
opcache.fast_shutdown=1
makes this problem go away. The same setting, on the same server, is activated for PHP 5.6 without problems.xdebug is only installed but not enabled. I've only enabled the following php modules to trigger that crash (the minimum I needed to run the app and trigger the SIGSEGV):
The crash doesn't happen for simple scripts. We experience this crash with CakePHP 2.8.3 (the latest in the 2.x line).
According to #300 (comment) I installed the
*dbgsym
packages and was able to produce this backtrace of a crashing fpm child:Google lead led me to https://bugs.php.net/bug.php?id=71573 which is very recent, but explicitly says opcache is disabled already.
Very likely this is not related to your packages, but I'm not sure how to take it from here. I'm unable to come up with a small reproducible script :-/
So in spirit of the never-forgetting internet I created it here, even if it gets closed immediately maybe it helps someone else.
Packages from 7.0.5-2+deb.sury.org~trusty+1
ps: thanks for your wonderful work!
The text was updated successfully, but these errors were encountered: