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 jszakmeister
Recipients jszakmeister
Date 2013-03-06.12:07:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1362571670.86.0.392515841687.issue17367@psf.upfronthosting.co.za>
In-reply-to
Content
I discovered this issue while trying to track down why our upcoming release for Nose 1.3.0 was deadlocking under Ubuntu 12.04 with Python 3.3.  It turns out that the read() was being interrupted leaving data in the subprocess's output buffers, which ultimately means the subprocess is blocked.  Since the thread was exiting, and the read was never retried, we were left in deadlock.

The attached patch fixes the issue.  It wraps the read call with _eintr_retry_call() around the read operation in _readerthread().
History
Date User Action Args
2013-03-06 12:07:50jszakmeistersetrecipients: + jszakmeister
2013-03-06 12:07:50jszakmeistersetmessageid: <1362571670.86.0.392515841687.issue17367@psf.upfronthosting.co.za>
2013-03-06 12:07:50jszakmeisterlinkissue17367 messages
2013-03-06 12:07:50jszakmeistercreate