Re: BadWindow error with compiz-fusion

George Nychis <[email protected]>
Newsgroups gmane.comp.video.xine.user
Message-ID <[email protected]>
Hi Darren,

Thank you very much for the response, I greatly appreciate it!


> First, try current CVS. You should use --enable-debug when running
> ./configure in case the bug still happens - and if it does, read on...

It still happens with the current CVS version of xine-lib and xine-ui:

This is xine (X11 gui) - a free video player v0.99.6cvs-[DEBUG].
(c) 2000-2007 The xine Team.
Warning! Synchronized X activated - this is very slow...
xiTK WARNING(_x_error_handler:258): X error received: 'BadWindow 
(invalid Window parameter)'
X Error of failed request:  BadWindow (invalid Window parameter)
   Major opcode of failed request:  20 (X_GetProperty)
   Resource id in failed request:  0xc000ae
   Serial number of failed request:  73
   Current serial number in output stream:  73


> 
> Enable the gui.synchronize option then quit xine (thus handling the X
> synchronisation stuff mentioned on that page), restart it via gdb, set a
> breakpoint on _x_error_handler...
>   (gdb) run
>   ...
>   (gdb) bt
>   (gdb) info locals
>   (gdb) info args
> 

Here we go:

Breakpoint 1, _x_error_handler (display=0x81424c0, xevent=0xbfb98498)
     at xitk.c:253
253	static int _x_error_handler(Display *display, XErrorEvent *xevent) {
(gdb) bt
#0  _x_error_handler (display=0x81424c0, xevent=0xbfb98498) at xitk.c:253
#1  0xb7d4ebfa in _XError () from /usr/lib/libX11.so.6
#2  0xb7d506c4 in _XReply () from /usr/lib/libX11.so.6
#3  0xb7d34886 in XGetWindowProperty () from /usr/lib/libX11.so.6
#4  0x080dc37b in xitk_check_wm (display=0x81424c0) at xitk.c:501
#5  0x080df7b0 in xitk_init (display=0x81424c0, black=
       {pixel = 0, red = 0, green = 0, blue = 0, flags = 0 '\0', pad = 0 
'\0'},
     verbosity=0) at xitk.c:1880
#6  0x0805bf3c in gui_init (nfiles=0, filenames=0x813786c,
     window_attribute=0x812c5c8) at event.c:1664
#7  0x08070a21 in main (argc=1, argv=0xbfb99c14) at main.c:2022

(gdb) info locals
buffer = '\0' <repeats 608 times>, "3⼷\000\000\000\000\000\000\000 
\0003⼷\212\200\022\b\212\200\022\b\226\206¹¿ôßʷ\211\200\022\b\001\000 
\000\000\030\205¹¿X]º·<\205¹¿\211\200\022\b\001\000\000\000\000\000\000\000A\205\022\b\000\000\000\000\000\000\000\000ÔÿÿÿÔÿÿÿÔÿÿÿÔÿÿÿÔÿÿÿ\217uº·\000\000\000\000\000\000\000\000ð\204¹¿\000\000\000\000\000\000\000\000\204\204¹¿\000\000\000\000\000\000\000\000\220\204¹¿\000\000\000\000\000\000\000\000\a\000\000\000\000\000\000\000Ð\205¹¿\000\000\000\000\000\000\000\000Ô\205¹¿", 
'\0' <repeats 24 times>, "ÿÿÿÿ\027\000\000\000\212\200\022\b"...
__FUNCTION__ = "_x_error_handler"

(gdb) info args
display = (Display *) 0x81424c0
xevent = (XErrorEvent *) 0xbfb98498

- George

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
xine-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xine-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.