-
-
Notifications
You must be signed in to change notification settings - Fork 96
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
Segfault when using opcache and bootstrap file #266
Comments
Running the code with PHP 8.1 does result in the same fatal error, but it does not segfault.
Running the code with PHP 8.0 works without any issues. |
Very strange. I had a similar issue on PHP 8.2. I tried to disable |
Hey @JanTvrdik, |
Yes. This is the ouput I get today:
|
I also tried GitHub Codespaces, and it took a lot longer to fail, but eventually it did https://codespaces.new/JanTvrdik/php-ext-parallel-segfault
|
I have a similar behavior, when running on PHP 8.0 all works flawlessly, but the same process on PHP version 8.1 and prior does segfault 1. Tried changing some values on the PHP configuration (opcache, jit, buffer size, ...) but didn't found any solution. Footnotes |
@JanTvrdik this seems fixed with #327 merged to |
I'm not sure if I'm hitting this very issue, but I just noticed a couple of test failures with PHP 8.3 on Windows. These all seem to happen with bootstrap files, and only when OPcache JIT is enabled. The error message is Stack backtrace
In |
Full isolated reproduction example:
https://github.com/JanTvrdik/php-ext-parallel-segfault
Step to reproduce the segfault
Run the following command:
Known requirements to trigger segfault
GDB output
The text was updated successfully, but these errors were encountered: