[issue24927] multiprocessing.Pool hangs forever on segfault

2015-09-16 Thread Berker Peksag
Changes by Berker Peksag : -- stage: -> resolved superseder: -> multiprocessing.Pool shouldn't hang forever if a worker process dies unexpectedly ___ Python tracker ___ __

[issue24927] multiprocessing.Pool hangs forever on segfault

2015-09-16 Thread Jonas Obrist
Changes by Jonas Obrist : -- resolution: -> duplicate status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue24927] multiprocessing.Pool hangs forever on segfault

2015-09-11 Thread Brian Boonstra
Brian Boonstra added the comment: See also issue 22393 -- nosy: +brianboonstra ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue24927] multiprocessing.Pool hangs forever on segfault

2015-08-25 Thread Jonas Obrist
Jonas Obrist added the comment: I've added a patch that would simply warn the user if a worker exits prematurely. -- keywords: +patch Added file: http://bugs.python.org/file40257/patch.diff ___ Python tracker

[issue24927] multiprocessing.Pool hangs forever on segfault

2015-08-24 Thread Jonas Obrist
Jonas Obrist added the comment: So the reason this is happening is very simple: When using Pool.apply, the task (function) is sent to the task queue, which is consumed by the worker. At this point the task is "in progress". However, the worker dies without being able to finish the task or in a

[issue24927] multiprocessing.Pool hangs forever on segfault

2015-08-24 Thread Jonas Obrist
Changes by Jonas Obrist : Added file: http://bugs.python.org/file40248/process_segfault.py ___ Python tracker ___ ___ Python-bugs-list mailing

[issue24927] multiprocessing.Pool hangs forever on segfault

2015-08-24 Thread Jonas Obrist
Changes by Jonas Obrist : Removed file: http://bugs.python.org/file40246/process_segfault.py ___ Python tracker ___ ___ Python-bugs-list maili

[issue24927] multiprocessing.Pool hangs forever on segfault

2015-08-24 Thread Jonas Obrist
Changes by Jonas Obrist : Added file: http://bugs.python.org/file40247/pool_segfault.py ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue24927] multiprocessing.Pool hangs forever on segfault

2015-08-24 Thread Jonas Obrist
Changes by Jonas Obrist : Removed file: http://bugs.python.org/file40243/pool_segfault.py ___ Python tracker ___ ___ Python-bugs-list mailing

[issue24927] multiprocessing.Pool hangs forever on segfault

2015-08-24 Thread Jonas Obrist
Changes by Jonas Obrist : Removed file: http://bugs.python.org/file40244/segfault.c ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue24927] multiprocessing.Pool hangs forever on segfault

2015-08-24 Thread Jonas Obrist
Changes by Jonas Obrist : Removed file: http://bugs.python.org/file40245/setup.py ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue24927] multiprocessing.Pool hangs forever on segfault

2015-08-24 Thread Jonas Obrist
Changes by Jonas Obrist : Added file: http://bugs.python.org/file40245/setup.py ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue24927] multiprocessing.Pool hangs forever on segfault

2015-08-24 Thread Jonas Obrist
Changes by Jonas Obrist : Added file: http://bugs.python.org/file40246/process_segfault.py ___ Python tracker ___ ___ Python-bugs-list mailing

[issue24927] multiprocessing.Pool hangs forever on segfault

2015-08-24 Thread Jonas Obrist
Changes by Jonas Obrist : Added file: http://bugs.python.org/file40244/segfault.c ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue24927] multiprocessing.Pool hangs forever on segfault

2015-08-24 Thread Jonas Obrist
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 simi