GNOME Bugzilla – Bug 549192
Banshee crashes when attempting to access DAAP share
Last modified: 2008-09-08 12:02:44 UTC
Steps to reproduce: 1. Open Banshee 2. Wait for DAAP share to appear 3. Click on DAAP share Stack trace: banshee-1: ../../src/xcb_lock.c:33: _XCBUnlockDisplay: Assertion `xcb_get_request_sent(dpy->xcb->connection) == dpy->request' failed. Stacktrace: at (wrapper managed-to-native) GLib.Object.g_signal_chain_from_overridden (intptr,GLib.Value&) <0x00004> at (wrapper managed-to-native) GLib.Object.g_signal_chain_from_overridden (intptr,GLib.Value&) <0xffffffff> at Gtk.Widget.OnExposeEvent (Gdk.EventExpose) <0x00166> at Banshee.Sources.Gui.SourceView.OnExposeEvent (Gdk.EventExpose) <0x00038> at Gtk.Widget.exposeevent_cb (intptr,intptr) <0x0006f> at (wrapper native-to-managed) Gtk.Widget.exposeevent_cb (intptr,intptr) <0xffffffff> at (wrapper managed-to-native) Gtk.Application.gtk_main () <0x00004> at (wrapper managed-to-native) Gtk.Application.gtk_main () <0xffffffff> at Gtk.Application.Run () <0x00007> at Banshee.Gui.GtkBaseClient.Run () <0x00064> at Banshee.Gui.GtkBaseClient.Startup () <0x00034> at Hyena.Gui.CleanRoomStartup.Startup (Hyena.Gui.CleanRoomStartup/StartupInvocationHandler) <0x000a2> at Banshee.Gui.GtkBaseClient.Entry () <0x0004d> at Nereid.Client.Main (string[]) <0x00133> at (wrapper runtime-invoke) Nereid.Client.runtime_invoke_void_string[] (object,intptr,intptr,intptr) <0xffffffff> Native stacktrace: banshee-1 [0x816b1fa] [0xb809f40c] /lib/tls/i686/cmov/libc.so.6(abort+0x101) [0xb7e65a01] /lib/tls/i686/cmov/libc.so.6(__assert_fail+0xee) [0xb7e5d10e] /usr/lib/libX11.so.6 [0xb69ef4a6] /usr/lib/libX11.so.6(XQueryPointer+0xed) [0xb69de2ad] /usr/lib/libgdk-x11-2.0.so.0 [0xb6b37686] /usr/lib/libgdk-x11-2.0.so.0(gdk_window_get_pointer+0x9c) [0xb6b09dfc] /usr/lib/libgtk-x11-2.0.so.0 [0xb6dd1c3e] /usr/lib/libgtk-x11-2.0.so.0 [0xb6cc58d4] /usr/lib/libgobject-2.0.so.0 [0xb695b079] /usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x129) [0xb695c759] /usr/lib/libgobject-2.0.so.0(g_signal_chain_from_overridden+0x455) [0xb696b9c5] [0xb4c8813e] [0xb3b72337] [0xb3b62cf1] [0xb3b71f20] [0xb4c844c8] /usr/lib/libgtk-x11-2.0.so.0 [0xb6cc58d4] /usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x129) [0xb695c759] /usr/lib/libgobject-2.0.so.0 [0xb697111a] /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x617) [0xb6972947] /usr/lib/libgobject-2.0.so.0(g_signal_emit+0x29) [0xb6972f69] /usr/lib/libgtk-x11-2.0.so.0 [0xb6de4667] /usr/lib/libgtk-x11-2.0.so.0(gtk_main_do_event+0x534) [0xb6cc0004] /usr/lib/libgdk-x11-2.0.so.0 [0xb6b0af33] /usr/lib/libgdk-x11-2.0.so.0(gdk_window_process_all_updates+0xf8) [0xb6b0b5c8] /usr/lib/libgtk-x11-2.0.so.0 [0xb6c27cff] /usr/lib/libgdk-x11-2.0.so.0 [0xb6af181b] /usr/lib/libglib-2.0.so.0 [0xb7fff1e1] /usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x176) [0xb8000dd6] /usr/lib/libglib-2.0.so.0 [0xb8004193] /usr/lib/libglib-2.0.so.0(g_main_loop_run+0x1e7) [0xb8004577] /usr/lib/libgtk-x11-2.0.so.0(gtk_main+0xb4) [0xb6cc0264] [0xb3b6e8b6] [0xb3b6e880] [0xb3b6e58d] [0xb6efad05] [0xb6efabeb] [0xb6efaace] [0xb7a4b5d4] [0xb7a3f1c3] banshee-1(mono_runtime_exec_main+0xbb) [0x809c63b] banshee-1(mono_runtime_run_main+0x173) [0x809c933] banshee-1(mono_main+0x6a9) [0x805acd9] banshee-1 [0x805a122] /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0) [0xb7e4f450] banshee-1 [0x805a091] Debug info from gdb: (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread 0xb7df7940 (LWP 721)] [New Thread 0xb1645b90 (LWP 740)] [New Thread 0xb174ab90 (LWP 739)] [New Thread 0xb1866b90 (LWP 738)] [New Thread 0xb1c3ab90 (LWP 737)] [New Thread 0xb18d4b90 (LWP 736)] [New Thread 0xb1a0cb90 (LWP 735)] [New Thread 0xb1b11b90 (LWP 734)] [New Thread 0xb41ffb90 (LWP 729)] [New Thread 0xb4435b90 (LWP 728)] [New Thread 0xb4536b90 (LWP 727)] [New Thread 0xb63a3b90 (LWP 724)] [New Thread 0xb74b9b90 (LWP 723)] [New Thread 0xb7a3eb90 (LWP 722)] (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) 0xb809f424 in __kernel_vsyscall () 14 Thread 0xb7a3eb90 (LWP 722) 0xb809f424 in __kernel_vsyscall () 13 Thread 0xb74b9b90 (LWP 723) 0xb809f424 in __kernel_vsyscall () 12 Thread 0xb63a3b90 (LWP 724) 0xb809f424 in __kernel_vsyscall () 11 Thread 0xb4536b90 (LWP 727) 0xb809f424 in __kernel_vsyscall () 10 Thread 0xb4435b90 (LWP 728) 0xb809f424 in __kernel_vsyscall () 9 Thread 0xb41ffb90 (LWP 729) 0xb809f424 in __kernel_vsyscall () 8 Thread 0xb1b11b90 (LWP 734) 0xb809f424 in __kernel_vsyscall () 7 Thread 0xb1a0cb90 (LWP 735) 0xb809f424 in __kernel_vsyscall () 6 Thread 0xb18d4b90 (LWP 736) 0xb809f424 in __kernel_vsyscall () 5 Thread 0xb1c3ab90 (LWP 737) 0xb809f424 in __kernel_vsyscall () 4 Thread 0xb1866b90 (LWP 738) 0xb809f424 in __kernel_vsyscall () 3 Thread 0xb174ab90 (LWP 739) 0xb809f424 in __kernel_vsyscall () 2 Thread 0xb1645b90 (LWP 740) 0xb809f424 in __kernel_vsyscall () 1 Thread 0xb7df7940 (LWP 721) 0xb809f424 in __kernel_vsyscall ()
+ Trace 205598
Thread 1 (Thread 0xb7df7940 (LWP 721))
Other information: If it doesn't crash, it hangs, and if not, it says "Unable to connect to music share" and gives four reasons, of which one of them is highlighted: "The music share is hosted by iTunes 7". I can confirm that the share is not an iTunes share, because it's hosted by Frostwire, on the same system as the system running Banshee.
Created attachment 117296 [details] [review] Fix the crash on DAAP error This patch proxies the call to ShowErrorView to the main thread, as it does GTK calls.
Thanks for taking the time to report this bug. Unfortunately, that stack trace is missing some elements that will help a lot to solve the problem, so it will be hard for the developers to fix that crash. Can you get us a stack trace with debugging symbols? Please see http://live.gnome.org/GettingTraces for more information on how to do so and reopen this bug or report a new one. Thanks in advance!
I missed comment #1, sorry.
Hyperair, would you be able to review Bertrand's patch?
Yes I had already applied and am using it with revision 4425. Sorry I forgot to post back here. It works.
Hyperair, thanks for testing and responding. Bertrand, thanks for your quick patch! :P
Looks good, please comit.
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.