[New-bugs-announce] [issue24927] multiprocessing.Pool hangs forever on segfault
Jonas Obrist
report at bugs.python.org
Mon Aug 24 19:05:17 CEST 2015
New submission from Jonas Obrist:
When using multiprocessing.Pool, if the function run in the pool segfaults, the program will simply hang forever. However when using multiprocessing.Process directly, it runs fine, setting the exitcode to -11 as expected.
I would expect the Pool to behave similar to Process, or at the very least an exception to be raised instead of just silently hanging forever.
I was able to reproduce this issue both on Linux (Ubuntu 15.04) and Mac OS X.
----------
files: pool_segfault.py
messages: 249068
nosy: Jonas Obrist, jnoller, sbt
priority: normal
severity: normal
status: open
title: multiprocessing.Pool hangs forever on segfault
type: behavior
versions: Python 3.4
Added file: http://bugs.python.org/file40243/pool_segfault.py
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24927>
_______________________________________
More information about the New-bugs-announce
mailing list