Skip to content

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

Closed
ndossche wants to merge 1 commit into
php:PHP-8.4from
ndossche:fix-18898
Closed

ndossche wants to merge 1 commit into
php:PHP-8.4from
ndossche:fix-18898

Conversation

@ndossche

@ndossche ndossche commented Jun 23, 2025 •

Copy link
Copy Markdown
Member

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.
@ndossche ndossche linked an issue Jun 23, 2025 that may be closed by this pull request
@ndossche
ndossche marked this pull request as ready for review June 24, 2025 05:14
@ndossche
ndossche requested a review from dstogov as a code owner June 24, 2025 05:14
@ndossche
ndossche requested a review from iluuu1994 June 24, 2025 05:14

@iluuu1994 iluuu1994 left a comment

Copy link
Copy Markdown
Member

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!

@dstogov dstogov left a comment

Copy link
Copy Markdown
Member

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.

@ndossche

Copy link
Copy Markdown
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.

@ndossche ndossche 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