New submission from Steve Dower <[email protected]>:
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 <[email protected]>
<https://bugs.python.org/issue38084>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com