GNOME Bugzilla – Bug 417009
Selecting iPod properties causes banshee crash
Last modified: 2007-10-10 20:31:49 UTC
banshee 0.12.0 ubuntu edgy 5g 80GB iPod To reproduce bug: Connect iPod. When iPod shows up in source list, right click on iPod and select 'iPod Properties'. Banshee crashes. Reproducible 100% of the time. Crash report: Object reference not set to an instance of an object System.NullReferenceException: Object reference not set to an instance of an object at Banshee.AudioProfiles.GConfProfileConfiguration.SaveActiveProfile (Banshee.AudioProfiles.Profile profile, System.String gconfRoot, System.String id) [0x00006] in /home/vek/downloads/banshee-0.12.0/src/Core/Banshee.Base/Banshee.AudioProfiles/GConfProfileConfiguration.cs:59 at Banshee.AudioProfiles.ProfileConfiguration.SaveActiveProfile (Banshee.AudioProfiles.Profile profile, System.String id) [0x00000] in /home/vek/downloads/banshee-0.12.0/src/Core/Banshee.Base/Banshee.AudioProfiles/ProfileConfiguration.cs:75 at Banshee.AudioProfiles.Gui.ProfileComboBoxConfigurable+<>AnonHelp<72>.<#AnonymousMethod>71 (System.Object +0, System.EventArgs +1) [0x00000] at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs) at GLib.Signal.voidObjectCallback (IntPtr handle, IntPtr gch) [0x00000] at (wrapper native-to-managed) GLib.Signal:voidObjectCallback (intptr,intptr) at <0x00000> <unknown method> at (wrapper managed-to-native) Gtk.ComboBox:gtk_combo_box_set_active_iter (intptr,Gtk.TreeIter&) at Gtk.ComboBox.SetActiveIter (TreeIter iter) [0x00000] at Banshee.AudioProfiles.Gui.ProfileComboBox.ReloadProfiles () [0x001cb] in /home/vek/downloads/banshee-0.12.0/src/Core/Banshee.Base/Banshee.AudioProfiles.Gui/ProfileComboBox.cs:100 at Banshee.AudioProfiles.Gui.ProfileComboBox.set_MimeTypeFilter (System.String[] value) [0x00007] in /home/vek/downloads/banshee-0.12.0/src/Core/Banshee.Base/Banshee.AudioProfiles.Gui/ProfileComboBox.cs:130 at Banshee.Dap.DapPropertiesDialog..ctor (Banshee.Sources.DapSource source) [0x001bc] in /home/vek/downloads/banshee-0.12.0/src/Core/Banshee.Base/Dap/DapPropertiesDialog.cs:94 at Banshee.Sources.DapSource.ShowPropertiesDialog () [0x00000] in /home/vek/downloads/banshee-0.12.0/src/Core/Banshee.Base/Sources/DapSource.cs:356 at Banshee.PlayerUI.OnSelectedSourcePropertiesAction (System.Object o, System.EventArgs args) [0x00000] in /home/vek/downloads/banshee-0.12.0/src/Core/Banshee/PlayerInterface.cs:2101 at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs) at GLib.Signal.voidObjectCallback (IntPtr handle, IntPtr gch) [0x00000] at (wrapper native-to-managed) GLib.Signal:voidObjectCallback (intptr,intptr) at <0x00000> <unknown method> at (wrapper managed-to-native) Gtk.Application:gtk_main () at Gtk.Application.Run () [0x00000] at Gnome.Program.Run () [0x00000] at Banshee.BansheeEntry.Startup (System.String[] args) [0x0029f] in /home/vek/downloads/banshee-0.12.0/src/Core/Banshee/Main.cs:118 at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_string[] (string[]) at Banshee.Gui.CleanRoomStartup.Startup (Banshee.Gui.StartupInvocationHandler startup, System.String[] args) [0x00045] in /home/vek/downloads/banshee-0.12.0/src/Core/Banshee.Base/Gui/CleanRoomStartup.cs:54 ================================================================= 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: at (wrapper managed-to-native) Gtk.Dialog.gtk_dialog_run (intptr) <0x00004> at (wrapper managed-to-native) Gtk.Dialog.gtk_dialog_run (intptr) <0xffffffff> at Gtk.Dialog.Run () <0x00024> at Banshee.Gui.CleanRoomStartup.Startup (Banshee.Gui.CleanRoomStartup/StartupInvocationHandler,string[]) [0x00074] in /home/vek/downloads/banshee-0.12.0/src/Core/Banshee.Base/Gui/CleanRoomStartup.cs:61 at Banshee.BansheeEntry.Main (string[]) [0x00000] in /home/vek/downloads/banshee-0.12.0/src/Core/Banshee/Main.cs:43 at (wrapper runtime-invoke) System.Object.runtime_invoke_void_string[] (object,intptr,intptr,intptr) <0xffffffff> Native stacktrace: mono(mono_handle_native_sigsegv+0xde) [0x815644e] mono [0x8122c88] [0xffffe440] /usr/lib/libgobject-2.0.so.0(g_signal_emit+0x29) [0xb6256279] /usr/lib/libgobject-2.0.so.0 [0xb6248d11] /usr/lib/libgobject-2.0.so.0 [0xb624556f] /usr/lib/libgobject-2.0.so.0(g_object_notify+0x2b2) [0xb6249852] /usr/lib/libgtk-x11-2.0.so.0(gtk_container_set_border_width+0x61) [0xb65a40c1] /usr/lib/libgtk-x11-2.0.so.0 [0xb65b5c2e] /usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__OBJECT+0x59) [0xb6251039] /usr/lib/libgobject-2.0.so.0 [0xb6242fb9] /usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x12b) [0xb624479b] /usr/lib/libgobject-2.0.so.0 [0xb625502a] /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x8c7) [0xb62560b7] /usr/lib/libgobject-2.0.so.0(g_signal_emit+0x29) [0xb6256279] /usr/lib/libgtk-x11-2.0.so.0 [0xb6751fc2] /usr/lib/libgtk-x11-2.0.so.0 [0xb669ccd7] /usr/lib/libgtk-x11-2.0.so.0(_gtk_size_group_compute_requisition+0x5a) [0xb669cf4a] /usr/lib/libgtk-x11-2.0.so.0(gtk_widget_size_request+0x4c) [0xb6751b2c] /usr/lib/libgtk-x11-2.0.so.0 [0xb6759d10] /usr/lib/libgtk-x11-2.0.so.0 [0xb6762fc1] /usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x49) [0xb6251b29] /usr/lib/libgobject-2.0.so.0 [0xb6242fb9] /usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x12b) [0xb624479b] /usr/lib/libgobject-2.0.so.0 [0xb625502a] /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x8c7) [0xb62560b7] /usr/lib/libgobject-2.0.so.0(g_signal_emit+0x29) [0xb6256279] /usr/lib/libgtk-x11-2.0.so.0(gtk_widget_show+0x58) [0xb6752b18] /usr/lib/libgtk-x11-2.0.so.0(gtk_dialog_run+0x248) [0xb65b4eb8] [0xb145409d] [0xb145404d] [0xb73df9a4] [0xb73dec69] [0xb73dea73] mono(mono_runtime_exec_main+0x62) [0x80996b2] mono(mono_runtime_run_main+0x1b9) [0x8099999] mono(mono_main+0xe47) [0x805d477] mono [0x805c122] /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xdc) [0xb7ce28cc] mono [0x805c071] Aborted (core dumped)
FWIW, I noticed a number of other people reporting similar issues on launchpad https://launchpad.net/ubuntu/+source/banshee/+bug/70544
A similar issue used to occur with generic mass storage DAPs. It has been resolved. At the time, I don't believe the iPod was affected.
This appears fixed to me.