[issue33997] multiprocessing Pool hangs in terminate()

Rémi Lapeyre report at bugs.python.org
Mon Aug 5 10:39:45 EDT 2019


Rémi Lapeyre <remi.lapeyre at henki.fr> added the comment:

Hi, I got bit by this bug last week, I wrote an example that reproduce the basic idea of our program main loop and it hangs

 - around 20% of the time with a release build of Python 3.7.4
 - around 6% of the time with a debug build of Python 3.7, 3.8 and 3.9

With some of our inputs, it hangs nearly all the time but I cannot post them here.

I tested PR 8009 and it solves the issue. It seems to me that it is an appropriate fix for this.

----------
Added file: https://bugs.python.org/file48531/multiprocessing_hangs.py

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


More information about the Python-bugs-list mailing list