Xpra: Ticket #1402: window_source: RuntimeError: deque mutated during iteration

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

Sun, 08 Jan 2017 06:12:23 GMT - Antoine Martin: status changed; resolution set

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

Sat, 23 Jan 2021 05:23:17 GMT - migration script:

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