-
Notifications
You must be signed in to change notification settings - Fork 7.9k
jit bug & segfault with symfony lazyghosttrait #13508
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
Labels
Comments
I have the same problem with php 8.2.7 |
i updated the repository to pin the symfony/var-exporter 7.0.3 package to reproduce the issue. |
Fixed in 8.2 and 8.3. Thank you! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
heyho,
I noticed some odd behaviour with php and jit enabled while working with symfonys lazyghosttrait. Given the sample code here: https://github.com/verfriemelt-dot-org/lazyghost-trait-bug
when you run php with
opcache.jit=tracing
id produces bugs and withopcache.jit=function
it works as expected, seemake function
andmake tracing
running and ouputting results for both examplesthe php jit settings i set:
the code which behaves erratically is this one: https://github.com/symfony/symfony/blob/7.1/src/Symfony/Component/VarExporter/Internal/Hydrator.php#L265
with
make function
:with
make tracing
:also altering / adding code like
results in inconsitent behaviour, mostly segfaults but also sometimes other errors like for example:
symfony issue describing the problem too: symfony/symfony#54053
PHP Version
8.3.3
Operating System
linux
The text was updated successfully, but these errors were encountered: