Download Manager Deadlock Edge Case

Bug #925319 reported by Alex Harrington
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Xibo
Fix Released
Medium
Alex Harrington
1.3
Fix Released
Medium
Alex Harrington

Bug Description

By looking at XiboClient.py it seems to me when calling "collect" of "XiboDownloadManager" it does not release the lock unless there is no running downloads ( runningDownloads = 0). However, the lock remains there if there are (runningDownloads > 0) and the queue entry is task_done regardless. The download manager will then be locked forever. No more media/layout will be downloaded. However, if you set xmdsUpdateInterval large enough it would be fine but that is not ideal.

Revision history for this message
Alex Harrington (alexharrington) wrote :

Probably needs something like:
   self.p.enqueue('timer',(int(self.interval) * 1000,self.collect))

in http://bazaar.launchpad.net/~alexharrington/xibo/pyclient-1.3.2/view/head:/client/python/XiboClient.py#L1187

as an else.

Changed in xibo:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.