Skip to content

Conversation

@arnaud-lb
Copy link
Member

Possible fix for GH-19831.

zend_jit_fetch_obj_r_slow_ex doesn't deref the property.

Tracing JIT is unaffected due to type guards.

I believe that other variants of zend_jit_fetch_obj_*_slow_ex can not be used used in function JIT.

@arnaud-lb arnaud-lb marked this pull request as ready for review September 15, 2025 11:28
@arnaud-lb arnaud-lb requested a review from dstogov as a code owner September 15, 2025 11:28
@dktapps
Copy link
Contributor

dktapps commented Sep 15, 2025

I'll pull this fix to test with my application later 👍🏻

@dktapps
Copy link
Contributor

dktapps commented Sep 15, 2025

Can confirm this fixes my application's issue 👍🏻

@arnaud-lb arnaud-lb closed this in 32c919b Sep 22, 2025
@dktapps
Copy link
Contributor

dktapps commented Sep 23, 2025

Are you sure this doesn't affect tracing JIT? I just ran into a very similar issue with opcache.jit=tracing using a dev build of opcache even after this fix. Not looking forward to running down another test case if it's a different issue...

Edit: Issue disappeared after recompiling to PHP-8.4 branch tip. Possibly might've had a bad build from another branch 🤦🏻

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.

4 participants