-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
Reference leak in _contextvars.Context.run()
#120811
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
Labels
type-bug
An unexpected behavior, bug, or error
Comments
kumaraditya303
added a commit
that referenced
this issue
Jun 21, 2024
Co-authored-by: Kumar Aditya <[email protected]>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Jun 21, 2024
…ythonGH-120812) (cherry picked from commit aed31be) Co-authored-by: Peter <[email protected]> Co-authored-by: Kumar Aditya <[email protected]>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Jun 21, 2024
…ythonGH-120812) (cherry picked from commit aed31be) Co-authored-by: Peter <[email protected]> Co-authored-by: Kumar Aditya <[email protected]>
kumaraditya303
added a commit
that referenced
this issue
Jun 22, 2024
…H-120812) (#120844) gh-120811: Fix reference leak upon `_PyContext_Exit` failure (GH-120812) (cherry picked from commit aed31be) Co-authored-by: Peter <[email protected]> Co-authored-by: Kumar Aditya <[email protected]>
kumaraditya303
added a commit
that referenced
this issue
Jun 22, 2024
…H-120812) (#120843) gh-120811: Fix reference leak upon `_PyContext_Exit` failure (GH-120812) (cherry picked from commit aed31be) Co-authored-by: Peter <[email protected]> Co-authored-by: Kumar Aditya <[email protected]>
mrahtz
pushed a commit
to mrahtz/cpython
that referenced
this issue
Jun 30, 2024
…ython#120812) Co-authored-by: Kumar Aditya <[email protected]>
noahbkim
pushed a commit
to hudson-trading/cpython
that referenced
this issue
Jul 11, 2024
…ython#120812) Co-authored-by: Kumar Aditya <[email protected]>
estyxx
pushed a commit
to estyxx/cpython
that referenced
this issue
Jul 17, 2024
…ython#120812) Co-authored-by: Kumar Aditya <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Bug report
Bug description:
In
_contextvars.Context.run
,call_result
is notPy_DECREF
'd if_PyContext_Exit
fails. See here.CPython versions tested on:
3.11
Operating systems tested on:
Linux
Linked PRs
_PyContext_Exit
failure #120812_PyContext_Exit
failure (GH-120812) #120843_PyContext_Exit
failure (GH-120812) #120844The text was updated successfully, but these errors were encountered: