Bug 264408

Summary: amule crashes at startup
Product: [Plasma] Oxygen Reporter: nucleo <nucleo>
Component: gtk2-engineAssignee: Hugo Pereira Da Costa <hugo.pereira.da.costa>
Status: CLOSED FIXED    
Severity: crash CC: b7.10110111, hugo.pereira.da.costa, web
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description nucleo 2011-01-27 03:39:40 UTC
Version:           unspecified
OS:                Linux

Amule crashes at start if oxygen-gtk used.

Starting program: /usr/bin/amule 
[Thread debugging using libthread_db enabled]
Detaching after fork from child process 5879.
Initialising aMule 2.2.6 using wxGTK2 v2.8.11
Checking if there is an instance already running...
No other instances are running.
Detaching after fork from child process 5880.
Detaching after fork from child process 5881.
Detaching after fork from child process 5882.
ListenSocket: Ok.
Detaching after fork from child process 5883.
Detaching after fork from child process 5884.
Detaching after fork from child process 5885.

Gdk-ERROR **: The program 'amule' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 2937 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...

Program received signal SIGABRT, Aborted.
0x0012f416 in __kernel_vsyscall ()
Missing separate debuginfos, use: debuginfo-install GeoIP-1.4.7-0.1.20090931cvs.fc12.i686 SDL-1.2.14-8.fc14.i686 atk-1.32.0-1.fc14.i686 cairo-1.10.2-1.fc14.i686 cryptopp-5.6.1-3.fc14.i686 expat-2.0.1-10.fc13.i686 fontconfig-2.8.0-2.fc14.i686 freetype-freeworld-2.4.2-3.fc14.i686 gdk-pixbuf2-2.22.0-1.fc14.i686 libICE-1.0.6-2.fc13.i686 libSM-1.1.0-7.fc12.i686 libXau-1.0.6-1.fc14.i686 libXcomposite-0.4.2-1.fc14.i686 libXcursor-1.1.10-5.fc14.i686 libXdamage-1.1.3-1.fc14.i686 libXext-1.1.2-2.fc14.i686 libXfixes-4.0.5-1.fc14.i686 libXi-1.3.2-1.fc14.i686 libXinerama-1.1-2.fc13.i686 libXrandr-1.3.0-5.fc13.i686 libXrender-0.9.6-1.fc14.i686 libXxf86vm-1.1.0-1.fc13.i686 libgcc-4.5.1-4.fc14.i686 libjpeg-turbo-1.0.1-1.fc14.1.i686 libpng-1.2.44-1.fc14.i686 libselinux-2.0.96-6.fc14.1.i686 libstdc++-4.5.1-4.fc14.i686 libtiff-3.9.4-1.fc14.i686 libupnp-1.6.6-3.fc12.i686 libuuid-2.18-4.7.fc14.i686 libxcb-1.7-1.fc14.i686 pango-1.28.1-4.fc14.i686 pixman-0.18.4-1.fc14.i686 zlib-1.2.5-2.fc14.i686
(gdb) bt
#0  0x0012f416 in __kernel_vsyscall ()
#1  0x00d44531 in raise () from /lib/libc.so.6
#2  0x00d45f9e in abort () from /lib/libc.so.6
#3  0x0177c487 in g_logv (log_domain=0x13cc337 "Gdk", log_level=<value optimized out>, format=0x13ea493 "%s", args1=0xbfffdf3c "\330\020\206\b\b")
    at gmessages.c:557
#4  0x0177c4c3 in g_log (log_domain=0x13cc337 "Gdk", log_level=G_LOG_LEVEL_ERROR, format=0x13ea493 "%s") at gmessages.c:577
#5  0x013b44b3 in gdk_x_error (display=0x863e600, error=0xbfffe00c) at gdkmain-x11.c:466
#6  0x019f0ccd in _XError (dpy=0x863e600, rep=0x88605b0) at XlibInt.c:3105
#7  0x019f79f2 in handle_error (dpy=0x863e600, err=0x88605b0, in_XReply=1) at xcb_io.c:166
#8  0x019f7a3d in handle_response (dpy=0x863e600, response=0x88605b0, in_XReply=1) at xcb_io.c:265
#9  0x019f84e8 in _XReply (dpy=0x863e600, rep=0xbfffe1c4, extra=0, discard=1) at xcb_io.c:554
#10 0x019da1a2 in XInternAtom (dpy=0x863e600, name=0x6c4aa9 "_NET_SYSTEM_TRAY_OPCODE", onlyIfExists=0) at IntAtom.c:182
#11 0x006c134b in egg_tray_icon_realize (widget=0x885d000) at src/gtk/eggtrayicon.c:505
#12 0x016f7bc4 in g_cclosure_marshal_VOID__VOID (closure=0x8650b78, return_value=0x0, n_param_values=1, param_values=0x8856350, invocation_hint=0xbfffe4e0, 
    marshal_data=0x6c1200) at gmarshal.c:79
#13 0x016da538 in g_type_class_meta_marshal (closure=0x8650b78, return_value=0x0, n_param_values=1, param_values=0x8856350, invocation_hint=0xbfffe4e0, 
    marshal_data=0x74) at gclosure.c:877
#14 0x016dbbe3 in g_closure_invoke (closure=0x8650b78, return_value=0x0, n_param_values=1, param_values=0x8856350, invocation_hint=0xbfffe4e0)
    at gclosure.c:766
#15 0x016ed86e in signal_emit_unlocked_R (node=0x864a198, detail=0, instance=0x885d000, emission_return=0x0, instance_and_params=0x8856350)
    at gsignal.c:3182
#16 0x016f724e in g_signal_emit_valist (instance=0x885d000, signal_id=16, detail=0, var_args=0xbfffe69c "\204\272\064\001") at gsignal.c:2983
#17 0x016f7403 in g_signal_emit (instance=0x885d000, signal_id=16, detail=0) at gsignal.c:3040
#18 0x011502b7 in IA__gtk_widget_realize (widget=0x885d000) at gtkwidget.c:3537
#19 0x0115d758 in gtk_window_show (widget=0x885d000) at gtkwindow.c:4532
#20 0x01034a8d in gtk_plug_show (widget=0x885d000) at gtkplug.c:684
#21 0x016f7bc4 in g_cclosure_marshal_VOID__VOID (closure=0x86389d8, return_value=0x0, n_param_values=1, param_values=0x8856320, invocation_hint=0xbfffe920, 
    marshal_data=0x1034a20) at gmarshal.c:79
#22 0x016da538 in g_type_class_meta_marshal (closure=0x86389d8, return_value=0x0, n_param_values=1, param_values=0x8856320, invocation_hint=0xbfffe920, 
    marshal_data=0x5c) at gclosure.c:877
#23 0x016dbbe3 in g_closure_invoke (closure=0x86389d8, return_value=0x0, n_param_values=1, param_values=0x8856320, invocation_hint=0xbfffe920)
    at gclosure.c:766
#24 0x016ed86e in signal_emit_unlocked_R (node=0x864a0e8, detail=0, instance=0x885d000, emission_return=0x0, instance_and_params=0x8856320)
    at gsignal.c:3182
#25 0x016f724e in g_signal_emit_valist (instance=0x885d000, signal_id=12, detail=0, var_args=0xbfffeadc "J\026\025\001\\}\242") at gsignal.c:2983
#26 0x016f7403 in g_signal_emit (instance=0x885d000, signal_id=12, detail=0) at gsignal.c:3040
#27 0x011516e2 in IA__gtk_widget_show (widget=0x885d000) at gtkwidget.c:3221
#28 0x0082aeac in wxWindow::Show (this=0x885c400, show=true) at src/gtk/window.cpp:3104
#29 0x00823624 in wxTopLevelWindowGTK::Show (this=0x885c400, show=true) at src/gtk/toplevel.cpp:944
#30 0x006bd768 in wxTaskBarIcon::SetIcon (this=0x885bc00, icon=..., tooltip=...) at src/unix/taskbarx11.cpp:304
#31 0x081a386c in CMuleTrayIcon::UpdateTray (this=0x885bc00) at MuleTrayIcon.cpp:331
#32 0x081a3b16 in CMuleTrayIcon::SetTrayIcon (this=0x885bc00, Icon=0, percent=0) at MuleTrayIcon.cpp:294
#33 0x08153e02 in CamuleDlg::UpdateTrayIcon (this=0x8805300, percent=0) at amuleDlg.cpp:358
#34 0x08153e64 in CamuleDlg::CreateSystray (this=0x8805300) at amuleDlg.cpp:376
#35 0x0815c512 in CamuleDlg::CamuleDlg (this=0x8805300, pParent=0x0, title=..., where=..., dlg_size=...) at amuleDlg.cpp:266
#36 0x08151f4e in CamuleGuiBase::InitGui (this=0x86299bc, geometry_enabled=false, geom_string=...) at amule-gui.cpp:206
#37 0x08152278 in CamuleGuiApp::InitGui (this=0x86298a8, geometry_enable=false, geometry_string=...) at amule-gui.cpp:231
#38 0x0808bd5b in CamuleApp::OnInit (this=0x86298a8) at amule.cpp:741
#39 0x081515f5 in CamuleGuiApp::OnInit (this=0x86298a8) at amule-gui.cpp:263
#40 0x00ae2948 in wxEntry (argc=@0xbad424, argv=0x85fb008) at src/common/init.cpp:432
#41 0x00ae2a08 in wxEntry (argc=@0xbffff2b0, argv=0xbffff354) at src/common/init.cpp:460
#42 0x081522cc in main (argc=1, argv=0xbffff354) at amule-gui.cpp:95


Reproducible: Always
Comment 1 Ruslan Kabatsayev 2011-01-27 03:45:02 UTC
Does it still crash with latest git version? You can get latest version with this command:
git clone git://anongit.kde.org/oxygen-gtk -b 1.0
Comment 2 nucleo 2011-01-27 03:58:27 UTC
(In reply to comment #1)
> Does it still crash with latest git version? 
No, it not crashes with latest snapshot.
Sorry, I thought my previous snapshot was recent enough.
Comment 3 Hugo Pereira Da Costa 2011-01-27 07:36:31 UTC
hehe well, we tend to push between 10 to 50 commits per day these days :)