Crash when editing smart playlist

Bug #129190 reported by oli
48
Affects Status Importance Assigned to Milestone
Banshee
Fix Released
Critical
banshee (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: banshee

When I try to create a new smart playlist, and I select "Play Count", or "Last Played" banshee crashs.

banshee 0.12.1

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.voidObject

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] Callback (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.SmartPlaylistCore+<>c__CompilerGenerated44.<>c__AnonymousMethod144 ()
   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)

oli (oli23)
description: updated
Changed in banshee:
status: Unknown → Confirmed
Revision history for this message
Wade Menard (wade-ezri) wrote :

Crasher is fixed upstream

Changed in banshee:
status: Confirmed → Fix Released
Revision history for this message
Dan Cassman (dcassman) wrote :

I have the same problem. Banshee quits the instant I select certain criteria, including rating and date added.

Revision history for this message
Hector (hectcastro) wrote :

Exists in 0.13.1+dfsg-3.

Revision history for this message
Dan Cassman (dcassman) wrote :

Agreed, still exists in 0.13.1 on Ubuntu Gutsy.

Revision history for this message
yangchengkai (yangchengkai1983) wrote :

Also exists in opensuse 10.3+banshee 0.13.1...got mad~

Revision history for this message
Allan Wirth (fenderocker-deactivatedaccount) wrote :

I've got this problem on gutsy w/ .13.1

Revision history for this message
Sakumatti Luukkonen (sakumatti-luukkonen) wrote :

Confirmed in gutsy. Using mono 1.2.4-6ubuntu6 and Banshee 0.13.1+dfsg-3.

Revision history for this message
FrooziE (dan-gericke) wrote :

Bump. Same problem. Banshee quits completely once I select "YEAR" in the smart playlist editor.

Revision history for this message
FrooziE (dan-gericke) wrote :

I've seen a few posts here and there saying the "crash is fixed upstream." What does that mean?

Revision history for this message
Wade Menard (wade-ezri) wrote :

Upstream in this case refers to the Banshee Project. It means that the fix will be in the next banshee release, which should be RSN, or you can build from the source yourself (either checking out the stable branch from GNOME SVN or applying the patch in my comment above to the 0.13.1 source). The problem is/was with some changes in GTK+ 2.12 that Ubuntu 7.10 moved to.

Changed in banshee:
status: New → Confirmed
Revision history for this message
wangi (leekindness) wrote :

Ok, so there's no chance of a backport of the fix to the Ubuntu 0.13.1 deb - a fix for Gutsy is dependent on a new Banshee release? Smart playlists are completely useless due to this bug.

Revision history for this message
Andrew Conkling (andrewski) wrote :

Yes, unfortunately they are. They are useless for everyone running Banshee with the versions of Mono and/or GTK# that are in Gutsy, so of course the upstream developers know that a new release is important in fixing this and other bugs.

I would say you could request a backport, but in this case, there's no newer version to backport. I don't know Ubuntu's policy of releasing packages with patches attached to them. You could always download and install SVN on your own; it's generally stable. I do know that they plan to release 0.13.2 rather soon.

Revision history for this message
Wade Menard (wade-ezri) wrote :

Yes, the fix is attached in my first post here. It would have been fairly simple for Sebastian or whoever to add it to the deb package but, if he's put any thought towards it at all (he's a busy guy), he was probably just waiting for 0.13.2, which has been Real-Soon-Now for a while. Aaron seems really serious about tagging it within the next week now so keep your fingers crossed ;) It will require some updated and new packages like Mono.Zeroconf though so give the guys some time.

Revision history for this message
wangi (leekindness) wrote :

Sorry for the slightly off topic post... But i've downloaded banshee-stable from svn, got all the build deps for it using apt-get yet ipod support is a no go... I assume I need to /manually/ get ipod-sharp... However the 0.13.1 src deb builds with ipod support without it?!? Seems to be a break in the logic somewhere.

Revision history for this message
Andrew Conkling (andrewski) wrote :

Sorry Wade, I just jumped on this bug and missed the patch in the first post. Whoops!

Revision history for this message
Andrew Conkling (andrewski) wrote : Re: [Bug 129190] Re: Crash when editing smart playlist

On Dec 27, 2007 6:06 PM, wangi <email address hidden> wrote:

> Sorry for the slightly off topic post... But i've downloaded banshee-
> stable from svn, got all the build deps for it using apt-get yet ipod
> support is a no go... I assume I need to /manually/ get ipod-sharp...
> However the 0.13.1 src deb builds with ipod support without it?!? Seems
> to be a break in the logic somewhere.

I don't know about iPod support (I don't have one), but you may want to
follow up on the Banshee list: <email address hidden>.

Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

Can any one confirm that this issue has been resolved?

Ubuntu is now using version 0.13.2+dfsg-8 According to a post above, the upstream fix should have been in 0.13.2

Revision history for this message
Pontus Freyhult (pontusf) wrote :

Seems to be fixed in banshee from hardy (0.13.2+dfsg-8 tested).

Changed in banshee:
status: Confirmed → Fix Released
Changed in banshee:
importance: Unknown → Critical
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.