This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients pitrou, tim.peters
Date 2013-10-25.21:23:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1382736205.96.0.919532282342.issue19399@psf.upfronthosting.co.za>
In-reply-to
Content
It looks like this may be the symptom of a buglet in Thread.join:

======================================================================
ERROR: test_communicate_timeout (test.test_subprocess.ProcessTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\home\cpython\buildslave\x86\3.x.snakebite-win2k8r2sp1-x86\build\lib\test\test_subprocess.py", line 672, in test_communicate_timeout
    timeout=0.3)
  File "E:\home\cpython\buildslave\x86\3.x.snakebite-win2k8r2sp1-x86\build\lib\unittest\case.py", line 689, in assertRaises
    return context.handle('assertRaises', callableObj, args, kwargs)
  File "E:\home\cpython\buildslave\x86\3.x.snakebite-win2k8r2sp1-x86\build\lib\unittest\case.py", line 158, in handle
    callable_obj(*args, **kwargs)
  File "E:\home\cpython\buildslave\x86\3.x.snakebite-win2k8r2sp1-x86\build\lib\subprocess.py", line 947, in communicate
    stdout, stderr = self._communicate(input, endtime, timeout)
  File "E:\home\cpython\buildslave\x86\3.x.snakebite-win2k8r2sp1-x86\build\lib\subprocess.py", line 1193, in _communicate
    self.stdout_thread.join(self._remaining_time(endtime))
  File "E:\home\cpython\buildslave\x86\3.x.snakebite-win2k8r2sp1-x86\build\lib\threading.py", line 1062, in join
    self._wait_for_tstate_lock(timeout=timeout)
  File "E:\home\cpython\buildslave\x86\3.x.snakebite-win2k8r2sp1-x86\build\lib\threading.py", line 1074, in _wait_for_tstate_lock
    elif lock.acquire(block, timeout):
ValueError: timeout value must be strictly positive
History
Date User Action Args
2013-10-25 21:23:25pitrousetrecipients: + pitrou, tim.peters
2013-10-25 21:23:25pitrousetmessageid: <1382736205.96.0.919532282342.issue19399@psf.upfronthosting.co.za>
2013-10-25 21:23:25pitroulinkissue19399 messages
2013-10-25 21:23:25pitroucreate