-
Notifications
You must be signed in to change notification settings - Fork 160
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
Fix exception profiling in Generator->throw() #2682
Conversation
BenchmarksBenchmark execution time: 2024-05-31 09:49:24 Comparing candidate commit b981d5c in PR branch Found 3 performance improvements and 3 performance regressions! Performance is the same for 172 metrics, 0 unstable metrics. scenario:HookBench/benchWithoutHook-opcache
scenario:MessagePackSerializationBench/benchMessagePackSerialization
scenario:MessagePackSerializationBench/benchMessagePackSerialization-opcache
scenario:PDOBench/benchPDOBaseline
scenario:PDOBench/benchPDOBaseline-opcache
scenario:PDOBench/benchPDOOverhead
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2682 +/- ##
============================================
- Coverage 79.36% 76.08% -3.28%
Complexity 2223 2223
============================================
Files 200 226 +26
Lines 22322 26347 +4025
Branches 0 988 +988
============================================
+ Hits 17715 20046 +2331
- Misses 4607 5775 +1168
- Partials 0 526 +526
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 39 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
7e21253
to
b3abc96
Compare
Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com>
b3abc96
to
b981d5c
Compare
As discussed in Slack, Bob was able to find a reproducer for this crash in pure PHP (our extension isn't needed) and opened an upstream issue: Crash when stack walking in destructor of yielded from values during Generator->throw() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome work 🎉
The prev_execute_frame of fake frame of the generator is not fixed up when throwing. Only when executing afterwards.
SCP-456