Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.1k
gh-99377: Revert audit events for thread state creation and free, because the GIL is not properly held at these times#99543
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
… actually been set.This can occur during initialization. Without the check, later calls to get the interpreter state will cause a fatal error.
bedevere-bot commentedNov 16, 2022
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
I'm surprised_PyThreadState_SetCurrent()
can leave itNULL
though. Something seems fishy there.
This hasn't done it. Going to revert most of the change (I'll leave the |
FYI, I'm double-checking that that PR was the culprit:gh-99545. |
Looks like a full revert passes all buildbots (actually, 7 still running), so it seems like we're right that the original PR is the source of the failures. |
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
This also closes#99544 |
Uh oh!
There was an error while loading.Please reload this page.
This can occur during initialization. Without the check, later calls to get the interpreter state will cause a fatal error.