Repository navigation
Add PHPT reproducer for aborted generator stale caller frames - #4272
morrisonlevi wants to merge 3 commits into
Conversation
❌ ErrorsYour PR has failed checks. Please review the issues below and take necessary action before merging. 🚦 2 Pipeline jobs failed
|
Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com>
Benchmarks [ tracer ]Benchmark execution time: 2026-10-06 12:27:45 Comparing candidate commit 5c9d39f in PR branch Found 1 performance improvements and 1 performance regressions! Performance is the same for 192 metrics, 0 unstable metrics.
|
Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
| } | ||
| zai_interceptor_handle_ended_generator(generator, execute_data, retval, frame_memory); | ||
|
|
||
| /* PHP's observer chain omits suspended yield-from delegating generators. End the active chain on bailout too. */ |
There was a problem hiding this comment.
Think it's worth a test for bailouts here?
Description
@bwoebi, here is a reproducer for the issue I found while investigating customer crashes. The profiler is not at fault, I think any product which walks the stack would trigger it.
Reviewer checklist