After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 549192 - Banshee crashes when attempting to access DAAP share
Banshee crashes when attempting to access DAAP share
Status: RESOLVED FIXED
Product: banshee
Classification: Other
Component: DAAP
git master
Other All
: High critical
: 1.x
Assigned To: Banshee Maintainers
Banshee Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-08-24 11:12 UTC by Chow Loong Jin
Modified: 2008-09-08 12:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix the crash on DAAP error (742 bytes, patch)
2008-08-24 12:56 UTC, Bertrand Lorentz
committed Details | Review

Description Chow Loong Jin 2008-08-24 11:12:36 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 ()

Thread 1 (Thread 0xb7df7940 (LWP 721))

  • #0 __kernel_vsyscall
  • #1 select
    from /lib/tls/i686/cmov/libc.so.6
  • #2 g_spawn_sync
    from /usr/lib/libglib-2.0.so.0
  • #3 g_spawn_command_line_sync
    from /usr/lib/libglib-2.0.so.0
  • #4 ??
  • #5 <signal handler called>
  • #6 __kernel_vsyscall
  • #7 raise
    from /lib/tls/i686/cmov/libc.so.6
  • #8 abort
    from /lib/tls/i686/cmov/libc.so.6
  • #9 __assert_fail
    from /lib/tls/i686/cmov/libc.so.6
  • #10 ??
    from /usr/lib/libX11.so.6
  • #11 XQueryPointer
    from /usr/lib/libX11.so.6
  • #12 ??
    from /usr/lib/libgdk-x11-2.0.so.0
  • #13 gdk_window_get_pointer
    from /usr/lib/libgdk-x11-2.0.so.0
  • #14 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #15 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #16 ??
    from /usr/lib/libgobject-2.0.so.0
  • #17 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #18 g_signal_chain_from_overridden
    from /usr/lib/libgobject-2.0.so.0
  • #19 ??
  • #20 ??
  • #21 ??
  • #22 ??
  • #23 ??
  • #24 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #25 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #26 ??
    from /usr/lib/libgobject-2.0.so.0
  • #27 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #28 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #29 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #30 gtk_main_do_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #31 ??
    from /usr/lib/libgdk-x11-2.0.so.0
  • #32 gdk_window_process_all_updates
    from /usr/lib/libgdk-x11-2.0.so.0
  • #33 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #34 ??
    from /usr/lib/libgdk-x11-2.0.so.0
  • #35 ??
    from /usr/lib/libglib-2.0.so.0
  • #36 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #37 ??
    from /usr/lib/libglib-2.0.so.0
  • #38 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #39 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #40 ??
  • #41 ??
  • #42 ??
  • #43 ??
  • #44 ??
  • #45 ??
  • #46 ??
  • #47 ??
  • #48 mono_runtime_exec_main
  • #49 mono_runtime_run_main
  • #50 mono_main
  • #51 ??
  • #52 __libc_start_main
    from /lib/tls/i686/cmov/libc.so.6
  • #53 ??
  • #0 __kernel_vsyscall


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.
Comment 1 Bertrand Lorentz 2008-08-24 12:56:46 UTC
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.
Comment 2 Andrew Conkling 2008-08-24 19:51:42 UTC
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!
Comment 3 Andrew Conkling 2008-08-24 19:57:10 UTC
I missed comment #1, sorry.
Comment 4 Andrew Conkling 2008-08-24 19:57:44 UTC
Hyperair, would you be able to review Bertrand's patch?
Comment 5 Chow Loong Jin 2008-08-24 23:22:01 UTC
Yes I had already applied and am using it with revision 4425. Sorry I forgot to post back here. It works.
Comment 6 Andrew Conkling 2008-08-25 02:45:29 UTC
Hyperair, thanks for testing and responding. Bertrand, thanks for your quick patch! :P
Comment 7 Gabriel Burt 2008-09-07 22:21:13 UTC
Looks good, please comit.
Comment 8 Bertrand Lorentz 2008-09-08 12:02:44 UTC
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.