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 pajs@fodder.org.uk
Recipients pajs@fodder.org.uk
Date 2009-10-14.12:51:19
SpamBayes Score 1.527452e-06
Marked as misclassified No
Message-id <1255524681.27.0.985043889406.issue7123@psf.upfronthosting.co.za>
In-reply-to
Content
Further information: it doesn't fail everytime in Python 3.1 - usually 1
in 4, or 1 in 5 times. It never fails with Python 2.6.3

Example output from the script when its failing (python 3.1):

Starting data1
Starting data2
Started subproc: PID: 20209 : args: data1
poll
Started subproc: PID: 20210 : args: data2
poll
Child has sent:True
poll
Child has sent:True
poll
isalive: False
isalive: True
Reaping PID: 20210
isalive: True
poll
Finishing: data2
isalive: True
poll
isalive: True
poll
isalive: True
poll
isalive: True
poll
<repeat isalive and poll lines until>:
isalive: True
poll
isalive: True
terminating
Child had to be killed due to a timeout
Finishing: data1
True

Working output (consistantly works on Python 2.6.3):
Starting data1
Starting data2
Started subproc: PID: 20252 : args: data1
poll
Started subproc: PID: 20253 : args: data2
poll
Child has sent:True
Child has sent:True
poll
Child has sent:True
poll
isalive: False
isalive: False
isalive: False
Reaping PID: 20252
Reaping PID: 20253
Finishing: data1
Finishing: data2
True
History
Date User Action Args
2009-10-14 12:51:21pajs@fodder.org.uksetrecipients: + pajs@fodder.org.uk
2009-10-14 12:51:21pajs@fodder.org.uksetmessageid: <1255524681.27.0.985043889406.issue7123@psf.upfronthosting.co.za>
2009-10-14 12:51:19pajs@fodder.org.uklinkissue7123 messages
2009-10-14 12:51:19pajs@fodder.org.ukcreate