Red Hat Bugzilla – Bug 815176
python package need to be updated to eliminate Pipe and Thread bugs
Last modified: 2012-04-24 03:28:17 EDT
Description of problem:
python with a version lower than v2.7.3 and v3.2, have bad bugs in Pipe and
Thread, it is a race condition.
Version-Release number of selected component (if applicable):
often but not every time.
Steps to Reproduce:
1. download the attachment as a test script.
2. run it for several times.
3. observe that if thread 1 hangs.
sometimes it hangs.
it should never hang.
Python 2.7.3 was just released on 11 April 2012, and my test script passed
on it. When I spy on the source code of cpython project, I found no special
patch fixing the bug, and the information I got is that many subprocess changes
was back ported from python3.2+, and the mechanisms changes. Related python
I tested my script on some version of Python: result is:
Python3: later than Python v3.2.2, pass.
Python2: Python v2.7.3, pass. Python v2.7.2, fail. Python v2.7.2+(ubuntu),
it is duplicated from
and want to confirm whether update package is available in el6.
tested on python2.6.6 on rhel6.2, unable to reproduce it.