[Bug 1013177] Re: Problem with queue.join() hang/deadlock when using threading but only with python 2.7.2 on oneiric
Matthias Klose
doko at ubuntu.com
Sun Mar 24 21:45:36 UTC 2013
please attach the script, and recheck with 13.04 (raring)
** Changed in: python2.7 (Ubuntu)
Status: New => Incomplete
--
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:
Incomplete
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