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])) |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2019-09-09 16:43:51 | steve.dower | set | recipients: + steve.dower, ronaldoussoren, pitrou, vstinner, ned.deily, davin, aeros |
| 2019-09-09 16:43:51 | steve.dower | set | messageid: <1568047431.36.0.855988411428.issue37245@roundup.psfhosted.org> |
| 2019-09-09 16:43:51 | steve.dower | link | issue37245 messages |
| 2019-09-09 16:43:50 | steve.dower | create | |