Skip to content
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

Fix GH-17140 (Assertion failure in JIT trace exit with ZEND_FETCH_DIM_FUNC_ARG) #17148

Open
wants to merge 1 commit into
base: PHP-8.4
Choose a base branch
from

Conversation

nielsdos
Copy link
Member

@nielsdos nielsdos commented Dec 13, 2024

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.
This doesn't reproduce on 8.3 because there it always re-executes the last opline and doesn't have an assertion.

…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 nielsdos linked an issue Dec 13, 2024 that may be closed by this pull request
@nielsdos nielsdos marked this pull request as ready for review December 13, 2024 17:53
@nielsdos nielsdos requested a review from dstogov as a code owner December 13, 2024 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Assertion failure in JIT trace exit with ZEND_FETCH_DIM_FUNC_ARG
1 participant