This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients 0x0L, davin, iritkatriel, pitrou, python-dev, shihai1991
Date 2021-08-31.12:23:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1630412624.94.0.777487261298.issue45021@roundup.psfhosted.org>
In-reply-to
Content
As the multiprocessing doc says (https://docs.python.org/3/library/multiprocessing.html#contexts-and-start-methods):
"""Note that safely forking a multithreaded process is problematic."""

The reproducer is trivially fixed by adding a call to `multiprocessing.set_start_method("forkserver")` (you can also replace "forkserver" with "spawn")
History
Date User Action Args
2021-08-31 12:23:44pitrousetrecipients: + pitrou, python-dev, davin, shihai1991, iritkatriel, 0x0L
2021-08-31 12:23:44pitrousetmessageid: <1630412624.94.0.777487261298.issue45021@roundup.psfhosted.org>
2021-08-31 12:23:44pitroulinkissue45021 messages
2021-08-31 12:23:44pitroucreate