This behaviour seems to be related to the use of GTK+. Googling for this problem reveals that many more GTK based applications suffer from this limitation.
Ethereal start of with displaying a splash window. gtk_widget_show_all() is used to paint it, leading to the error you saw. A backtrace is attached below. Eventually it's XQueryPointer that gets BadWindow. I can't find any info about what the application can do to avoid this. Maybe it's better to take this issue up with the GTK guys. Thanx, Jaap [EMAIL PROTECTED]:~/src/ethereal/ethereal$ libtool gdb ethereal *** Warning: inferring the mode of operation is deprecated. *** Future versions of Libtool will require --mode=MODE be specified. GNU gdb 6.3-debian Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-linux"...Using host libthread_db library "/lib/libthread_db.so.1". (gdb) break _XError Function "_XError" not defined. Make breakpoint pending on future shared library load? (y or [n]) y Breakpoint 1 (_XError) pending. (gdb) run --sync Starting program: /home/jaap/src/ethereal/ethereal/.libs/lt-ethereal --sync [Thread debugging using libthread_db enabled] [New Thread 16384 (LWP 25653)] Breakpoint 2 at 0x41386366 Pending breakpoint "_XError" resolved [Switching to Thread 16384 (LWP 25653)] Breakpoint 2, 0x41386366 in _XError () from /usr/X11R6/lib/libX11.so.6 (gdb) bt #0 0x41386366 in _XError () from /usr/X11R6/lib/libX11.so.6 #1 0x41386b8d in _XReply () from /usr/X11R6/lib/libX11.so.6 #2 0x4137bcb0 in XQueryPointer () from /usr/X11R6/lib/libX11.so.6 #3 0x411ebd0a in _gdk_windowing_get_pointer () from /usr/lib/libgdk-x11-2.0.so.0 #4 0x411ae238 in gdk_display_get_pointer () from /usr/lib/libgdk-x11-2.0.so.0 #5 0x410d51c6 in _gtk_window_unset_focus_and_default () from /usr/lib/libgtk-x11-2.0.so.0 #6 0x410d5b48 in _gtk_window_constrain_size () from /usr/lib/libgtk-x11-2.0.so.0 #7 0x410d6665 in gtk_window_get_position () from /usr/lib/libgtk-x11-2.0.so.0 #8 0x4143067b in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0 #9 0x41423fd8 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0 #10 0x4142467b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #11 0x41433516 in g_signal_stop_emission () from /usr/lib/libgobject-2.0.so.0 #12 0x41435047 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #13 0x414353fe in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #14 0x410cbc32 in gtk_widget_show () from /usr/lib/libgtk-x11-2.0.so.0 #15 0x40f5a6d0 in gtk_container_get_focus_hadjustment () from /usr/lib/libgtk-x11-2.0.so.0 #16 0x410c3e0d in gtk_widget_show_all () from /usr/lib/libgtk-x11-2.0.so.0 #17 0x08096411 in splash_new (message=0x80f9095 "Loading Ethereal ...") at about_dlg.c:110 #18 0x080806bd in main (argc=1, argv=0xbffffb04) at main.c:1964 (gdb) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]