-
-
Notifications
You must be signed in to change notification settings - Fork 33.1k
gh-138661: fix data race in PyCode_Addr2Line
#138664
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
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.
The fix looks good to me, but it looks like test_faulthandler
is timing out on the free-threaded builds.
When you're done making the requested changes, leave the comment: |
faulthandler calls |
Maybe faulthandler should use an internal API which avoids the critical section. Such API should be added if it doesn't exist yet. |
Thanks for the pointer, I have fixed it now by adding an internal API which would work without attached tstate. |
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.
LGTM
fixed the test_faulthandler
issue
Thanks @kumaraditya303 for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14. |
(cherry picked from commit ea26f6d) Co-authored-by: Kumar Aditya <kumaraditya@python.org>
GH-138834 is a backport of this pull request to the 3.14 branch. |
Uh oh!
There was an error while loading. Please reload this page.