[issue10394] subprocess Popen deadlock

Christoph Mathys report at bugs.python.org
Tue Nov 16 20:27:24 CET 2010


Christoph Mathys <eraserix at gmail.com> added the comment:

Yes, it's the correct file. Sorry, I'm making quite a mess in my description about program: The "attached program" is deadlock.py. Program One and Two are python scripts executed using "python -c", the code is inside deadlock.py.

I installed python 2.7 (2.7.0+) and 3.1 (3.1.2, had to fix a print statement) and could reproduce the error on both versions. Checking the code in subprocess.py confirmed that the bug is still there. However, I had to increase the number of threads (deadlock.py, line 38) to provoke the error, but I used different hardware and OS release than in the first test ((but still multi core on Linux).

What do you expect on fail? I'm a noob when it comes to python, the script just prints "command took too long: <time>", nothing else...

----------
versions: +Python 2.7, Python 3.1

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10394>
_______________________________________


More information about the Python-bugs-list mailing list