Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork34k
gh-128002: fix many thread safety issues in asyncio#128147
gh-128002: fix many thread safety issues in asyncio#128147kumaraditya303 merged 26 commits intopython:mainfrom
Conversation
kumaraditya303 commentedDec 31, 2024 • 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.
@colesbury While running the tests locally on forever mode I see frequent tsan warnings and rarely some crashes in |
colesbury left a comment
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.
I'm still reading through the other locking changes, but a comment onall_tasks below:
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
kumaraditya303 commentedJan 2, 2025
Filed#128421 for existing data races in traceback and frame inspection. |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
colesbury left a comment
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 with two comments below
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
513a4ef intopython:mainUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Changes:
_asyncio.Taskand_asyncio.Futurethread-safe by adding critical sections_asyncio.all_tasksthread safe when eager tasks are usedChange asyncio state lock to a mutex rather than critical section to fix re-entrancy crash, not really sure about this one