xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.

Opened 5 years ago

Closed 5 years ago

Last modified 17 months 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:


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
  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 (2)

comment:1 Changed 5 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)

comment:2 Changed 17 months ago by migration script

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1402

Note: See TracTickets for help on using tickets.