Version: svn rev. 749288 (using KDE Devel) Installed from: Compiled sources Compiler: gcc-4.2.2 OS: Linux I was told by a couple of people it shouldn't be possible, but I can't reproduce this problem in twm or kde3. This appears to be some bad interaction with gdk. I have tried debugging it further by removing the trayicon option, so I don't know how it's happening, only that it is. Please, any information I can give to try to get to the bottom of this problem, please let me know. Thanks! Gdk-ERROR **: The program 'gmpc' received an X Window System error. This probably reflects a bug in the program. The error was 'BadMatch (invalid parameter attributes)'. (Details: serial 9007 error_code 8 request_code 2 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.) aborting... Trace/breakpoint trap (core dumped) Here's the bittrace, it looks a bit different. 0 IA__g_logv (log_domain=0x2b2f43531d74 "Gdk", log_level=<value optimized out>, format=0x2b2f4354e8c1 "%s", args1=0x7fff68f7c4d0) at gmessages.c:502 0000001 0x00002b2f4747a568 in IA__g_log (log_domain=0x2b2f47e70980 "", log_level=0, format=0xa2ab50 "&0000034;&65533;&65533;&65533;") at gmessages.c:517 0000002 0x00002b2f4351d73d in gdk_x_error (display=<value optimized out>, error=0x7fff68f7c640) at gdkmain-x11.c:641 0000003 0x00002b2f45a3f900 in _XError (dpy=0x698a00, rep=0x9a70b0) at XlibInt.c:2905 0000004 0x00002b2f45a46393 in process_responses (dpy=0x698a00, wait_for_first_event=0, current_error=0x7fff68f7c788, current_request=51440) at xcb_io.c:138 0000005 0x00002b2f45a466de in _XReply (dpy=0x698a00, rep=0x7fff68f7c7d0, extra=0, discard=1) at xcb_io.c:368 0000006 0x00002b2f45a3bab6 in XSync (dpy=0x698a00, discard=0) at Sync.c:48 0000007 0x00002b2f43061650 in IA__gtk_menu_shell_activate_item ( menu_shell=0x8d9250, menu_item=0x939380, force_deactivate=<value optimized out>) at gtkmenushell.c:1142 0000008 0x00002b2f430632ad in gtk_menu_shell_button_release (widget=0x8d9250, event=0xa0f650) at gtkmenushell.c:669 0000009 0x00002b2f43053e40 in _gtk_marshal_BOOLEAN__BOXED (closure=0x79ac50, return_value=0x7fff68f7ca80, n_param_values=<value optimized out>, param_values=0x7fff68f7cb90, invocation_hint=<value optimized out>, marshal_data=0x2b2f43059e38) at gtkmarshalers.c:84 0000010 0x00002b2f467db889 in IA__g_closure_invoke (closure=0x79ac50, return_value=0x7fff68f7ca80, n_param_values=2, param_values=0x7fff68f7cb90, invocation_hint=0x7fff68f7ca40) at gclosure.c:490 0000011 0x00002b2f467eb0bd in signal_emit_unlocked_R (node=0x79b630, detail=0, instance=0x8d9250, emission_return=0x7fff68f7cdb0, instance_and_params=0x7fff68f7cb90) at gsignal.c:2478 0000012 0x00002b2f467ebd3f in IA__g_signal_emit_valist (instance=0x8d9250, signal_id=<value optimized out>, detail=0, var_args=0x7fff68f7ce10) at gsignal.c:2209 0000013 0x00002b2f467ec14d in IA__g_signal_emit (instance=0x2b2f47e70980, signal_id=0, detail=10660688) at gsignal.c:2243 0000014 0x00002b2f4315e45c in gtk_widget_event_internal (widget=0x8d9250, event=0xa0f650) at gtkwidget.c:4675 0000015 0x00002b2f4304d8d5 in IA__gtk_propagate_event (widget=0x8d9250, event=0xa0f650) at gtkmain.c:2319 0000016 0x00002b2f4304e72b in IA__gtk_main_do_event (event=0xa0f650) at gtkmain.c:1539 0000017 0x00002b2f43514a01 in gdk_event_dispatch (source=<value optimized out>, callback=<value optimized out>, user_data=<value optimized out>) at gdkevents-x11.c:2351 0000018 0x00002b2f474728af in IA__g_main_context_dispatch (context=0x6b5650) at gmain.c:2061 0000019 0x00002b2f474757a7 in g_main_context_iterate (context=0x6b5650, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2694 0000020 0x00002b2f47475afc in IA__g_main_loop_run (loop=0x9f7510) at gmain.c:2898 0000021 0x00002b2f4304eb18 in IA__gtk_main () at gtkmain.c:1146 0000022 0x000000000041cdba in main (argc=1, argv=0x7fff68f7d2d8) at main.c:694
Sorry, the last bt was mangled due to taking it from another bug tracker. Here's a fresh one, since this reproduces every time. #0 IA__g_logv (log_domain=0x2af26c692d74 "Gdk", log_level=<value optimized out>, format=0x2af26c6af8c1 "%s", args1=0x7fff3fe1d3a0) at gmessages.c:502 #1 0x00002af2705db568 in IA__g_log (log_domain=0x2af270baf980 "", log_level=0, format=0xa00400 "\020\004") at gmessages.c:517 #2 0x00002af26c67e73d in gdk_x_error (display=<value optimized out>, error=0x7fff3fe1d510) at gdkmain-x11.c:641 #3 0x00002af26eba0900 in _XError (dpy=0x691a00, rep=0x9f5470) at XlibInt.c:2905 #4 0x00002af26eba7393 in process_responses (dpy=0x691a00, wait_for_first_event=0, current_error=0x7fff3fe1d658, current_request=8292) at xcb_io.c:138 #5 0x00002af26eba76de in _XReply (dpy=0x691a00, rep=0x7fff3fe1d6a0, extra=0, discard=1) at xcb_io.c:368 #6 0x00002af26eb9cab6 in XSync (dpy=0x691a00, discard=0) at Sync.c:48 #7 0x00002af26c1c2650 in IA__gtk_menu_shell_activate_item ( menu_shell=0x838120, menu_item=0x7eb030, force_deactivate=<value optimized out>) at gtkmenushell.c:1142 #8 0x00002af26c1c42ad in gtk_menu_shell_button_release (widget=0x838120, event=0x9a4200) at gtkmenushell.c:669 #9 0x00002af26c1b4e40 in _gtk_marshal_BOOLEAN__BOXED (closure=0x793230, return_value=0x7fff3fe1d950, n_param_values=<value optimized out>, param_values=0x7fff3fe1da60, invocation_hint=<value optimized out>, marshal_data=0x2af26c1bae38) at gtkmarshalers.c:84 #10 0x00002af26f93c889 in IA__g_closure_invoke (closure=0x793230, return_value=0x7fff3fe1d950, n_param_values=2, param_values=0x7fff3fe1da60, invocation_hint=0x7fff3fe1d910) at gclosure.c:490 #11 0x00002af26f94c0bd in signal_emit_unlocked_R (node=0x7932a0, detail=0, instance=0x838120, emission_return=0x7fff3fe1dc80, instance_and_params=0x7fff3fe1da60) at gsignal.c:2478 #12 0x00002af26f94cd3f in IA__g_signal_emit_valist (instance=0x838120, signal_id=<value optimized out>, detail=0, var_args=0x7fff3fe1dce0) at gsignal.c:2209 #13 0x00002af26f94d14d in IA__g_signal_emit (instance=0x2af270baf980, signal_id=0, detail=10486784) at gsignal.c:2243 #14 0x00002af26c2bf45c in gtk_widget_event_internal (widget=0x838120, event=0x9a4200) at gtkwidget.c:4675 #15 0x00002af26c1ae8d5 in IA__gtk_propagate_event (widget=0x838120, event=0x9a4200) at gtkmain.c:2319 #16 0x00002af26c1af72b in IA__gtk_main_do_event (event=0x9a4200) at gtkmain.c:1539 #17 0x00002af26c675a01 in gdk_event_dispatch (source=<value optimized out>, callback=<value optimized out>, user_data=<value optimized out>) at gdkevents-x11.c:2351 #18 0x00002af2705d38af in IA__g_main_context_dispatch (context=0x6ae6a0) at gmain.c:2061 #19 0x00002af2705d67a7 in g_main_context_iterate (context=0x6ae6a0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2694 #20 0x00002af2705d6afc in IA__g_main_loop_run (loop=0x90edd0) at gmain.c:2898 #21 0x00002af26c1afb18 in IA__gtk_main () at gtkmain.c:1146 #22 0x000000000041b554 in main (argc=1, argv=0x7fff3fe1e198) at main.c:694
Is it that application with a system tray icon?
Yes, but this application has support to disable the tray icon at configure time, and after doing it, the crash still occurs.
OK, the system tray was exactly what was causing this. --disable-trayicon was nonfunctional in gmpc for the revision I tried. Is this related to a known bug?
This bug still persists into KDE 4.0.0 (at least r757275).
*** This bug has been marked as a duplicate of 153193 ***