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 481453 - Creating a smart playlist based on rating crashes Banshee
Creating a smart playlist based on rating crashes Banshee
Status: RESOLVED DUPLICATE of bug 464362
Product: banshee
Classification: Other
Component: Smart Playlists
0.13.1
Other All
: Normal critical
: 2.x
Assigned To: Gabriel Burt
Gabriel Burt
Depends on:
Blocks:
 
 
Reported: 2007-09-28 22:30 UTC by Bryhhh
Modified: 2007-10-02 14:35 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bryhhh 2007-09-28 22:30:29 UTC
Steps to reproduce:
1. Create a new smart playlist
2. Set the field as 'Rating'
3. Boom!


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.QueryMatchRating.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.Dialog.gtk_dialog_run ()
   at Gtk.Dialog.gtk_dialog_run ()
   at Gtk.Dialog.Run ()
   at Banshee.SmartPlaylist.Editor.Run ()
   at Banshee.SmartPlaylist.Editor.RunDialog ()
   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 ()


Other information:
Running on Ubuntu Gutsy 7.10 beta 2

This was the output before the expcetion

$ banshee 
/bin/sh: /usr/bin/esd: not found
Debug: [28/09/2007 23:13:07] (Loading audio profiles) - /usr/share/banshee/audio-profiles
Debug: [28/09/2007 23:13:07] (Default player engine) - GStreamer 0.10
Debug: [28/09/2007 23:13:07] (Audio CD Core Initialised) - 
Debug: [28/09/2007 23:13:08] (Testing device for DAP support) - /org/freedesktop/Hal/devices/volume_uuid_EC93_6ED7

(Banshee:13264): GLib-CRITICAL **: g_strchug: assertion `string != NULL' failed

(Banshee:13264): GLib-CRITICAL **: g_strchomp: assertion `string != NULL' failed
Debug: [28/09/2007 23:13:08] (DAP has been added) - Banshee.Dap.Ipod.IpodDap: /org/freedesktop/Hal/devices/volume_uuid_EC93_6ED7
Debug: [28/09/2007 23:13:08] (Testing device for DAP support) - /org/freedesktop/Hal/devices/volume_uuid_FA84BABD84BA7C27
Debug: [28/09/2007 23:13:08] (DAP has not been added) - /org/freedesktop/Hal/devices/volume_uuid_FA84BABD84BA7C27
Debug: [28/09/2007 23:13:08] (Testing device for DAP support) - /org/freedesktop/Hal/devices/volume_uuid_76D077DDD077A253
Debug: [28/09/2007 23:13:08] (DAP has not been added) - /org/freedesktop/Hal/devices/volume_uuid_76D077DDD077A253
Debug: [28/09/2007 23:13:08] (Testing device for DAP support) - /org/freedesktop/Hal/devices/storage_serial_Apple_iPod_000A270012D835DA_0_0
Debug: [28/09/2007 23:13:08] (DAP has not been added) - /org/freedesktop/Hal/devices/storage_serial_Apple_iPod_000A270012D835DA_0_0
Warning: [28/09/2007 23:13:08] (Power Management Call Failed) - Cannot find GNOME Power Manager: Name org.gnome.PowerManager has no owner
Debug: [28/09/2007 23:13:08] (Enabled multimedia keys support) - Using org.gnome.SettingsDaemon
Comment 1 Bryhhh 2007-09-28 22:32:05 UTC
I've duplicated this error on two separate computers, both running clean installations of Ubuntu 7.10 beta 2
Comment 2 Bryhhh 2007-10-02 14:35:48 UTC
This is almost certainly a duplicate of bug ID 464362 - apologies I did not spot that bug report when I submitted mine

*** This bug has been marked as a duplicate of 464362 ***