[issue30395] deadlocked child process after forking on pystate.c's head_mutex

Louis Brandy report at bugs.python.org
Tue May 23 11:37:09 EDT 2017


Louis Brandy added the comment:

Thanks to everyone jumping in.

I need no convincing that mixing forks and threads isn't just a problem but a problem factory. Given that the rest of this code seems to try to avoid similar deadlocks with similar mutexes, I figured we'd want to include this mutex to make a best-effort at being safe here. That made it worth reporting. To be sure, I still believe that the application code that led us here needs deeper fixes to address the fork/thread problems.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30395>
_______________________________________


More information about the Python-bugs-list mailing list