[issue38106] [2.7] Race in PyThread_release_lock on macOS - can lead to memory corruption and deadlock

Mariusz Wawrzonkowski report at bugs.python.org
Wed Oct 2 03:20:26 EDT 2019


Mariusz Wawrzonkowski <x9a at wp.pl> added the comment:

I can confirm that I have the deadlock because of the reason described above. When I change the PyThread_release_lock source locally to signal before releasing the mutex, then my deadlock does not occur anymore. I have tested it on a heave multithreading model.

----------
nosy: +mariosoft

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38106>
_______________________________________


More information about the Python-bugs-list mailing list