[New-bugs-announce] [issue38084] multiprocessing cannot recover from crashed worker
Steve Dower
report at bugs.python.org
Tue Sep 10 04:58:29 EDT 2019
New submission from Steve Dower <steve.dower at python.org>:
Imitation repro:
import os
from multiprocessing import Pool
def f(x):
os._exit(0)
return "success"
if __name__ == '__main__':
with Pool(1) as p:
print(p.map(f, [1]))
Obviously a process may crash for various other reasons besides os._exit().
I believe this is the cause of issue37245.
----------
messages: 351594
nosy: davin, pitrou, steve.dower
priority: normal
severity: normal
status: open
title: multiprocessing cannot recover from crashed worker
type: behavior
versions: Python 3.7, Python 3.8, Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38084>
_______________________________________
More information about the New-bugs-announce
mailing list