GNOME Bugzilla – Bug 490380
Banshee crashes when adding second item to smart playlist
Last modified: 2007-10-26 04:59:50 UTC
I make a new smart playlist. The first rule is an existing smart playlist. The second rule is rating. As soon as I click on the word "rating" in the combobox for the second rule, banshee crashes. Debug output is below. Further investigation finds that the crash happens even when I select "rating" for the first rule. Fields that cause the crash: Rating Date Added Duration Last Played Play Count Track Number Year Fields that don't cause the crash: Album Artist Genre Path Title ---------------------------------------------------------------- Debug: [10/25/2007 11:29:34 PM] (Loading audio profiles) - /usr/share/banshee/audio-profiles Debug: [10/25/2007 11:29:35 PM] (Default player engine) - GStreamer 0.10 Debug: [10/25/2007 11:29:35 PM] (Audio CD Core Initialized) - Debug: [10/25/2007 11:29:35 PM] (Testing device for DAP support) - /org/freedesktop/Hal/devices/volume_uuid_bc2883eb_18a7_4181_baf9_e38545348b2a Debug: [10/25/2007 11:29:35 PM] (DAP has not been added) - /org/freedesktop/Hal/devices/volume_uuid_bc2883eb_18a7_4181_baf9_e38545348b2a Warning: [10/25/2007 11:29:35 PM] (Power Management Call Failed) - Cannot find GNOME Power Manager: Name org.gnome.PowerManager has no owner Debug: [10/25/2007 11:29:35 PM] (Enabled multimedia keys support) - Using org.gnome.SettingsDaemon Information: [10/25/2007 11:29:35 PM] (Starting Smart Playlist Auto-Refresh) - Time-dependent smart playlist added, so starting one-minute auto-refresh timer. Exception in Gtk# callback delegate Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception. System.IndexOutOfRangeException: Array index is out of range. at Banshee.SmartPlaylist.QueryMatch.get_Filter () [0x00000] in /build/buildd/banshee-0.13.1+dfsg/src/Core/Banshee.Base/Banshee.SmartPlaylist/QueryBuilder.cs:323 at Banshee.SmartPlaylist.QueryMatchRating.get_DisplayWidget () [0x00022] in /build/buildd/banshee-0.13.1+dfsg/src/Core/Banshee.Base/Banshee.SmartPlaylist/QueryBuilderModel.cs:272 at Banshee.SmartPlaylist.QueryBuilderMatchRow.OnOpComboBoxChanged (System.Object o, System.EventArgs args) [0x0003b] in /build/buildd/banshee-0.13.1+dfsg/src/Core/Banshee.Base/Banshee.SmartPlaylist/QueryBuilder.cs:543 at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs) at GLib.Signal.voidObjectCallback (IntPtr handle, IntPtr gch) [0x00000] at GLib.ExceptionManager.RaiseUnhandledException () at GLib.Signal.voidObjectCallback () at GLib.Signal.voidObjectCallback () at Gtk.ComboBox.gtk_combo_box_remove_text () at Gtk.ComboBox.gtk_combo_box_remove_text () at Gtk.ComboBox.RemoveText () at Banshee.SmartPlaylist.QueryBuilderMatchRow.Select () in /build/buildd/banshee-0.13.1+dfsg/src/Core/Banshee.Base/Banshee.SmartPlaylist/QueryBuilder.cs:line 513 at Banshee.SmartPlaylist.QueryBuilderMatchRow.OnFieldComboBoxChanged () in /build/buildd/banshee-0.13.1+dfsg/src/Core/Banshee.Base/Banshee.SmartPlaylist/QueryBuilder.cs:line 531 at System.MulticastDelegate.invoke_void_object_EventArgs () at GLib.Signal.voidObjectCallback () at GLib.Signal.voidObjectCallback () at Gtk.Dialog.gtk_dialog_run () at Gtk.Dialog.gtk_dialog_run () at Gtk.Dialog.Run () at Banshee.SmartPlaylist.Editor.Run () in /build/buildd/banshee-0.13.1+dfsg/src/Core/Banshee.Base/Banshee.SmartPlaylist/Editor.cs:line 195 at Banshee.SmartPlaylist.Editor.RunDialog () in /build/buildd/banshee-0.13.1+dfsg/src/Core/Banshee.Base/Banshee.SmartPlaylist/Editor.cs:line 187 at Banshee.SmartPlaylist.SmartPlaylistCore+<>c__CompilerGenerated46.<>c__AnonymousMethod151 () in /build/buildd/banshee-0.13.1+dfsg/src/Core/Banshee.Base/Banshee.SmartPlaylist/SmartPlaylistCore.cs:line 159 at System.MulticastDelegate.invoke_void_object_EventArgs () at GLib.Signal.voidObjectCallback () at GLib.Signal.voidObjectCallback () at Gtk.Application.gtk_main () at Gtk.Application.gtk_main () at Gtk.Application.Run () at Gnome.Program.Run () at Banshee.BansheeEntry.Startup () in /build/buildd/banshee-0.13.1+dfsg/src/Core/Banshee/Main.cs:line 118 at System.MulticastDelegate.invoke_void_string[] () at Banshee.Gui.CleanRoomStartup.Startup () in /build/buildd/banshee-0.13.1+dfsg/src/Core/Banshee.Base/Gui/CleanRoomStartup.cs:line 54 at Banshee.BansheeEntry.Main () in /build/buildd/banshee-0.13.1+dfsg/src/Core/Banshee/Main.cs:line 43
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of 464362 ***