Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.1k
bpo-31783: Fix a race condition creating workers during shutdown#13171
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
Can you add a test for this, thanks. |
brianquinlan commentedMay 8, 2019 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
The race condition occurs with the following set of context switches:
At this point there is a new thread added to The bug has a patch with |
I don't think writing a test for this would be feasible because provoking the race condition requires very specific timing that, at least on my machine, I can't provoke without adding |
bedevere-bot commentedJun 28, 2019
@brianquinlan: Please replace |
Thanks@brianquinlan for the PR 🌮🎉.. I'm working now to backport this PR to: 3.7. |
Thanks@brianquinlan for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8. |
Sorry,@brianquinlan, I could not cleanly backport this to |
Sorry@brianquinlan, I had trouble checking out the |
…hon#13171)* bpo-31783: Fix a race condition while creating workers during interpreter shutdown* 📜🤖 Added by blurb_it.
…hon#13171)* bpo-31783: Fix a race condition while creating workers during interpreter shutdown* 📜🤖 Added by blurb_it.
Uh oh!
There was an error while loading.Please reload this page.
https://bugs.python.org/issue31783