[winswitch] Xpra crash (Gdk error)

Lukas Haase lukashaase at gmx.at
Tue Feb 14 05:54:28 GMT 2017


Hi Antoine,

> [...]
> The log file would still be useful to see: the last few entries in it
> would tell us what part of the code was potentially doing this illegal
> access.

What amount of log level would help to identify this problem? Or asked differently, with which "-d" should I start the xpra server?

> [...]
> > Since the error is "BadWindow" I also want to mention that the xpra continuously generates output like this:
> > 
> > 2017-02-13 12:36:36,599 failed to manage client <gtk.gdk.Window object at 0x7fa154183460 (GdkWindow at 0x472c7e0)>: XError: BadWindow
> > Traceback (most recent call last):
> >   File "/usr/lib64/python2.6/site-packages/xpra/x11/gtk2/wm.py", line 346, in _manage_client
> >     self.do_manage_client(gdkwindow)
> >   File "/usr/lib64/python2.6/site-packages/xpra/gtk_common/error.py", line 168, in __exit__
> >     trap._exit(True)
> >   File "/usr/lib64/python2.6/site-packages/xpra/gtk_common/error.py", line 100, in _exit
> >     raise XError(get_X_error(error))
> > XError: XError: BadWindow
> > 2017-02-13 12:36:36,609 failed to manage client <gtk.gdk.Window object at 0x2a58640 (GdkWindow at 0x385bc60)>: XError: BadWindow
> > Traceback (most recent call last):
> >   File "/usr/lib64/python2.6/site-packages/xpra/x11/gtk2/wm.py", line 346, in _manage_client
> >     self.do_manage_client(gdkwindow)
> >   File "/usr/lib64/python2.6/site-packages/xpra/gtk_common/error.py", line 168, in __exit__
> >     trap._exit(True)
> >   File "/usr/lib64/python2.6/site-packages/xpra/gtk_common/error.py", line 100, in _exit
> >     raise XError(get_X_error(error))
> > XError: XError: BadWindow
> It should be harmless and just means that the window disappeared before
> we could manage it.
> We probably shouldn't be logging an error here.

Yes, I would really appreciate that.
Errors - in particular with stack traces showing some internals always causes me to think about heavy problems.

I think many programs draw and quickly remove windows - at least this happens all the time with me.

Thanks,
Lukas




More information about the shifter-users mailing list