[Bug 1013177] Re: Problem with queue.join() hang/deadlock when using threading but only with python 2.7.2 on oneiric
Launchpad Bug Tracker
1013177 at bugs.launchpad.net
Fri May 24 04:17:47 UTC 2013
[Expired for python2.7 (Ubuntu) because there has been no activity for
60 days.]
** Changed in: python2.7 (Ubuntu)
Status: Incomplete => Expired
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python2.7 in Ubuntu.
https://bugs.launchpad.net/bugs/1013177
Title:
Problem with queue.join() hang/deadlock when using threading but only
with python 2.7.2 on oneiric
Status in “python2.7” package in Ubuntu:
Expired
Bug description:
1) lsb_release -rd
Description: Ubuntu 11.10
Release: 11.10
2) Ubuntu package: python 2.7.2-7ubuntu2
3)
The program mentioned below ran/runs without issue for over a hundred times with python v2.6.6 on Ubuntu v10.10 (recently upgraded to Ubuntu v11.10).
The program is stable on Ubuntu v11.10 but only when using python v2.6.7 (python2.6 pkg: 2.6.7-4ubuntu1)
4)
I have a problem using queue.join() that causes my threaded script to hang/deadlock.
The script is based off of the example code in
http://stackoverflow.com/a/317172/570450. The differences are that the
main thread fills the job queue first then spawns threads (afterwards
calls queue.join() - as in the example program) and does a non-
blocking fetch from the queue ("queue.get(False)") and the Queue.empty
exception is processed..
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/1013177/+subscriptions
More information about the foundations-bugs
mailing list