GNOME Bugzilla – Bug 334174
Banshee crashes with my music library
Last modified: 2006-04-20 16:24:03 UTC
Distribution: Ubuntu 6.04 (dapper) Package: banshee Severity: Normal Version: GNOME2.13.92 unspecified Gnome-Distributor: Ubuntu Synopsis: Banshee crashes with my music library Bugzilla-Product: banshee Bugzilla-Component: general Bugzilla-Version: unspecified BugBuddy-GnomeVersion: 2.0 (2.13.90) Description: Description of the crash: Banshee crashes during startup. I assume it's a probably with one of the files in my library, but I don't know which one it might be. Here is the additional information from the commandline when running my self-compiled banshee with the --debug option: burner@firefighter:/tmp/banshee/bin$ ./banshee --debug ** Running Banshee in Debug Mode ** Player Engine `Helix Framework Engine (hxclientkit)' failed init tests... disabling (Couldn't create player) Debug: [3/10/2006 5:17:54 PM] (Changed active playback engine) - GStreamer 0.10 Debug: [3/10/2006 5:17:54 PM] (Loaded primary playback engine) - GStreamer 0.10 Debug: [3/10/2006 5:17:54 PM] (Loaded Audio CD playback engine) - GStreamer 0.10 Debug: [3/10/2006 5:17:54 PM] (Audio CD Core Initialized) - Audioscrobbler starting protocol engine Debug: [3/10/2006 5:17:54 PM] (Registering Inotify watch) - /home/burner/Albums ***** A long list of a lot of the folders that contain my songs ***** Debug: [3/10/2006 5:17:55 PM] (Registering Inotify watch) - /home/burner/Albums/ropeadope Starting Inotify threads (Banshee:12642): GdkPixbuf-WARNING **: GdkPixbufLoader finalized without calling gdk_pixbuf_loader_close() - this is not allowed. You must explicitly end the data stream to the loader before dropping the last reference. (Banshee:12642): GdkPixbuf-WARNING **: GdkPixbufLoader finalized without calling gdk_pixbuf_loader_close() - this is not allowed. You must explicitly end the data stream to the loader before dropping the last reference. Building initial DAAP database from local library... Starting DAAP Server ================================================================= Got a SIGSEGV while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries used by your application. ================================================================= Stacktrace: in (wrapper managed-to-native) Avahi.EntryGroup:avahi_entry_group_add_service_strlst (intptr,int,Avahi.Protocol,Avahi.PublishFlags,byte[],byte[],byte[],byte[],uint16,intptr) <0x4> in (wrapper managed-to-native) Avahi.EntryGroup:avahi_entry_group_add_service_strlst (intptr,int,Avahi.Protocol,Avahi.PublishFlags,byte[],byte[],byte[],byte[],uint16,intptr) <0xffffffb0> in Avahi.EntryGroup:AddService (int,Avahi.Protocol,Avahi.PublishFlags,string,string,string,string,uint16,intptr) (at /build/buildd/avahi-0.6.9/avahi-sharp/EntryGroup.cs:245) in Avahi.EntryGroup:AddService (int,Avahi.Protocol,Avahi.PublishFlags,string,string,string,string,uint16,string[]) (at /build/buildd/avahi-0.6.9/avahi-sharp/EntryGroup.cs:220) in Avahi.EntryGroup:AddService (Avahi.PublishFlags,string,string,string,uint16,string[]) (at /build/buildd/avahi-0.6.9/avahi-sharp/EntryGroup.cs:206) in Avahi.EntryGroup:AddService (string,string,string,uint16,string[]) (at /build/buildd/avahi-0.6.9/avahi-sharp/EntryGroup.cs:200) in DAAP.Server:RegisterService () (at /home/burner/Desktop/banshee-0.10.7/src/Banshee.Plugins/Daap/daap-sharp/Server.cs:546) in DAAP.Server:Start () (at /home/burner/Desktop/banshee-0.10.7/src/Banshee.Plugins/Daap/daap-sharp/Server.cs:445) in Banshee.Plugins.Daap.DaapCore:StartServer () (at /home/burner/Desktop/banshee-0.10.7/src/Banshee.Plugins/Daap/DaapCore.cs:153) in Banshee.Plugins.Daap.DaapCore:LoadInitialServerDatabase () (at /home/burner/Desktop/banshee-0.10.7/src/Banshee.Plugins/Daap/DaapCore.cs:203) in Banshee.Plugins.Daap.DaapCore:OnLibraryReloaded (object,System.EventArgs) (at /home/burner/Desktop/banshee-0.10.7/src/Banshee.Plugins/Daap/DaapCore.cs:212) in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs) <0x29> in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs) <0x29> in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs) <0xffeca845> in <>AnonHelp<19>:<#AnonymousMethod>13 (object,System.EventArgs) <0x35> in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs) <0xffec8c52> in InvokeCB:Invoke () <0x1a> in (wrapper delegate-invoke) System.MulticastDelegate:invoke_bool () <0xffffffb2> in TimeoutProxy:Handler () <0x2a> in (wrapper native-to-managed) TimeoutProxy:Handler () <0x19a5987> in (wrapper managed-to-native) Gtk.Application:gtk_main () <0x4> in (wrapper managed-to-native) Gtk.Application:gtk_main () <0xffffffe7> in Gtk.Application:Run () <0x7> in Banshee.BansheeEntry:Startup (string[]) (at /home/burner/Desktop/banshee-0.10.7/src/Main.cs:100) in Banshee.BansheeEntry:Main (string[]) (at /home/burner/Desktop/banshee-0.10.7/src/Main.cs:57) in (wrapper runtime-invoke) System.Object:runtime_invoke_void_string[] (object,intptr,intptr,intptr) <0x645abf> Native stacktrace: /usr/lib/libmono.so.0(mono_handle_native_sigsegv+0xe3) [0x77dee1b6] /usr/lib/libmono.so.0 [0x77dafebe] [0xffffe440] /usr/lib/libdbus-1.so.2 [0x7656366a] /usr/lib/libdbus-1.so.2 [0x76563feb] /usr/lib/libdbus-1.so.2 [0x76562a6d] /usr/lib/libdbus-1.so.2 [0x76563460] /usr/lib/libdbus-1.so.2 [0x7654c69e] /usr/lib/libdbus-1.so.2 [0x7654d200] /usr/lib/libdbus-1.so.2 [0x7654e777] /usr/lib/libdbus-1.so.2(dbus_pending_call_block+0x1d) [0x7655c3cc] /usr/lib/libdbus-1.so.2(dbus_connection_send_with_reply_and_block+0x7a) [0x7654eed2] /usr/lib/libavahi-client.so.3(avahi_entry_group_add_service_strlst+0x201) [0x74acb89d] [0x7370fb2a] [0x7370fa61] [0x7370f8e6] [0x7370f82d] [0x7370f7ee] [0x7370ec57] [0x7370e79f] [0x7370e662] [0x7370dee5] [0x7370d8e4] [0x73843092] [0x7384306a] [0x7384306a] [0x7370d886] [0x73843082] [0x7370bc93] [0x7370b518] [0x7370b493] [0x76367a57] /usr/lib/libglib-2.0.so.0 [0x77d0d3a8] /usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x1d7) [0x77d0b7d7] /usr/lib/libglib-2.0.so.0 [0x77d0e896] /usr/lib/libglib-2.0.so.0(g_main_loop_run+0x1d6) [0x77d0ebb8] /usr/lib/libgtk-x11-2.0.so.0(gtk_main+0xb4) [0x76a73416] [0x7370add1] [0x7370ad90] [0x7778802f] [0x7778789b] [0x77787823] /usr/lib/libmono.so.0 [0x77dcd2b8] /usr/lib/libmono.so.0(mono_runtime_invoke+0x33) [0x77e2fd7d] /usr/lib/libmono.so.0(mono_runtime_exec_main+0x67) [0x77e32918] /usr/lib/libmono.so.0(mono_runtime_run_main+0x188) [0x77e35a80] /usr/lib/libmono.so.0(mono_jit_exec+0x90) [0x77ddf8ce] /usr/lib/libmono.so.0(mono_main+0x962) [0x77de02bf] /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xd2) [0x77b7bea2] banshee [0x8048459] ** (bug-buddy:12661): WARNING **: Couldn't load icon for Desktop Recorder /usr/libexec/Banshee: No such file or directory. Debugging Information: Backtrace was generated from '/usr/libexec/Banshee' (no debugging symbols found) Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread 2008443808 (LWP 12642)] [New Thread 1936722864 (LWP 12658)] [New Thread 1939155888 (LWP 12656)] [New Thread 1940208560 (LWP 12655)] [New Thread 1941294000 (LWP 12654)] [New Thread 1942346672 (LWP 12652)] [New Thread 1943464880 (LWP 12651)] [New Thread 1981684656 (LWP 12647)] [New Thread 1999334320 (LWP 12644)] [New Thread 2012470192 (LWP 12643)] 0xffffe410 in __kernel_vsyscall ()
+ Trace 66838
Thread 1 (Thread 2008443808 (LWP 12642))
------- Bug created by bug-buddy at 2006-03-10 22:29 -------
Probably a dupe of bug #334167 because it's the same music library using the same instance of gstreamer.
The crash here is with Avahi. Can you please disable the DAAP plugin? If disabling the DAAP plugin does not work, disable the rest of your plugins so we can isolate. You might also try updating avahi and avahi-sharp.
OK, will do when I next get to that machine. I'm running ubuntu/dapper, so hopefully it's already been fixed in a recent update...
Removing banshee-daap does indeed allow banshee to run. I'd like to use daap with banshe, though, and I use it on two other machines that are at the same dapper level. Any ideas on how to resolve this?
Dapper Drake recently updated all the Avahi packages - is this still not working for you?
Here's what I got on the commandline after updating to the latest dapper packages and rebooting. I've run banshee over an X11 tunnel because I'm not near the computer. I enabled the music sharing plugin, then enabled turned on sharing. Here's what I found on the commandline after the crash: Done processing track queue Building initial DAAP database from local library... Starting DAAP Server ================================================================= Got a SIGSEGV while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries used by your application. ================================================================= Stacktrace: in (wrapper managed-to-native) Avahi.EntryGroup:avahi_entry_group_add_service_strlst (intptr,int,Avahi.Protocol,Avahi.PublishFlags,byte[],byte[],byte[],byte[],uint16,intptr) <0x4> in (wrapper managed-to-native) Avahi.EntryGroup:avahi_entry_group_add_service_strlst (intptr,int,Avahi.Protocol,Avahi.PublishFlags,byte[],byte[],byte[],byte[],uint16,intptr) <0xffffffb0> in Avahi.EntryGroup:AddService (int,Avahi.Protocol,Avahi.PublishFlags,string,string,string,string,uint16,intptr) <0x78> in Avahi.EntryGroup:AddService (int,Avahi.Protocol,Avahi.PublishFlags,string,string,string,string,uint16,string[]) <0x9d> in Avahi.EntryGroup:AddService (Avahi.PublishFlags,string,string,string,uint16,string[]) <0x24> in Avahi.EntryGroup:AddService (string,string,string,uint16,string[]) <0x1d> in DAAP.Server:RegisterService () <0x196> in DAAP.Server:Start () <0x6e> in Banshee.Plugins.Daap.DaapCore:StartServer () <0x1f> in <>AnonHelp<7>:<#AnonymousMethod>5 (object,System.EventArgs) <0x60> in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs) <0xffedd49b> in GLib.Signal:voidObjectCallback (intptr,intptr) <0x93> in (wrapper native-to-managed) GLib.Signal:voidObjectCallback (intptr,intptr) <0x2542e72> in (wrapper managed-to-native) Gtk.Dialog:gtk_dialog_run (intptr) <0x4> in (wrapper managed-to-native) Gtk.Dialog:gtk_dialog_run (intptr) <0xffffffdd> in Gtk.Dialog:Run () <0x1d> in Banshee.Plugins.PluginCore:ShowPluginDialog () <0x24> in Banshee.PlayerUI:OnPluginsAction (object,System.EventArgs) <0x7> in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs) <0xffedd49b> in GLib.Signal:voidObjectCallback (intptr,intptr) <0x93> in (wrapper native-to-managed) GLib.Signal:voidObjectCallback (intptr,intptr) <0x2542e72> in (wrapper managed-to-native) Gtk.Application:gtk_main () <0x4> in (wrapper managed-to-native) Gtk.Application:gtk_main () <0xffffffe7> in Gtk.Application:Run () <0x7> in Banshee.BansheeEntry:Startup (string[]) <0x5a6> in Banshee.BansheeEntry:Main (string[]) <0xa> in (wrapper runtime-invoke) System.Object:runtime_invoke_void_string[] (object,intptr,intptr,intptr) <0x65fc3f> Native stacktrace: /usr/lib/libmono.so.0(mono_handle_native_sigsegv+0xe3) [0xb7e6343f] /usr/lib/libmono.so.0 [0xb7e2503e] [0xffffe440] /usr/lib/libdbus-1.so.2 [0xb68ec66a] /usr/lib/libdbus-1.so.2 [0xb68ecfeb] /usr/lib/libdbus-1.so.2 [0xb68eba6d] /usr/lib/libdbus-1.so.2 [0xb68ec460] /usr/lib/libdbus-1.so.2 [0xb68d569e] /usr/lib/libdbus-1.so.2 [0xb68d6200] /usr/lib/libdbus-1.so.2 [0xb68d7777] /usr/lib/libdbus-1.so.2(dbus_pending_call_block+0x1d) [0xb68e53cc] /usr/lib/libdbus-1.so.2(dbus_connection_send_with_reply_and_block+0x7a) [0xb68d7ed2] /usr/lib/libavahi-client.so.3(avahi_entry_group_add_service_strlst+0x201) [0xb4f7f89d] [0xb2dcffb2] [0xb2dcfee9] [0xb2dcfd6e] [0xb2dcfcb5] [0xb2dcfc76] [0xb2dcf84f] [0xb2dcf397] [0xb2dcf208] [0xb2dcf1c9] [0xb33ea0ba] [0xb32c7514] [0xb456a5e6] /usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x43) [0xb6aad423] /usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x11e) [0xb6aa179f] /usr/lib/libgobject-2.0.so.0 [0xb6ab08ba] /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x6b0) [0xb6ab1ae9] /usr/lib/libgobject-2.0.so.0(g_signal_emit+0x29) [0xb6ab1e59] /usr/lib/libgtk-x11-2.0.so.0(gtk_toggle_button_toggled+0x53) [0xb6e53091] /usr/lib/libgtk-x11-2.0.so.0 [0xb6e53414] /usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x43) [0xb6aad423] /usr/lib/libgobject-2.0.so.0 [0xb6aa116f] /usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x11e) [0xb6aa179f] /usr/lib/libgobject-2.0.so.0 [0xb6ab05ea] /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x6b0) [0xb6ab1ae9] /usr/lib/libgobject-2.0.so.0(g_signal_emit+0x29) [0xb6ab1e59] /usr/lib/libgtk-x11-2.0.so.0(gtk_button_clicked+0x53) [0xb6cf849f] /usr/lib/libgtk-x11-2.0.so.0 [0xb6e53472] /usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x43) [0xb6aad423] /usr/lib/libgobject-2.0.so.0 [0xb6aa116f] /usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x11e) [0xb6aa179f] /usr/lib/libgobject-2.0.so.0 [0xb6ab05ea] /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x6b0) [0xb6ab1ae9] /usr/lib/libgobject-2.0.so.0(g_signal_emit+0x29) [0xb6ab1e59] /usr/lib/libgtk-x11-2.0.so.0(gtk_button_released+0x56) [0xb6cf841c] /usr/lib/libgtk-x11-2.0.so.0 [0xb6cf938c] /usr/lib/libgtk-x11-2.0.so.0(_gtk_marshal_BOOLEAN__BOXED+0x58) [0xb6db9540] /usr/lib/libgobject-2.0.so.0 [0xb6aa116f] /usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x11e) [0xb6aa179f] /usr/lib/libgobject-2.0.so.0 [0xb6ab09d8] /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x41d) [0xb6ab1856] /usr/lib/libgobject-2.0.so.0(g_signal_emit+0x29) [0xb6ab1e59] /usr/lib/libgtk-x11-2.0.so.0 [0xb6e9b78f] /usr/lib/libgtk-x11-2.0.so.0(gtk_propagate_event+0xb6) [0xb6db7cbd] /usr/lib/libgtk-x11-2.0.so.0(gtk_main_do_event+0x300) [0xb6db80cb] /usr/lib/libgdk-x11-2.0.so.0 [0xb6c46e1c] /usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x1d7) [0xb7d627d7] /usr/lib/libglib-2.0.so.0 [0xb7d65896] /usr/lib/libglib-2.0.so.0(g_main_loop_run+0x1d6) [0xb7d65bb8] /usr/lib/libgtk-x11-2.0.so.0(gtk_dialog_run+0x18b) [0xb6d41343] [0xb2ef17bd] [0xb2ef176e] [0xb2eef3a5] [0xb32cc5f8] [0xb33ea0ba] [0xb32c7514] [0xb456a5e6] /usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x43) [0xb6aad423] /usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x11e) [0xb6aa179f] /usr/lib/libgobject-2.0.so.0 [0xb6ab08ba] /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x6b0) [0xb6ab1ae9] /usr/lib/libgobject-2.0.so.0(g_signal_emit+0x29) [0xb6ab1e59] /usr/lib/libgtk-x11-2.0.so.0(_gtk_action_emit_activate+0x4f) [0xb6cec9b6] /usr/lib/libgtk-x11-2.0.so.0(gtk_action_activate+0x7d) [0xb6cece6c] /usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x43) [0xb6aad423] /usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x11e) [0xb6aa179f] /usr/lib/libgobject-2.0.so.0 [0xb6ab04de] /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x6b0) [0xb6ab1ae9] /usr/lib/libgobject-2.0.so.0(g_signal_emit+0x29) [0xb6ab1e59] /usr/lib/libgtk-x11-2.0.so.0(gtk_widget_activate+0x8a) [0xb6e9b5ad] /usr/lib/libgtk-x11-2.0.so.0(gtk_menu_shell_activate_item+0xd0) [0xb6dc81af] /usr/lib/libgtk-x11-2.0.so.0 [0xb6dc8481] /usr/lib/libgtk-x11-2.0.so.0 [0xb6dbec34] /usr/lib/libgtk-x11-2.0.so.0(_gtk_marshal_BOOLEAN__BOXED+0x58) [0xb6db9540] /usr/lib/libgobject-2.0.so.0 [0xb6aa116f] /usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x11e) [0xb6aa179f] /usr/lib/libgobject-2.0.so.0 [0xb6ab09d8] /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x41d) [0xb6ab1856] /usr/lib/libgobject-2.0.so.0(g_signal_emit+0x29) [0xb6ab1e59] /usr/lib/libgtk-x11-2.0.so.0 [0xb6e9b78f] /usr/lib/libgtk-x11-2.0.so.0(gtk_propagate_event+0xb6) [0xb6db7cbd] /usr/lib/libgtk-x11-2.0.so.0(gtk_main_do_event+0x300) [0xb6db80cb] /usr/lib/libgdk-x11-2.0.so.0 [0xb6c46e1c] /usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x1d7) [0xb7d627d7] /usr/lib/libglib-2.0.so.0 [0xb7d65896] /usr/lib/libglib-2.0.so.0(g_main_loop_run+0x1d6) [0xb7d65bb8] /usr/lib/libgtk-x11-2.0.so.0(gtk_main+0xb4) [0xb6db73c6] [0xb32cff61] [0xb32cff20] [0xb77e302f] [0xb77e289b] [0xb77e2823] /usr/lib/libmono.so.0 [0xb7e42438] /usr/lib/libmono.so.0(mono_runtime_invoke+0x33) [0xb7ea4eed] /usr/lib/libmono.so.0(mono_runtime_exec_main+0x67) [0xb7ea7a88] /usr/lib/libmono.so.0(mono_runtime_run_main+0x188) [0xb7eaabf0] /usr/lib/libmono.so.0(mono_jit_exec+0x90) [0xb7e54b5e] /usr/lib/libmono.so.0(mono_main+0x962) [0xb7e5554f] /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xd2) [0xb7bd2ea2] banshee [0x8048459] burner@firefighter:~$
Moving to the DAAP component.
*** Bug 334980 has been marked as a duplicate of this bug. ***
I can't reproduce this at all. I'm testing on ubuntu dapper (amd64), with the latest banshee/avahi available there, and there is no crash....are you guys still seeing this?
I have 3 machines (2 p4, 1 ppc) running ubuntu dapper with all the latest packages. Two of them work fine. Only one of the p4 machines crashes with the daap plugin enabled. It crashes the instant I click on "Share my music library with others".
It works on the fourth try. The first three times it crashes. There is nothing obviously different when it does work.
It seems there was a race condition in the avahi bindings, which caused a crash on SMP or HT systems (neither of which I have). I fixed it in avahi svn, so the next release should have it.
Ah.. that makes sense. I couldn't figure out why my (ht-enabled) desktop's banshee-daap was crashing while none of my other UP machines had any trouble.
This is fixed in avahi svn since earlier today... http://avahi.org/changeset/1188
confirmed. Turning HT off makes everything work.
*** Bug 339182 has been marked as a duplicate of this bug. ***