GNOME Bugzilla – Bug 494927
Editing smart playlist crashes
Last modified: 2007-11-08 17:43:15 UTC
Steps to reproduce: 1. Right click a smart playlist 2. Choose 'Edit Smart Playlist' 3. Crash Stack trace: 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] at Banshee.SmartPlaylist.QueryMatchInteger.get_DisplayWidget () [0x00000] at Banshee.SmartPlaylist.QueryBuilderMatchRow.OnOpComboBoxChanged (System.Object o, System.EventArgs args) [0x00000] 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 () at Banshee.SmartPlaylist.QueryBuilderMatchRow.OnFieldComboBoxChanged () at System.MulticastDelegate.invoke_void_object_EventArgs () at GLib.Signal.voidObjectCallback () at GLib.Signal.voidObjectCallback () at Gtk.ComboBox.gtk_combo_box_set_active_iter () at Gtk.ComboBox.gtk_combo_box_set_active_iter () at Gtk.ComboBox.SetActiveIter () at Banshee.SmartPlaylist.ComboBoxUtil.SetActiveString () at Banshee.SmartPlaylist.QueryBuilder.set_MatchQuery () at Banshee.SmartPlaylist.Editor.set_Condition () at Banshee.SmartPlaylist.Editor..ctor () at Banshee.SmartPlaylist.SmartPlaylistSource.ShowPropertiesDialog () at Banshee.PlayerUI.OnSelectedSourcePropertiesAction () 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 () at System.MulticastDelegate.invoke_void_string[] () at Banshee.Gui.CleanRoomStartup.Startup () at Banshee.BansheeEntry.Main () Segmentation fault (core dumped) Other information: The list is a "Most Played". I can't see the actual formula for it (because it crashes when I try to edit it), but it's something like "Choose Play Count > 0, limit to 25".
Trying to recreate the play list to see what causes the problem, I see it's actually that *any* smart playlist that uses numbers in some way dies. So: Album, Artist, Genre, Path, Smart Playlist, Title work fine. All the others crash in the same way. I'd guess it's trying to change combo-box entries and there's an off-by-one that makes it loop too far?
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 ***