! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Right clicking anywhere on panel causes termination w/ X Window System error
Status:
RESOLVED: FIXED
Product:
Xfce4-panel

Comments

Description George McCollister 2011-02-11 17:23:23 CET
When I right click anywhere on the panel it terminates. I launched xfce4-panel (4.8.1) from a terminal to see if there was any output when it terminates. I see this:

bash-3.2# xfce4-panel 
The program 'xfce4-panel' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch'.
  (Details: serial 1140 error_code 8 request_code 56 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.)
bash-3.2# The program 'wrapper' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow'.
  (Details: serial 236 error_code 3 request_code 10 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.)

I started xfce4-panel with gdb attached and set a break point on gdk_x_error()
when I right clicked on the panel I hit the break point. Here is the full backtrace:

Backtrace:
#0  gdk_x_error (display=0x80b0800, error=0xbf9b79d0) at gdkmain-x11.c:439
No locals.
#1  0xb6f1f839 in _XError (dpy=0x80b0800, rep=0x825c548) at XlibInt.c:1573
        event = {type = 0, xany = {type = 0, serial = 134940672, send_event = 20971575, display = 0x1119, window = 14344}, xkey = {type = 0, serial = 134940672, send_event = 20971575, display = 0x1119, window = 14344, root = 3068784628, 
    subwindow = 3068789056, time = 3065453793, x = -1080329720, y = -1227106399, x_root = -1226178240, y_root = 136679408, state = 3065524568, keycode = 136693064, same_screen = -1227108559}, xbutton = {type = 0, serial = 134940672, 
    send_event = 20971575, display = 0x1119, window = 14344, root = 3068784628, subwindow = 3068789056, time = 3065453793, x = -1080329720, y = -1227106399, x_root = -1226178240, y_root = 136679408, state = 3065524568, button = 136693064, 
    same_screen = -1227108559}, xmotion = {type = 0, serial = 134940672, send_event = 20971575, display = 0x1119, window = 14344, root = 3068784628, subwindow = 3068789056, time = 3065453793, x = -1080329720, y = -1227106399, 
    x_root = -1226178240, y_root = 136679408, state = 3065524568, is_hint = 72 'H', same_screen = -1227108559}, xcrossing = {type = 0, serial = 134940672, send_event = 20971575, display = 0x1119, window = 14344, root = 3068784628, 
    subwindow = 3068789056, time = 3065453793, x = -1080329720, y = -1227106399, x_root = -1226178240, y_root = 136679408, mode = -1229442728, detail = 136693064, same_screen = -1227108559, focus = -1229442728, state = 134943048}, 
  xfocus = {type = 0, serial = 134940672, send_event = 20971575, display = 0x1119, window = 14344, mode = -1226182668, detail = -1226178240}, xexpose = {type = 0, serial = 134940672, send_event = 20971575, display = 0x1119, 
    window = 14344, x = -1226182668, y = -1226178240, width = -1229513503, height = -1080329720, count = -1227106399}, xgraphicsexpose = {type = 0, serial = 134940672, send_event = 20971575, display = 0x1119, drawable = 14344, 
    x = -1226182668, y = -1226178240, width = -1229513503, height = -1080329720, count = -1227106399, major_code = -1226178240, minor_code = 136679408}, xnoexpose = {type = 0, serial = 134940672, send_event = 20971575, display = 0x1119, 
    drawable = 14344, major_code = -1226182668, minor_code = -1226178240}, xvisibility = {type = 0, serial = 134940672, send_event = 20971575, display = 0x1119, window = 14344, state = -1226182668}, xcreatewindow = {type = 0, 
    serial = 134940672, send_event = 20971575, display = 0x1119, parent = 14344, window = 3068784628, x = -1226178240, y = -1229513503, width = -1080329720, height = -1227106399, border_width = -1226178240, override_redirect = 136679408}, 
  xdestroywindow = {type = 0, serial = 134940672, send_event = 20971575, display = 0x1119, event = 14344, window = 3068784628}, xunmap = {type = 0, serial = 134940672, send_event = 20971575, display = 0x1119, event = 14344, 
    window = 3068784628, from_configure = -1226178240}, xmap = {type = 0, serial = 134940672, send_event = 20971575, display = 0x1119, event = 14344, window = 3068784628, override_redirect = -1226178240}, xmaprequest = {type = 0, 
    serial = 134940672, send_event = 20971575, display = 0x1119, parent = 14344, window = 3068784628}, xreparent = {type = 0, serial = 134940672, send_event = 20971575, display = 0x1119, event = 14344, window = 3068784628, 
    parent = 3068789056, x = -1229513503, y = -1080329720, override_redirect = -1227106399}, xconfigure = {type = 0, serial = 134940672, send_event = 20971575, display = 0x1119, event = 14344, window = 3068784628, x = -1226178240, 
    y = -1229513503, width = -1080329720, height = -1227106399, border_width = -1226178240, above = 136679408, override_redirect = -1229442728}, xgravity = {type = 0, serial = 134940672, send_event = 20971575, display = 0x1119, 
    event = 14344, window = 3068784628, x = -1226178240, y = -1229513503}, xresizerequest = {type = 0, serial = 134940672, send_event = 20971575, display = 0x1119, window = 14344, width = -1226182668, height = -1226178240}, 
  xconfigurerequest = {type = 0, serial = 134940672, send_event = 20971575, display = 0x1119, parent = 14344, window = 3068784628, x = -1226178240, y = -1229513503, width = -1080329720, height = -1227106399, border_width = -1226178240, 
    above = 136679408, detail = -1229442728, value_mask = 136693064}, xcirculate = {type = 0, serial = 134940672, send_event = 20971575, display = 0x1119, event = 14344, window = 3068784628, place = -1226178240}, xcirculaterequest = {
    type = 0, serial = 134940672, send_event = 20971575, display = 0x1119, parent = 14344, window = 3068784628, place = -1226178240}, xproperty = {type = 0, serial = 134940672, send_event = 20971575, display = 0x1119, window = 14344, 
    atom = 3068784628, time = 3068789056, state = -1229513503}, xselectionclear = {type = 0, serial = 134940672, send_event = 20971575, display = 0x1119, window = 14344, selection = 3068784628, time = 3068789056}, xselectionrequest = {
    type = 0, serial = 134940672, send_event = 20971575, display = 0x1119, owner = 14344, requestor = 3068784628, selection = 3068789056, target = 3065453793, property = 3214637576, time = 3067860897}, xselection = {type = 0, 
    serial = 134940672, send_event = 20971575, display = 0x1119, requestor = 14344, selection = 3068784628, target = 3068789056, property = 3065453793, time = 3214637576}, xcolormap = {type = 0, serial = 134940672, send_event = 20971575, 
    display = 0x1119, window = 14344, colormap = 3068784628, new = -1226178240, state = -1229513503}, xclient = {type = 0, serial = 134940672, send_event = 20971575, display = 0x1119, window = 14344, message_type = 3068784628, 
    format = -1226178240, data = {b = "�\034��\bz\233���۶@\001��\217%\b", s = {7393, -18761, 31240, -16485, -10335, -18725, 320, -18710, -28688, 2085}, l = {-1229513503, -1080329720, -1227106399, -1226178240, 136679408}}}, xmapping = {
    type = 0, serial = 134940672, send_event = 20971575, display = 0x1119, window = 14344, request = -1226182668, first_keycode = -1226178240, count = -1229513503}, xerror = {type = 0, display = 0x80b0800, resourceid = 20971575, 
    serial = 4377, error_code = 8 '\b', request_code = 56 '8', minor_code = 0 '\0'}, xkeymap = {type = 0, serial = 134940672, send_event = 20971575, display = 0x1119, window = 14344, 
    key_vector = "���@\001��\034��\bz\233���۶@\001��\217%\bX1��"}, xgeneric = {type = 0, serial = 134940672, send_event = 20971575, display = 0x1119, extension = 14344, evtype = -1226182668}, xcookie = {type = 0, serial = 134940672, 
    send_event = 20971575, display = 0x1119, extension = 14344, evtype = -1226182668, cookie = 3068789056, data = 0xb6b71ce1}, pad = {0, 134940672, 20971575, 4377, 14344, -1226182668, -1226178240, -1229513503, -1080329720, -1227106399, 
    -1226178240, 136679408, -1229442728, 136693064, -1227108559, -1229442728, 134943048, -1080329524, -1080329640, -1229515976, 134935184, 4375, -1080329624, -1225666746}}
        async = <value optimized out>
        next = <value optimized out>
#2  0xb6f1d30a in handle_error (dpy=0x80b0800, err=0x80b0800, in_XReply=0) at xcb_io.c:166
        ext = (_XExtension *) 0x0
        ret_code = -1225667530
#3  0xb6f1d35c in handle_response (dpy=0x80b0800, response=0x80b0800, in_XReply=0) at xcb_io.c:266
        async = <value optimized out>
        next = (_XAsyncHandler *) 0x825c548
#4  0xb6f1df78 in _XEventsQueued (dpy=0x80b0800, mode=2) at xcb_io.c:305
        response = <value optimized out>
#5  0xb6f0e458 in XPending (dpy=0x80b0800) at Pending.c:55
        ret_val = 0
#6  0xb72ef0a9 in gdk_event_check (source=0x80c5550) at gdkevents-x11.c:154
        retval = <value optimized out>
#7  0xb704e112 in IA__g_main_context_check (context=0x80c5598, max_priority=2147483647, fds=0x812ed18, n_fds=5) at gmain.c:2469
        result = <value optimized out>
        check = (gboolean (*)(GSource *)) 0xb72ef030 <gdk_event_check>
        source = (GSource *) 0x80c5550
        pollrec = <value optimized out>
        n_ready = 0
        i = <value optimized out>
#8  0xb704e8b9 in g_main_context_iterate (context=0x80c5598, block=<value optimized out>, dispatch=1, self=0x808b958) at gmain.c:2588
        max_priority = 2147483647
        timeout = 1643
---Type <return> to continue, or q <return> to quit---
        some_ready = <value optimized out>
        nfds = 5
        allocated_nfds = <value optimized out>
        fds = (GPollFD *) 0x812ed18
        __PRETTY_FUNCTION__ = "g_main_context_iterate"
#9  0xb704ef67 in IA__g_main_loop_run (loop=0x80ff2c0) at gmain.c:2799
        self = (GThread *) 0x808b958
        __PRETTY_FUNCTION__ = "IA__g_main_loop_run"
#10 0xb747f759 in IA__gtk_main () at gtkmain.c:1218
        tmp_list = (GList *) 0x80be480
        functions = (GList *) 0x0
        init = (GtkInitFunction *) 0xbf9b7d28
        loop = (GMainLoop *) 0x80ff2c0
#11 0x0805515d in main (argc=1, argv=0xbf9b7e04) at main.c:349
        context = <value optimized out>
        application = (PanelApplication *) 0x80af518
        error = (GError *) 0x0
        dbus_service = (PanelDBusService *) 0x808bb60
        succeed = <value optimized out>
        i = <value optimized out>
        signums = {2, 3, 15, 6, 10}
        error_msg = <value optimized out>
        sm_client = (XfceSMClient *) 0x80be480

Here is a list of some of the packages on this system along with version number:
alsa-lib - 1.0.23-1 - 
alsa-utils - 1.0.22-1 - 
apache2 - 2.2.17-6 - 
atk - 1.28.0-1 - 
audiofile - 0.2.7-1 - 
bash - 3.2.48-1 - 
busybox - 1.17.1-7 - 
bzip2 - 1.0.5-1 - 
c-ares - 1.7.0-1 - 
cairo - 1.8.10-1 - 
consolekit - 0.4.1-1 - 
cpufrequtils - 007-1 - 
cracklib - 2.8.18-1 - 
cyrus-sasl - 2.1.23-1 - 
dbus - 1.4.0-1 - 
dbus-glib - 0.88-1 - 
devicekit - 002-1 - 
devicekit-power - 008-1 - 
dhcp - 4.1.1-1 - 
e2fsprogs - 1.41.12-1 - 
eggdbus - 0.6-1 - 
enchant - 1.6.0-1 - 
esound - 0.2.41-1 - 
eventlog - 0.2.7-1 - 
evince - 2.28.2-1 - 
exo - 0.6.0-2 - 
expat - 2.0.1-1 - 
fcgi - 2.4.0-1 - 
figlet - 222-1 - 
flex - 2.5.35-1 - 
flot - 0.6-1 - 
fontconfig - 2.6.0-1 - 
freetype - 2.3.11-1 - 
galculator - 1.3.4-1 - 
garcon - 0.1.5-2 - 
gcclibs - 4.4.0-1 - 
gconf - 2.26.2-1 - 
gdbserver - 7.0.1-1 - 
gdm - 2.28.2-7 - 
gettrenddata - 0.2-1 - 
glib - 2.24.1-1 - 
glibc - 2.9-1 - 
gnome-desktop - 2.28.2-1 - 
gnome-icon-theme - 2.28.0-1 - 
gnome-keyring - 2.28.2-1 - 
gnome-menus - 2.28.0-1 - 
gnome-mime-data - 2.18.0-1 - 
gnome-panel - 2.28.0-3 - 
gnome-session - 2.28.0-1 - 
gnome-settings-daemon - 2.28.2-1 - 
gnome-vfs - 2.24.4-2 - 
gnupg - 2.0.15-1 - 
gnutls - 2.10.3-1 - 
grub - 0.97-1 - 
gst-plugins-base - 0.10.29-5 - 
gstreamer - 0.10.29-1 - 
gtk - 2.18.7-1 - 
gtk-engine-experience - 0.10.5-1 - 
gtk-xfce-engine - 2.8.0-1 - 
gtk2-engines - 2.2.0-1 - 
hexedit - 1.2.12-1 - 
hicolor-icon-theme - 0.12-1 - 
icu4c - 4.3.4-1 - 
initng - 0.6.10.2-2 - 
initng-ifiles - 0.1.3-3 - 
ipkg - 0.99.163-1 - 
iproute2 - 2.6.34-1 - 
iptables - 1.4.8-1 - 
iso-codes - 3.10.3-1 - 
jplayer - 1.1.1-1 - 
jquery - 1.3.2.min-1 - 
kernel - 2.6.33.7-6 - 
kernel-modules - 2.6.33.7-6 - 
krb5 - 1.7-1 - 
ldb - 0.9.10-1 - 
libarchive - 2.8.4-1 - 
libart-lgpl - 2.3.21-1 - 
libassuan - 2.0.0-1 - 
libbonobo - 2.24.3-1 - 
libbonoboui - 2.24.4-2 - 
libcanberra - 0.11-1 - 
libcurl - 7.21.0-1 - 
libdrm - 2.4.23-1 - 
libdrm-psb - 2.3.0-1 - 
libevent - 2.0.10-1 - 
libgcrypt - 1.4.5-1 - 
libgdbus - 0.2-1 - 
libglade - 2.6.2-1 - 
libgnome - 2.28.0-2 - 
libgnomecanvas - 2.26.0-1 - 
libgnomekbd - 2.28.2-1 - 
libgnomeui - 2.24.4-2 - 
libgpg-error - 1.7-1 - 
libgweather - 2.28.0-1 - 
libidl - 0.8.14-1 - 
libjpeg - 8a-1 - 
libksba - 1.0.7-1 - 
liblzo - 2.03-1 - 
libmd - 0.3.1-1 - 
libmemcache - 1.4.0.rc2-1 - 
libmemcached - 0.44-1 - 
libnl - 1.1-1 - 
libogg - 1.1.4-1 - 
liboil - 0.3.16-1 - 
libpcap - 1.1.1-1 - 
libpciaccess - 0.12.0-1 - 
libpcre - 8.00-1 - 
libpng - 1.2.44-1 - 
libpopt - 1.15-1 - 
librsvg - 2.26.3-1 - 
libselinux - 2.0.98-1 - 
libsepol - 2.0.42-1 - 
libsmtp - 0.1.0-1 - 
libsoup - 2.32.1-1 - 
libsysfs - 2.1.0-1 - 
libtasn1 - 2.9-1 - 
libtheora - 1.1.1-1 - 
libusb - 1.0.8-1 - 
libusb-compat - 0.1.3-1 - 
libvorbis - 1.2.3-1 - 
libwnck - 2.28.0-2 - 
libxcb - 1.5-1 - 
libxfce4ui - 4.8.0-2 - 
libxfce4util - 4.8.1-1 - 
libxfcegui4 - 4.8.0-2 - 
libxklavier - 4.0-1 - 
libxml2 - 2.7.7-1 - 
libxslt - 1.1.26-1 - 
linux-pam - 1.1.3-2 - 
logviewer - 0.2-1 - 
lrzsz - 0.12.20-1 - 
lua - 5.1.4-1 - 
luasql - 2.1.1-1 - 
luasys - 1.8-1 - 
memcached - 1.4.5-2 - 
memedit - 0.7-1 - 
mesalib - 7.8.2-1 - 
mgetty - 1.1.36-5 - 
midori - 0.3.0-1 - 
minicom - 2.4-5 - 
mousepad - 0.2.16-3 - 
nano - 1.3.10-5 - 
ncurses - 5.6-1 -  
ntp - 4.2.6-5 - 
openldap - 2.4.23-5 - 
openssh - 5.3p1-1 - 
openssl - 0.9.8q-5 - 
openvpn - 2.1.1-5 - 
orbit2 - 2.14.19-1 - 
pango - 1.26.0-1 - 
pciutils - 3.1.2-1 - 
pekwm - 0.1.12-5 - 
pixman - 0.21.2-1 - 
policykit - 0.9-1 - 
popend - 0.1-1 - 
poppler - 0.14.5-1 - 
postgresql - 8.2.12-1 - 
ppp - 2.4.4-1 - 
procps - 3.2.8-1 - 
proftpd - 1.3.3a-5 - 
python - 2.6.4-5 - 
rc-once - 1.0.0-1 - 
readline - 6.1-1 - 
rootfs - 1.0.0-1 - 
screen - 4.0.2-1 - 
setserial - 2.17-1 - 
shared-mime-info - 0.90-1 - 
sqlite - 3.6.22-1 - 
sssd - 1.1.0-3 - 
startup-notification - 0.9-1 - 
strace - 4.5.20-1 - 
syslogng - 2.0.9-1 - 
syslogroller - 0.1-1 - 
talloc - 2.0.1-1 - 
tcpdump - 4.1.1-1 - 
tdb - 1.2.0-1 - 
terminal - 0.4.5-2 - 
tevent - 0.9.8-1 - 
thunar - 1.2.0-2 - 
timezone - 1.0-1 - 
tslib - 1.0-1 - 
udev - 162-3 - 
usbutils - 0.90-1 - 
utelnetd - 0.1.11-1 - 
util-linux-ng - 2.18-1 - 
vim - 7.3-4 - 
vte - 0.23.5-1 - 
webkit - 1.2.6-1 - 
wireless - 30-1 - 
wireshark - 1.4.2-1 - 
wpa-supplicant - 0.6.9-1 - 
xcb-util - 0.3.6-1 - 
xcursor-transparent-theme - 0.1.1-1 - 
xfce-utils - 4.8.0-1 - 
xfce4-appfinder - 4.8.0-1 - 
xfce4-panel - 4.8.1-1 - 
xfce4-session - 4.8.0-2 - 
xfce4-settings - 4.8.0-2 - 
xfce4-taskmanager - 1.0.0-3 - 
xfconf - 4.8.0-1 - 
xfdesktop - 4.8.0-2 - 
xfwm4 - 4.8.0-2 - 
xkeyboard-config - 2.0-1 - 
xmlrpc-c - 1.06.35-1 - 
xorg-app-iceauth - 1.0.4-1 - 
xorg-app-mkfontdir - 1.0.6-1 - 
xorg-app-mkfontscale - 1.0.8-1 - 
xorg-app-rgb - 1.0.4-1 - 
xorg-app-xauth - 1.0.5-1 - 
xorg-app-xdm - 1.1.10-1 - 
xorg-app-xinit - 1.2.1-1 - 
xorg-app-xkbcomp - 1.2.0-1 - 
xorg-app-xprop - 1.2.0-1 - 
xorg-app-xrandr - 1.3.4-1 - 
xorg-app-xrdb - 1.0.7-1 - 
xorg-app-xset - 1.2.1-1 - 
xorg-app-xsetroot - 1.1.0-1 - 
xorg-app-xvinfo - 1.1.1-1 - 
xorg-cursor - 0.0.1-1 - 
xorg-driver-input-evdev - 2.5.0-1 - 
xorg-driver-input-keyboard - 1.5.0-1 - 
xorg-driver-input-mouse - 1.6.0-1 - 
xorg-driver-input-tslib - 0.0.6-1 - 
xorg-driver-input-void - 1.3.1-1 - 
xorg-driver-video-intel - 2.14.0-1 - 
xorg-driver-video-psb - 0.36.0-1 - 
xorg-font-alias - 1.0.3-1 - 
xorg-fonts - 1.0.0-5 - 
xorg-lib-fontenc - 1.1.0-1 - 
xorg-lib-ice - 1.0.7-1 - 
xorg-lib-sm - 1.2.0-1 - 
xorg-lib-x11 - 1.4.0-1 - 
xorg-lib-xau - 1.0.6-1 - 
xorg-lib-xaw - 1.0.8-1 - 
xorg-lib-xcomposite - 0.4.3-1 - 
xorg-lib-xcursor - 1.1.11-1 - 
xorg-lib-xdamage - 1.1.3-1 - 
xorg-lib-xdmcp - 1.1.0-1 - 
xorg-lib-xext - 1.2.0-1 - 
xorg-lib-xfixes - 4.0.5-1 - 
xorg-lib-xfont - 1.4.3-1 - 
xorg-lib-xft - 2.2.0-1 - 
xorg-lib-xi - 1.4.0-1 - 
xorg-lib-xkbfile - 1.0.7-1 - 
xorg-lib-xkbui - 1.0.2-1 - 
xorg-lib-xmu - 1.1.0-1 - 
xorg-lib-xpm - 3.5.9-1 - 
xorg-lib-xrandr - 1.3.1-1 - 
xorg-lib-xrender - 0.9.6-1 - 
xorg-lib-xres - 1.0.5-1 - 
xorg-lib-xscrnsaver - 1.2.1-1 - 
xorg-lib-xt - 1.0.9-1 - 
xorg-lib-xv - 1.0.6-1 - 
xorg-lib-xvmc - 1.0.6-1 - 
xorg-lib-xxf86vm - 1.1.1-1 - 
xorg-server - 1.9.3-5 - 
xterm - 267-1 - 
zlib - 1.2.5-1 -
Comment 1 Nick Schermer editbugs 2011-02-12 18:21:20 CET
Did this also occur in xfce4-panel 4.8.0?
Comment 2 George McCollister 2011-02-14 14:19:32 CET
(In reply to comment #1)
> Did this also occur in xfce4-panel 4.8.0?

Yes it did. 4.6.x worked flawlessly though.
Comment 3 Nick Schermer editbugs 2011-02-19 17:37:45 CET
Could you attach the output of 'PANEL_DEBUG=1 xfce4-panel' and then reproduce the crash.
Comment 4 Rob McMullen 2011-02-20 05:39:15 CET
(In reply to comment #3)
> Could you attach the output of 'PANEL_DEBUG=1 xfce4-panel' and then reproduce
> the crash.

I have a similar problem but it only occurs on the second monitor.  Display 0:0 seems fine, but display 0:1 crashes.  'PANEL_DEBUG=1 xfce4-panel' produces:

xfce4-panel(main): version 4.8.1 on gtk+ 2.20.1 (2.20.1), glib 2.24.1 (2.24.1)
xfce4-panel(module-factory): reading /usr/share/xfce4/panel/plugins
xfce4-panel(module-factory): reading /usr/share/xfce4/panel-plugins
xfce4-panel(base-window): 0x1b10000: rgba colormap=true, compositing=false
xfce4-panel(base-window): 0x1b10000: compositing=false
xfce4-panel(display-layout): 0x1b10000: display=:0.1, screen-0[0x1ab6b40]=[1920,1080] (monitor-0=[0,0;1920,1080]), screen-1[0x1ae19d0]=[1280,1024] (monitor-0=[0,0;1280,1024])
xfce4-panel(positioning): 0x1b10000: screen=0x1ab6b40, monitors=1, output-name=screen-0, span-monitors=false, base=0,1049
xfce4-panel(positioning): 0x1b10000: working-area: screen=0x1ab6b40, x=0, y=0, w=1920, h=1080
The program 'xfce4-panel' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 141 error_code 8 request_code 1 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.)

Perhaps it is assuming display 0's info when it tries creating stuff on display 1?  My system has display 0 dimensions 1920x1080 and display 1 1280x1024.
Comment 5 Rob McMullen 2011-02-21 05:51:05 CET
Latest master HEAD fixes it for me.
Comment 6 George McCollister 2011-03-01 15:38:35 CET
I'm still having the problem with 4.8.2. I figured if HEAD fixed it for Rob on the 21st that 4.8.2 would have the fix since it was released on the 25th. Do you need me to try using the git HEAD?

PANEL_DEBUG=1 xfce4-panel
xfce4-panel(main): version 4.8.2 on gtk+ 2.18.7 (2.18.7), glib 2.24.1 (2.26.1)
xfce4-panel(module-factory): reading /usr/share/xfce4/panel/plugins
xfce4-panel(module-factory): reading /usr/share/xfce4/panel-plugins
xfce4-panel(base-window): 0x80d8038: rgba colormap=0x80c3858, compositing=false
xfce4-panel(display-layout): 0x80d8038: display=:0.0{comp=false}, screen-0[0x80c00c8]=[1680,1050] (monitor-0=[0,0;1680,1050])
xfce4-panel(positioning): 0x80d8038: screen=0x80c00c8, monitors=1, output-name=(null), span-monitors=false, base=0,0
xfce4-panel(positioning): 0x80d8038: working-area: screen=0x80c00c8, x=0, y=0, w=1680, h=1050
xfce4-panel(struts): 0x80d8038: top=31, start_x=0, end_x=1680
xfce4-panel(applicationsmenu): XDG_MENU_PREFIX is set to "xfce-"
xfce4-panel(module): new item (type=object-type, name=applicationsmenu, id=1)
xfce4-panel(module): new item (type=object-type, name=actions, id=2)
xfce4-panel(module): new item (type=object-type, name=tasklist, id=3)
xfce4-panel(module): new item (type=object-type, name=pager, id=4)
xfce4-panel(module): new item (type=object-type, name=clock, id=5)
xfce4-panel(external): register dbus path /org/xfce/Panel/Wrapper/6
xfce4-panel(module): new item (type=external-wrapper, name=systray, id=6)
xfce4-panel(external): systray-6: child spawned; pid=1522, argc=8
xfce4-panel(base-window): 0x80d81d0: rgba colormap=0x80c3858, compositing=false
xfce4-panel(display-layout): 0x80d81d0: display=:0.0{comp=false}, screen-0[0x80c00c8]=[1680,1050] (monitor-0=[0,0;1680,1050])
xfce4-panel(positioning): 0x80d81d0: screen=0x80c00c8, monitors=1, output-name=(null), span-monitors=false, base=0,0
xfce4-panel(positioning): 0x80d81d0: working-area: screen=0x80c00c8, x=0, y=0, w=1680, h=1050
xfce4-panel(struts): 0x80d81d0: bottom=41, start_x=756, end_x=924
xfce4-panel(module): new item (type=object-type, name=showdesktop, id=7)
xfce4-panel(module): new item (type=object-type, name=separator, id=8)
xfce4-panel(module): new item (type=object-type, name=launcher, id=9)
xfce4-panel(module): new item (type=object-type, name=launcher, id=10)
xfce4-panel(module): new item (type=object-type, name=launcher, id=11)
xfce4-panel(module): new item (type=object-type, name=launcher, id=12)
xfce4-panel(module): new item (type=object-type, name=separator, id=13)
xfce4-panel(module): new item (type=object-type, name=directorymenu, id=14)
xfce4-panel(struts): 0x80d81d0: bottom=41, start_x=711, end_x=969
xfce4-panel(external): systray-6: child is embedded; 4 properties in queue
xfce4-panel(systray): registered manager on screen 0
The program 'xfce4-panel' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch'.
  (Details: serial 1384 error_code 8 request_code 56 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.)
bash-3.2# The program 'wrapper' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow'.
  (Details: serial 255 error_code 3 request_code 10 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.)
Comment 7 Rob McMullen 2011-03-01 18:09:30 CET
(In reply to comment #6)
> I'm still having the problem with 4.8.2. I figured if HEAD fixed it for Rob on
> the 21st that 4.8.2 would have the fix since it was released on the 25th. Do
> you need me to try using the git HEAD?

I wonder if I was hitting a different issue that presented itself with similar errors?

I was also seeing bug 7161 and git HEAD at the time fixed this one and that one both.  But I never got a crash at gdk_event_check at all, so maybe I was just having a problem that appeared similar???
Comment 8 George McCollister 2011-04-01 18:25:03 CEST
I still haven't found a solution for this problem. It happens on every machine I've tried running my distro. Does anyone have any suggestion that might lead to resolving this problem? In the bug description I list the versions of every package in the distro, do the versions of related packages (possibly GTK+ or X11) arouse any suspicion?
Comment 9 George McCollister 2011-05-24 20:52:50 CEST
This still happens with xfce4-panel 4.8.3! How frusterating. This is a pretty minimal  system (uses busybox for a lot of things) maybe its trying to exec some program that doesn't exist ?!?!
Comment 10 George McCollister 2011-05-24 21:43:21 CEST
If I edit .config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml and remove all the plugins then restart xfce and login as the same user I can right click on the panel without it crashing. I can even right click on it and add plugins. Even once they are added I can right click on the panel with no crash. However, if I log out then log back in again after adding plugins it starts crashing again.
Comment 11 Nick Schermer editbugs 2011-05-25 08:37:17 CEST
Does it also crash without plugins (after logging in again?) If not, does one of the plugins trigger the problem. A backtrace with debugging enabled will help too. Moving the plugin to another screen, does that help?

Nobody reported this problem, so it is hard to find, esp since it crashes on something internal (in gdk/x11), maybe caused by something we did earlier...
Comment 12 George McCollister 2011-05-25 15:17:36 CEST
(In reply to comment #11)
> Does it also crash without plugins (after logging in again?) If not, does one
> of the plugins trigger the problem. A backtrace with debugging enabled will
> help too. Moving the plugin to another screen, does that help?
> 
> Nobody reported this problem, so it is hard to find, esp since it crashes on
> something internal (in gdk/x11), maybe caused by something we did earlier...

I've narrowed it down a bit. To keep things simple I only have a single display and a single xfce-panel.

After logging back here is the behavior for the different plugins (with maximum of 1 plugin enabled at a time). I didn't change properties for any plugins after adding them, I just left them with the defaults:
No plugins - no crash
showdesktop - no crash
separator - no crash
applicationsmenu - right clicking anywhere on panel causes crash.
actions - no crash
launcher - no crash
clock - right clicking anywhere on panel causes crash.
directorymenu - no crash
systray - no crash
xfsm-logout-plugin - clicking on the plugin causes the plugin to crash but the panel stays running (this behavior also occurs immediately after adding it, without logging out and logging back in). click elsewhere on the panel doesn't cause a crash.
tasklist - no crash
windowmenu - no crash
pager - crashes the entire panel as soon as it is added. If I add it manually in xfce4-panel.xml and start xfce it works fine, no crash. However if I right click and select "Add New Items" the entire panel will crash.

There is a full backtrace included in the description for this bug. If you need me to do it differently just specify.
Comment 13 Nick Schermer editbugs 2011-05-28 15:23:35 CEST
And does it occur with compositing disabled?
Comment 14 George McCollister 2011-06-06 19:45:04 CEST
(In reply to comment #13)
> And does it occur with compositing disabled?

Yes it does. I did not have compositing turned on. I just turned it on and it seems to behave the same.
Comment 15 George McCollister 2011-06-13 15:03:16 CEST
Upgrading to gtk+ 2.24.4 didn't help.
However then upgrading cairo from 1.8.10 to 1.10.2 seems to have fixed the problem.

Is anyone else running xfce 4.8.x with cairo 1.8.x? Maybe 1.10.x should be required?

Bug #7270

Reported by:
George McCollister
Reported on: 2011-02-11
Last modified on: 2011-09-11

People

Assignee:
Nick Schermer
CC List:
1 user

Version

Attachments

Additional information