Xpra: Ticket #1018: recursion depth error traceback 0.15.8 server

I was trying to test the 0.15.8 r11050 win client (on windows 7 system) against 0.15.8 r11099 fedora 21 server.

Not sure what triggered it - was toggling between gedit and watching video/playing with the overkill javascript at "bmw.com"... but I got the following traceback. I wasn't able to repro it, unfortunately, but I'm hoping it will be an easy to find bit of code.

2015-11-01 12:10:52,504 loop nesting too deep: 10
2015-11-01 12:10:52,505 you may have a clipboard forwarding loop, disabling the clipboard
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/xpra/x11/gtk_x11/window.py", line 1151, in do_xpra_property_notify_event
    BaseWindowModel.do_xpra_property_notify_event(self, event)
  File "/usr/lib64/python2.7/site-packages/xpra/x11/gtk_x11/window.py", line 483, in do_xpra_property_notify_event
    self._handle_property_change(str(event.atom))
  File "/usr/lib64/python2.7/site-packages/xpra/x11/gtk_x11/window.py", line 488, in _handle_property_change
    log("Property changed on %#x: %s", self.client_window.xid, name)
RuntimeError: maximum recursion depth exceeded while calling a Python object
None
Maximum recursion depth exceeded
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/xpra/x11/gtk_x11/window.py", line 1151, in do_xpra_property_notify_event
    BaseWindowModel.do_xpra_property_notify_event(self, event)
  File "/usr/lib64/python2.7/site-packages/xpra/x11/gtk_x11/window.py", line 483, in do_xpra_property_notify_event
    self._handle_property_change(str(event.atom))
  File "/usr/lib64/python2.7/site-packages/xpra/x11/gtk_x11/window.py", line 488, in _handle_property_change
    log("Property changed on %#x: %s", self.client_window.xid, name)
RuntimeError: maximum recursion depth exceeded while calling a Python object
None
Maximum recursion depth exceeded
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/xpra/gtk_common/quit.py", line 59, in gtk_main_quit_on_fatal_exception
    if issubclass(etype, (KeyboardInterrupt, SystemExit)):
RuntimeError: maximum recursion depth exceeded in __subclasscheck__

Didn't seem to produce any noticeable effects, but it seemed like it was worth catching.



Sun, 01 Nov 2015 20:47:19 GMT - alas:

Disconnecting the client, I noticed this additional output, which might be of use:

C:\Program Files (x86)\Xpra\library.zip\xpra\gtk_common\gtk_util.py:244: GtkWarn
ing: gdk_property_delete: assertion `window != NULL' failed
C:\Program Files (x86)\Xpra\library.zip\xpra\clipboard\clipboard_base.py:534: Gt
kWarning: gdk_property_change: assertion `type != GDK_TARGET_STRING' failed

Mon, 02 Nov 2015 04:36:59 GMT - Antoine Martin: status changed; resolution set

This is just the usual clipboard nested loop problem, see #812.

Not much we can do about this until this is re-written.


Sat, 23 Jan 2021 05:12:38 GMT - migration script:

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