xpra icon
Bug tracker and wiki

Opened 3 years ago

Closed 3 years ago

#1018 closed defect (duplicate)

recursion depth error traceback 0.15.8 server

Reported by: alas Owned by: Antoine Martin
Priority: minor Milestone: 0.16
Component: server Version: 0.15.x
Keywords: Cc:

Description

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.

Change History (2)

comment:1 Changed 3 years ago by 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

comment:2 Changed 3 years ago by Antoine Martin

Resolution: duplicate
Status: newclosed

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

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

Note: See TracTickets for help on using tickets.