-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
GH-96572: fix use after free in trace refs build mode #96618
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
Conversation
🤖 New build scheduled with the buildbot fleet by @pablogsal for commit d622e46 🤖 If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again. |
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.
Amazing. Needs a backport to unblock the release, right?
Thanks @kumaraditya303 for the PR, and @gvanrossum for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11. |
GH-96621 is a backport of this pull request to the 3.11 branch. |
…-96618) (cherry picked from commit 6744490) Co-authored-by: Kumar Aditya <[email protected]>
(cherry picked from commit 6744490) Co-authored-by: Kumar Aditya <[email protected]>
|
--with-trace-refs
requires objects to be explicitly removed from the global list before deallocation but ceval overrides thePy_DECREF
for speed and thus skipped this, hence we avoid this optimization in--with-trace-refs
build mode.This optimization was introduced in 2f233fc by @gvanrossum.
Automerge-Triggered-By: GH:gvanrossum