Re: gtk-app-devel-list Digest, Vol 3, Issue 1



Hi,

I write this mail because I have some problems with X11-Forwarding over 
SSH and GTK+2 applications. Some apps like Xchat 2.0.9, Gimp 2.2, Pan 
0.14.2 are crashing with the following error-message:

The program 'pan' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 2775 error_code 3 request_code 38 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() 
function.)

It's just what it means. The application is trying to use a window or
access a resource that has most likely disappeared.

This can be caused by an error in the application itself (as mentionned,
it is likely an error in the application), or a race condition between
the window manager and the application (the application accessing a
window that has been destroyed by the window manager for example).

It prolly shows more when running apps thru the network because the
network adds some latency, so race conditions between the X server, the
window manager and the application itself are most likely to happen in
that case.

FYI, error code 3 is "BadWindow" (defined in X11/X.h), request code 38
is "X_QueryPointer" (defined in X11/Xproto.h).

HTH,
Cheers,
-- 
 - Olivier Fourdan - fourdan xfce org - http://www.xfce.org - 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]