-
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
PHP exits with status code 139, only on aarch64 with extension opcache enabled #15957
Comments
Is it status code 138 or 139 (the FrankenPHP ticket mentions either); 138 would be SIGBUS, 139 SIGSEGV. OPcache configuration copied from the FrankenPHP ticket:
Anyhow, can you please provide a stack backtrace? If that is not possible, try running with |
@cmb69 Thanks for noticing my typo. The real exit code is 139 and I just corrected it in the issues. I'll try the |
@cmb69 Setting Regarding the stack backtrace, do you have any pointers on how to use that inside of a docker container? I tried to write into |
Yeah, right
Maybe https://ddanilov.me/how-to-configure-core-dump-in-docker-container helps? |
You may also try building PHP with |
Also, you're using the JIT. Does the segfault also happen if you disable the JIT? |
@nielsdos Good catch. I missed that. JIT is almost certainly to blame then. |
@nielsdos I just tried it with JIT disabled, and it still exits with exit code 139. From |
@cmb69 Thanks for the link, I'll try that, but I'm off next week, but I can try it in two weeks! |
Description
I'm the maintainer of a PHP application called solidtime and we use FrankenPHP (with Laravel Octane) for our production image. That works fine, but we wanted to add support for ARM.
The problem when we start the PHP application with the ARM image, it exits with the status code 139.
I already reported this in the FrankenPHP GitHub repository (the issue) and we figured out that this problem only happens if
opcache
is enabled. Since it looks like an issue withopcache
and ARM, the maintainer of FrankenPHP (@dunglas) told me to report this issue here.PHP Version
8.3.7
Operating System
Debian GNU/Linux 12 (bookworm)
The text was updated successfully, but these errors were encountered: