Banshee crashes when random-playing a playlist

Bug #765079 reported by Jonathan Booth
This bug report is a duplicate of:  Bug #767139: crashed after clicking in a song. Edit Remove
36
This bug affects 7 people
Affects Status Importance Assigned to Milestone
banshee (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Binary package hint: banshee

This is a new behavior after I updated this morning -- this worked before when I was running 1.9.6, but now crashes in 2.0. I can't seem to replicate the crash through the "next random song" button, but if I just let banshee play and select new songs on its own as it finishes each, it crashes out with the error as below.

I've triggered this a couple of times under --debug, and it looks like it varies in the crash location. One is an array out of bounds error, the other was a null reference exception. The exception trace of each is pasted below. What other information can I provide to help track this down? I'm hoping not to get the "reset your library and reproduce it with fewer songs" due to a rather extensive library.

The only thing I can think of in particular I have that's non-default is I think I turned on gapless playback, which defaults to off.

Unhandled Exception: System.IndexOutOfRangeException: Array index is out of range.
at System.Collections.Generic.List`1/Enumerator<Banshee.Collection.Database.IFilterListModel>.MoveNext () <0x00067>
at Banshee.Collection.Database.DatabaseTrackListModel.Reload (Hyena.Data.IListModel) <IL 0x00102, 0x002df>
at Banshee.Collection.Database.DatabaseTrackListModel.Reload () <IL 0x00002, 0x0000f>
at Banshee.Sources.DatabaseSource.RateLimitedReload () <IL 0x00013, 0x0003e>
at Banshee.Base.RateLimiter.InnerExecute () <IL 0x00021, 0x00061>
at Banshee.Base.RateLimiter.Execute () <IL 0x00037, 0x0007b>
at Banshee.Sources.DatabaseSource.Reload () <IL 0x00016, 0x0002f>
at Banshee.SmartPlaylist.SmartPlaylistSource.Reload () <IL 0x0002d, 0x00067>
at Banshee.SmartPlaylist.SmartPlaylistSource.RefreshAndReload () <IL 0x00007, 0x0001e>
at Banshee.SmartPlaylist.SmartPlaylistSource.HandleTracksChanged (Banshee.Sources.Source,Banshee.Sources.TrackEventArgs) <IL 0x00027, 0x000bb>
at (wrapper delegate-invoke) Banshee.Sources.PrimarySource/TrackEventHandler.invoke_void__this___Source_TrackEventArgs (Banshee.Sources.Source,Banshee.Sources.TrackEventArgs) <IL 0x00044, 0x0005e>
at (wrapper delegate-invoke) Banshee.Sources.PrimarySource/TrackEventHandler.invoke_void__this___Source_TrackEventArgs (Banshee.Sources.Source,Banshee.Sources.TrackEventArgs) <IL 0x00059, 0x00098>
at (wrapper delegate-invoke) Banshee.Sources.PrimarySource/TrackEventHandler.invoke_void__this___Source_TrackEventArgs (Banshee.Sources.Source,Banshee.Sources.TrackEventArgs) <IL 0x00059, 0x00098>
at (wrapper delegate-invoke) Banshee.Sources.PrimarySource/TrackEventHandler.invoke_void__this___Source_TrackEventArgs (Banshee.Sources.Source,Banshee.Sources.TrackEventArgs) <IL 0x00059, 0x00098>
at (wrapper delegate-invoke) Banshee.Sources.PrimarySource/TrackEventHandler.invoke_void__this___Source_TrackEventArgs (Banshee.Sources.Source,Banshee.Sources.TrackEventArgs) <IL 0x00059, 0x00098>
at (wrapper delegate-invoke) Banshee.Sources.PrimarySource/TrackEventHandler.invoke_void__this___Source_TrackEventArgs (Banshee.Sources.Source,Banshee.Sources.TrackEventArgs) <IL 0x00059, 0x00098>
at (wrapper delegate-invoke) Banshee.Sources.PrimarySource/TrackEventHandler.invoke_void__this___Source_TrackEventArgs (Banshee.Sources.Source,Banshee.Sources.TrackEventArgs) <IL 0x00059, 0x00098>
at (wrapper delegate-invoke) Banshee.Sources.PrimarySource/TrackEventHandler.invoke_void__this___Source_TrackEventArgs (Banshee.Sources.Source,Banshee.Sources.TrackEventArgs) <IL 0x00059, 0x00098>
at Banshee.Sources.PrimarySource/<OnTracksChanged>c__AnonStorey21.<>m__18 () <IL 0x0005f, 0x000ab>
at Hyena.ThreadAssist.SpawnFromMain (System.Threading.ThreadStart) <IL 0x00018, 0x0002f>
at Banshee.Sources.PrimarySource.OnTracksChanged (Hyena.Query.QueryField[]) <IL 0x00020, 0x00063>
at Banshee.Sources.PrimarySource.NotifyTracksChanged (Hyena.Query.QueryField[]) <IL 0x00002, 0x0001b>
at Banshee.Collection.Database.DatabaseTrackInfo.Save (bool,Hyena.Query.QueryField[]) <IL 0x00118, 0x00293>
at Banshee.Collection.Database.DatabaseTrackInfo.UpdateLastPlayed () <IL 0x00020, 0x0006b>
at Banshee.GStreamer.PlayerEngine.OnAboutToFinish (intptr) <IL 0x00006, 0x0001d>
at (wrapper native-to-managed) Banshee.GStreamer.PlayerEngine.OnAboutToFinish (intptr) <IL 0x00022, 0x0006f>

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object
at Banshee.Collection.Database.DatabaseTrackListModel.Reload (Hyena.Data.IListModel) <IL 0x001e2, 0x00549>
at Banshee.Collection.Database.DatabaseTrackListModel.Reload () <IL 0x00002, 0x0000f>
at Banshee.Sources.DatabaseSource.RateLimitedReload () <IL 0x00013, 0x0003e>
at Banshee.Base.RateLimiter.InnerExecute () <IL 0x00021, 0x00061>
at Banshee.Base.RateLimiter.Execute () <IL 0x00037, 0x0007b>
at Banshee.Sources.DatabaseSource.Reload () <IL 0x00016, 0x0002f>
at Banshee.SmartPlaylist.SmartPlaylistSource.Reload () <IL 0x0002d, 0x00067>
at Banshee.SmartPlaylist.SmartPlaylistSource.RefreshAndReload () <IL 0x00007, 0x0001e>
at Banshee.SmartPlaylist.SmartPlaylistSource.HandleTracksChanged (Banshee.Sources.Source,Banshee.Sources.TrackEventArgs) <IL 0x00027, 0x000bb>
at (wrapper delegate-invoke) Banshee.Sources.PrimarySource/TrackEventHandler.invoke_void__this___Source_TrackEventArgs (Banshee.Sources.Source,Banshee.Sources.TrackEventArgs) <IL 0x00044, 0x0005e>
at (wrapper delegate-invoke) Banshee.Sources.PrimarySource/TrackEventHandler.invoke_void__this___Source_TrackEventArgs (Banshee.Sources.Source,Banshee.Sources.TrackEventArgs) <IL 0x00059, 0x00098>
at (wrapper delegate-invoke) Banshee.Sources.PrimarySource/TrackEventHandler.invoke_void__this___Source_TrackEventArgs (Banshee.Sources.Source,Banshee.Sources.TrackEventArgs) <IL 0x00059, 0x00098>
at (wrapper delegate-invoke) Banshee.Sources.PrimarySource/TrackEventHandler.invoke_void__this___Source_TrackEventArgs (Banshee.Sources.Source,Banshee.Sources.TrackEventArgs) <IL 0x00059, 0x00098>
at (wrapper delegate-invoke) Banshee.Sources.PrimarySource/TrackEventHandler.invoke_void__this___Source_TrackEventArgs (Banshee.Sources.Source,Banshee.Sources.TrackEventArgs) <IL 0x00059, 0x00098>
at (wrapper delegate-invoke) Banshee.Sources.PrimarySource/TrackEventHandler.invoke_void__this___Source_TrackEventArgs (Banshee.Sources.Source,Banshee.Sources.TrackEventArgs) <IL 0x00059, 0x00098>
at (wrapper delegate-invoke) Banshee.Sources.PrimarySource/TrackEventHandler.invoke_void__this___Source_TrackEventArgs (Banshee.Sources.Source,Banshee.Sources.TrackEventArgs) <IL 0x00059, 0x00098>
at (wrapper delegate-invoke) Banshee.Sources.PrimarySource/TrackEventHandler.invoke_void__this___Source_TrackEventArgs (Banshee.Sources.Source,Banshee.Sources.TrackEventArgs) <IL 0x00059, 0x00098>
at (wrapper delegate-invoke) Banshee.Sources.PrimarySource/TrackEventHandler.invoke_void__this___Source_TrackEventArgs (Banshee.Sources.Source,Banshee.Sources.TrackEventArgs) <IL 0x00059, 0x00098>
at (wrapper delegate-invoke) Banshee.Sources.PrimarySource/TrackEventHandler.invoke_void__this___Source_TrackEventArgs (Banshee.Sources.Source,Banshee.Sources.TrackEventArgs) <IL 0x00059, 0x00098>
at Banshee.Sources.PrimarySource/<OnTracksChanged>c__AnonStorey21.<>m__18 () <IL 0x0005f, 0x000af>
at Hyena.ThreadAssist.SpawnFromMain (System.Threading.ThreadStart) <IL 0x00018, 0x0002f>
at Banshee.Sources.PrimarySource.OnTracksChanged (Hyena.Query.QueryField[]) <IL 0x00020, 0x0007b>
at Banshee.Sources.PrimarySource.NotifyTracksChanged (Hyena.Query.QueryField[]) <IL 0x00002, 0x0001b>
at Banshee.Collection.Database.DatabaseTrackInfo.Save (bool,Hyena.Query.QueryField[]) <IL 0x00118, 0x00293>
at Banshee.Collection.Database.DatabaseTrackInfo.UpdateLastPlayed () <IL 0x00020, 0x0006f>
at Banshee.GStreamer.PlayerEngine.OnAboutToFinish (intptr) <IL 0x00006, 0x0001d>
at (wrapper native-to-managed) Banshee.GStreamer.PlayerEngine.OnAboutToFinish (intptr) <IL 0x00022, 0x0006f>

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: banshee 2.0.0-1ubuntu2
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
Architecture: amd64
Date: Mon Apr 18 11:49:49 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta amd64 (20110330)
ProcEnviron:
 LANGUAGE=en_US:en
 LC_COLLATE=C
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/tcsh
SourcePackage: banshee
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Jonathan Booth (svirpridon+ubuntu) wrote :
Revision history for this message
Victor Vargas (kamus) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 767139, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

Changed in banshee (Ubuntu):
importance: Undecided → Medium
Changed in banshee (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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