[issue14396] Popen wait() doesn't handle spurious wakeups

2012-11-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset d478df13abde by Gregory P. Smith in branch '3.2': Fixes issue #14396: Handle the odd rare case of waitpid returning 0 when http://hg.python.org/cpython/rev/d478df13abde New changeset 61a0eace0f2e by Gregory P. Smith in branch '3.3': Fixes issue

[issue14396] Popen wait() doesn't handle spurious wakeups

2012-11-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 82711f5ab507 by Gregory P. Smith in branch '2.7': Fixes issue #14396: Handle the odd rare case of waitpid returning 0 http://hg.python.org/cpython/rev/82711f5ab507 -- ___ Python tracker

[issue14396] Popen wait() doesn't handle spurious wakeups

2012-11-10 Thread Gregory P. Smith
Gregory P. Smith added the comment: regardless of knowing how to reproduce this system call behavior, the changes necessary to handle robustly it are easy enough. fixed. 3.3+ already handled it if a timeout was specified (new feature). I only had to fix the default no timeout case.

[issue14396] Popen wait() doesn't handle spurious wakeups

2012-03-25 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: I'm working on figuring out the exact conditions under which it happens and creating a harness. I'll post it when I've got it. Please do so, because I'm quite skeptical about waitpid() returning 0 without WNOHANG. If you can

[issue14396] Popen wait() doesn't handle spurious wakeups

2012-03-24 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org added the comment: Thanks. I'll see that this fix gets into 2.7, 3.2 and 3.3. Out of curiosity, what Linux kernel version and glibc version were you using? I'm somewhat surprised that I haven't run into this before. :) -- assignee: - gregory.p.smith

[issue14396] Popen wait() doesn't handle spurious wakeups

2012-03-24 Thread Adin Scannell
Adin Scannell a...@scannell.ca added the comment: Kernel is 3.0.0-15-generic (I believe stock Ubuntu Oneric kernel). Version for glibc is Ubuntu EGLIBC 2.13-20ubuntu5. I'm working on figuring out the exact conditions under which it happens and creating a harness. I'll post it when I've got

[issue14396] Popen wait() doesn't handle spurious wakeups

2012-03-24 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +neologix ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14396 ___ ___ Python-bugs-list mailing

[issue14396] Popen wait() doesn't handle spurious wakeups

2012-03-23 Thread Adin Scannell
New submission from Adin Scannell a...@scannell.ca: While running a complex python process that executes a bunch of subprocesses (using the subprocess module, specifically calling communicate()), I found myself with occasional zombie processes piling up. Turns out Python is not correctly

[issue14396] Popen wait() doesn't handle spurious wakeups

2012-03-23 Thread Brian Curtin
Changes by Brian Curtin br...@python.org: -- keywords: +needs review nosy: +gps stage: - patch review versions: -Python 2.6, Python 3.1, Python 3.2, Python 3.3, Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14396