-
Notifications
You must be signed in to change notification settings - Fork 7.8k
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
Assertion failure in JIT trace exit with ZEND_FETCH_DIM_FUNC_ARG #17140
Labels
Comments
devnexen
added
Category: JIT
Category: Engine
Extension: opcache
Status: Verified
and removed
Status: Needs Triage
labels
Dec 13, 2024
Only happens with |
ZEND_FETCH_DIM_FUNC_ARG is not handled, but I think in that case we also have to simply repeat that opline, we can't assume the value to be NULL... |
nielsdos
changed the title
Assertion failure ext/opcache/jit/zend_jit_trace.c:8657
Assertion failure in JIT trace exit with ZEND_FETCH_DIM_FUNC_ARG
Dec 13, 2024
nielsdos
added a commit
to nielsdos/php-src
that referenced
this issue
Dec 13, 2024
…DIM_FUNC_ARG) ZEND_FETCH_DIM_FUNC_ARG should also be repeated on undefined access, consistent to how ZEND_FETCH_DIM_R is handled. The opcode was just missing from the assertion list.
nielsdos
added a commit
to nielsdos/php-src
that referenced
this issue
Dec 13, 2024
…DIM_FUNC_ARG) ZEND_FETCH_DIM_FUNC_ARG should also be repeated on undefined access, consistent to how ZEND_FETCH_DIM_R is handled. The opcode was just missing from the assertion list.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
The following code:
Resulted in this output:
To reproduce:
PHP Version
nightly
Operating System
ubuntu 22.04
The text was updated successfully, but these errors were encountered: