GNOME Bugzilla – Bug 648795
banshee crashed after plug in my ipod; NRE in DatabaseTrackListModel.Reload
Last modified: 2011-09-11 13:39:22 UTC
Originally reported at: https://bugs.launchpad.net/bugs/771937 Binary package hint: banshee so i pluged in my ipod and banshee crashed, i'm attaching the log.
log is at: https://bugs.launchpad.net/ubuntu/+source/banshee/+bug/771937/+attachment/2091836/+files/banshee-debug.txt Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object at Banshee.Collection.Database.DatabaseTrackListModel.Reload (Hyena.Data.IListModel) <0x002da> at Banshee.Collection.Database.DatabaseTrackListModel.Reload () <0x00012> at Banshee.Sources.DatabaseSource.RateLimitedReload () <0x00036> at Banshee.Base.RateLimiter.InnerExecute () <0x0004e> at Banshee.Base.RateLimiter.Execute () <0x00060> at Banshee.Sources.DatabaseSource.Reload () <0x00027> at Banshee.SmartPlaylist.SmartPlaylistSource.Reload () <0x0005a> at Banshee.SmartPlaylist.SmartPlaylistSource.RefreshAndReload () <0x00027> at Banshee.SmartPlaylist.SmartPlaylistSource.HandleTracksChanged (Banshee.Sources.Source,Banshee.Sources.TrackEventArgs) <0x000ee> at (wrapper delegate-invoke) Banshee.Sources.PrimarySource/TrackEventHandler.invoke_void__this___Source_TrackEventArgs (Banshee.Sources.Source,Banshee.Sources.TrackEventArgs) <0x00046> at (wrapper delegate-invoke) Banshee.Sources.PrimarySource/TrackEventHandler.invoke_void__this___Source_TrackEventArgs (Banshee.Sources.Source,Banshee.Sources.TrackEventArgs) <0x00075> at (wrapper delegate-invoke) Banshee.Sources.PrimarySource/TrackEventHandler.invoke_void__this___Source_TrackEventArgs (Banshee.Sources.Source,Banshee.Sources.TrackEventArgs) <0x00075> at (wrapper delegate-invoke) Banshee.Sources.PrimarySource/TrackEventHandler.invoke_void__this___Source_TrackEventArgs (Banshee.Sources.Source,Banshee.Sources.TrackEventArgs) <0x00075> at (wrapper delegate-invoke) Banshee.Sources.PrimarySource/TrackEventHandler.invoke_void__this___Source_TrackEventArgs (Banshee.Sources.Source,Banshee.Sources.TrackEventArgs) <0x00075> at (wrapper delegate-invoke) Banshee.Sources.PrimarySource/TrackEventHandler.invoke_void__this___Source_TrackEventArgs (Banshee.Sources.Source,Banshee.Sources.TrackEventArgs) <0x00075> at (wrapper delegate-invoke) Banshee.Sources.PrimarySource/TrackEventHandler.invoke_void__this___Source_TrackEventArgs (Banshee.Sources.Source,Banshee.Sources.TrackEventArgs) <0x00075> at (wrapper delegate-invoke) Banshee.Sources.PrimarySource/TrackEventHandler.invoke_void__this___Source_TrackEventArgs (Banshee.Sources.Source,Banshee.Sources.TrackEventArgs) <0x00075> at Banshee.Sources.PrimarySource/<OnTracksChanged>c__AnonStorey21.<>m__18 () <0x000ab> at Hyena.ThreadAssist.SpawnFromMain (System.Threading.ThreadStart) <0x0002f> at Banshee.Sources.PrimarySource.OnTracksChanged (Hyena.Query.QueryField[]) <0x00058> at Banshee.Sources.PrimarySource.NotifyTracksChanged (Hyena.Query.QueryField[]) <0x0001c> at Banshee.Collection.Database.DatabaseTrackInfo.Save (bool,Hyena.Query.QueryField[]) <0x0029f> at Banshee.Collection.Database.DatabaseTrackInfo.UpdateLastPlayed () <0x0006f> at Banshee.GStreamer.PlayerEngine.OnAboutToFinish (intptr) <0x0001b> at (wrapper native-to-managed) Banshee.GStreamer.PlayerEngine.OnAboutToFinish (intptr) <0x00054>
I'm pretty sure this is a Mono bug, likely fixed in Mono > 2.6.7.
Thanks for taking the time to report this bug. This particular bug has already been reported into our bug tracking system, but we are happy to tell you that the problem has already been fixed. It should be solved in the next software version. You may want to check for a software upgrade. As a patch was committed for this issue as part of bug #656246, I'm marking this as a duplicate. As Gabriel mentioned, this patch is probably a work-around for a Mono bug. *** This bug has been marked as a duplicate of bug 656246 ***