You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FixGH-22158: JIT observer dispatch through wrong run_time_cache slot
For a megamorphic call the tracing JIT built the observer handler pointer
with the ir_PHI_2 operands reversed relative to the ir_MERGE_WITH
predecessor order, so a user function read the internal_function_extension
slot instead of op_array_extension. When an extension reserves an op_array
handle before the observer registers the two indices differ, that slot
holds 0, and the JIT calls a NULL begin handler.
The default-off zend_test.observer.reserve_op_array_handle INI forces that
index mismatch so the regression test can reproduce the crash.
FixesGH-22158
0 commit comments