Skip to content

Fix GH-18898: SEGV zend_jit_op_array_hot with property hooks and preloading #18923

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

Closed
wants to merge 1 commit into from

Conversation

nielsdos
Copy link
Member

@nielsdos nielsdos commented Jun 23, 2025

Property hooks were not handled for JIT+trait+preloading. Split the existing functions that handle op arrays, and add iterations for property hooks.

Only difference between the 2 tests is the JIT mode.

…reloading

Property hooks were not handled for JIT+trait+preloading.
Split the existing functions that handle op arrays, and add iterations
for property hooks.
@nielsdos nielsdos linked an issue Jun 23, 2025 that may be closed by this pull request
@nielsdos nielsdos marked this pull request as ready for review June 24, 2025 05:14
@nielsdos nielsdos requested a review from dstogov as a code owner June 24, 2025 05:14
@nielsdos nielsdos requested a review from iluuu1994 June 24, 2025 05:14
Copy link
Member

@iluuu1994 iluuu1994 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks correct to me, thanks!

Copy link
Member

@dstogov dstogov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be simple to review this if you wouldn't mix the fix with refactoring.
Anyway, I don't know "property hooks" implementation well, and if @iluuu1994 agreed, I don't object.

@nielsdos
Copy link
Member Author

Ok apologies, I will make sure to split such prs in multiple commits in the future: one for factoring out the code and one for the actual fix.

@nielsdos nielsdos closed this in 53f2aa9 Jun 30, 2025
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.

SEGV zend_jit_op_array_hot with property hooks and preloading
3 participants