-
-
Notifications
You must be signed in to change notification settings - Fork 31.5k
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
test_importlib test_multiprocessing_pool_circular_import() fails randomly on Thread sanitizer (free-threading) on GitHub Actions #125221
Labels
Comments
Looks like a data race on Lines 7399 to 7409 in 0c5a48c
|
colesbury
added a commit
to colesbury/cpython
that referenced
this issue
Oct 10, 2024
The lazy initialization of `objreduce` wasn't thread-safe in the free threading build. Instead, initialize the interpreter's cached `objreduce` field as part of the initialization of interpreter's types.
kumaraditya303
pushed a commit
that referenced
this issue
Oct 11, 2024
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Oct 11, 2024
…_` (pythonGH-125267) (cherry picked from commit b12e992) Co-authored-by: Sam Gross <colesbury@gmail.com>
kumaraditya303
pushed a commit
that referenced
this issue
Oct 11, 2024
Thank you for the quick fix @colesbury! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Example: https://github.com/python/cpython/actions/runs/11263361511/job/31321078076?pr=125219
Linked PRs
object.__reduce_ex__
#125267object.__reduce_ex__
(GH-125267) #125305The text was updated successfully, but these errors were encountered: