-
Notifications
You must be signed in to change notification settings - Fork 7.7k
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
opcache crashes on Ubuntu 21.10 - php 8.0.8 (segfault) both within apache2 and cli #8193
Comments
is there any specific opcache setting involved (e.g. JIT) ? would it be possible to see if this still crash with, for example, the 8.0.16 release ? Did you only try with the obfuscated version of your code ? |
no specific opcache settings with my cli version , only opcache.enable_cli=1 I have no system with other php version to test with.. I'm the developer of the https://github.com/pk-fr/yakpro-po Obfuscator... The problem occurs only whith it's Shuffles Statements option which randomize code statements ordering by inserting a goto to the next logical statement to keep the same code workflow. |
PHP 8.0.8 is a quite old patch release. I can't reproduce this with a current PHP 8.0 build. |
I could not reproduce it with PHP 8.0.16 build from source nor with the 8.1.2 package version provided by ubuntu 22.04. |
I am currently migrating my dedicated server as my old one is at end of life and will be desactivated at the end ot this month... I hope I will migrate in a few months to Ubuntu 22.04 LTS with php8.1... but anyway, there is a problem on my Ubuntu 21.10 which is officially supported until July 2022... ( 4 months... ) |
In that case you need to report this on the Ubuntu bugtracker, so they can backport whatever patch is necessary. Or you could use the ondrej PPA and get a recent PHP version. In any case, I don't think there's anything actionable here from our side, but please do let us know if you still see an issue on a current patch release. |
For your information, I just made 2 tests within 2 new VMs ...
I will report it tomorrow to Ubuntu bugtracker as @nikic suggested ;) |
Description
The following code:
obfuscated.php file is here : https://3v4l.org/EUeM7
Normal output with opcache disabled is :
with opcache enabled and cli:
with opcache enabled and apache : connexion reset within the browser...
[core:notice] [pid 374147] AH00051: child pid 374181 exit signal Segmentation fault (11), possible coredump in /etc/apache2
PHP Version
PHP 8.0.8
Operating System
Ubuntu 21.10
The text was updated successfully, but these errors were encountered: