Message351528
| Author |
steve.dower |
| Recipients |
aeros, davin, ned.deily, pitrou, ronaldoussoren, steve.dower, vstinner |
| Date |
2019年09月09日.16:43:50 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1568047431.36.0.855988411428.issue37245@roundup.psfhosted.org> |
| In-reply-to |
| Content |
I suspect this code is a repro - it certainly locks up the host process reliably enough.
Perhaps if we unblock multiprocessing in the context of a crashed worker then it'll show what the underlying errors are?
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])) |
|