[New-bugs-announce] [issue13817] deadlock in subprocess while running several threads using Popen
report at bugs.python.org
Wed Jan 18 19:00:36 CET 2012
New submission from Christoph Glaubitz <chris+lp at chrigl.de>:
Starting several threads, each just starting a subprocess.Popen and use communicate cause a deadlock in subprocess. (see attached file)
I can only reproduce this with python 2.7.2, not with any other versions. 2.6.5, 2.6.7 and 3.2.2 are working fine. Also 2.4.6 is working, with a problem fixed by http://bugs.python.org/issue1731717.
The attached script does not dead lock all the time, but at least every second call.
I am on a linux x86_64. The python's are compiled by hand, except of 2.6.5.
title: deadlock in subprocess while running several threads using Popen
versions: Python 2.7
Added file: http://bugs.python.org/file24272/subprocess_deadlock.py
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce