xpra icon
Bug tracker and wiki

Opened 4 years ago

Closed 4 years ago

#1402 closed defect (fixed)

window_source: RuntimeError: deque mutated during iteration

Reported by: Nick Burrett Owned by: Antoine Martin
Priority: minor Milestone:
Component: server Version: 1.0.x
Keywords: Cc:

Description

Occasionally I'm getting the following exception from v1.0-r14502

ESC[31m2017-01-07 08:45:16,280 error during info collection: deque mutated during iteration
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/xpra/server/server_core.py", line 1157, in in_thread
    info = self.get_info(proto, *args)
  File "/usr/lib/python2.7/site-packages/xpra/server/server_base.py", line 1971, in get_info
    dgi = self.do_get_info(proto, sources, wids)
  File "/usr/lib/python2.7/site-packages/xpra/x11/server.py", line 275, in do_get_info
    info = X11ServerBase.do_get_info(self, proto, server_sources, window_ids)
  File "/usr/lib/python2.7/site-packages/xpra/x11/x11_server_base.py", line 250, in do_get_info
    info = GTKServerBase.do_get_info(self, proto, server_sources, window_ids)
  File "/usr/lib/python2.7/site-packages/xpra/server/gtk_server_base.py", line 117, in do_get_info
    info = ServerBase.do_get_info(self, proto, *args)
  File "/usr/lib/python2.7/site-packages/xpra/server/server_base.py", line 2107, in do_get_info
    info.update(ss.get_window_info(window_ids))
  File "/usr/lib/python2.7/site-packages/xpra/server/source.py", line 1586, in get_window_info
    winfo[wid] = ws.get_info()
  File "/usr/lib/python2.7/site-packages/xpra/server/window/window_video_source.py", line 178, in get_info
    info = WindowSource.get_info(self)
  File "/usr/lib/python2.7/site-packages/xpra/server/window/window_source.py", line 398, in get_info
    lde = [x for x in self.statistics.last_damage_events if x[0]>=cutoff]
RuntimeError: deque mutated during iterationESC[0m

Change History (1)

comment:1 Changed 4 years ago by Antoine Martin

Resolution: fixed
Status: newclosed

This has been fixed in r14616 and is included in the 1.0.1 release. (packages have been updated)

Note: See TracTickets for help on using tickets.