You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PyMutex failure in parking_lot.c on Windows during interpreter shutdown #135099
changed the title [-]PyMutex failure in parking_lot.c on Windows during interpreter shutdown[/-][+]`PyMutex` failure in `parking_lot.c` on Windows during interpreter shutdown[/+]on Jun 3, 2025
Since #134747 ("Change PyThread_allocate_lock() implementation to PyMutex") was merged, Windows tests got really flaky, with several tests failing in each buildbot run with the same error:
Currently at the release status page, on several Windows buildbots you can see a point where they "switched" from mostly-green to consistent "warnings" result; on the few I explored the first "yellow" build was for #134747.
Activity
[-]PyMutex failure in parking_lot.c on Windows during interpreter shutdown[/-][+]`PyMutex` failure in `parking_lot.c` on Windows during interpreter shutdown[/+]pythongh-135099: Only wait on `_PyOS_SigintEvent()` in main thread
encukou commentedon Jun 3, 2025
Since #134747 ("Change PyThread_allocate_lock() implementation to PyMutex") was merged, Windows tests got really flaky, with several tests failing in each buildbot run with the same error:
For example, here: https://buildbot.python.org/#/builders/146/builds/11597/steps/5/logs/stdio
Currently at the release status page, on several Windows buildbots you can see a point where they "switched" from mostly-green to consistent "warnings" result; on the few I explored the first "yellow" build was for #134747.
Do you think that's related?
colesbury commentedon Jun 3, 2025
Yes, I think it's related
gh-135099: Only wait on `_PyOS_SigintEvent()` in main thread (GH-135100)
pythongh-135099: Only wait on `_PyOS_SigintEvent()` in main thread (p…
[3.14] gh-135099: Only wait on `_PyOS_SigintEvent()` in main thread (G…
pythongh-135099: Only wait on `_PyOS_SigintEvent()` in main thread (p…
pythongh-135099: Only wait on `_PyOS_SigintEvent()` in main thread (p…
pythongh-135099: Only wait on `_PyOS_SigintEvent()` in main thread (p…