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 653297 - Banshee crashes on song change
Banshee crashes on song change
Status: RESOLVED DUPLICATE of bug 638641
Product: banshee
Classification: Other
Component: general
2.0.0
Other Linux
: Normal major
: ---
Assigned To: Banshee Maintainers
Banshee Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-06-24 00:54 UTC by james1345
Modified: 2011-09-23 10:33 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description james1345 2011-06-24 00:54:15 UTC
Banshee crashes if a song is playing and the album is changed.

To clarify, I select a song to play and start it by double-clicking. I then single-click a different album, for I want the first song of the album to play after the currently playing. Sometimes (not always) banshee exits between the songs.

Although changing the album appears to increase the likelihood of the program crashing, it does not guarantee it (it's just more common when this is the case, or rather, this is when I notice it more often). Sometimes, banshee crashes between songs in the same album. Inspection of the terminal output suggests (to me) that it is the same problem. See below for a copy of the output in a crash event.

============================================================

$ banshee
[Info  01:46:52.277] Running Banshee 2.0.1: [ArchLinux (linux-gnu, x86_64) @ 2011-05-23 14:25:58 UTC]
[Warn  01:46:53.047] DBus support could not be started. Disabling for this session.
[Warn  01:46:54.770] Caught an exception - System.ApplicationException: No support GNOME Settings Daemon could be reached. (in `Banshee.MultimediaKeys')
  at Banshee.MultimediaKeys.MultimediaKeysService.Banshee.ServiceStack.IExtensionService.Initialize () [0x00000] in <filename unknown>:0 
  at Banshee.ServiceStack.ServiceManager.StartExtension (Mono.Addins.TypeExtensionNode node) [0x00000] in <filename unknown>:0 
[Warn  01:46:54.770] Extension `Banshee.MultimediaKeys.MultimediaKeysService' not started: No support GNOME Settings Daemon could be reached.
[Info  01:46:54.812] Updating web proxy from GConf
[Warn  01:46:54.840] Caught an exception - System.ApplicationException: No support GNOME Settings Daemon could be reached. (in `Banshee.MultimediaKeys')
  at Banshee.MultimediaKeys.MultimediaKeysService.Banshee.ServiceStack.IExtensionService.Initialize () [0x00000] in <filename unknown>:0 
  at Banshee.ServiceStack.ServiceManager.StartExtension (Mono.Addins.TypeExtensionNode node) [0x00000] in <filename unknown>:0 
[Warn  01:46:54.840] Extension `Banshee.MultimediaKeys.MultimediaKeysService' not started: No support GNOME Settings Daemon could be reached.
[Info  01:46:54.841] All services are started 1.791102
[Info  01:46:55.793] AmazonMP3 store redirect URL: http://integrated-services.banshee.fm/amz/redirect.do/
[Info  01:46:56.270] nereid Client Started
[Info  01:46:56.376] GStreamer version 0.10.34.0, gapless: True, replaygain: False
System.ApplicationException: Could not find org.freedesktop.Avahi
  at Mono.Zeroconf.Providers.AvahiDBus.DBusManager.Initialize () [0x00000] in <filename unknown>:0 
  at Mono.Zeroconf.Providers.AvahiDBus.ZeroconfProvider.Initialize () [0x00000] in <filename unknown>:0 
  at Mono.Zeroconf.Providers.ProviderFactory.GetProviders () [0x00000] in <filename unknown>:0 
[Warn  01:46:58.453] Failed to start DAAP client - System.Exception: No Zeroconf providers could be found or initialized. Necessary daemon may not be running. (in `Mono.Zeroconf')
  at Mono.Zeroconf.Providers.ProviderFactory.GetProviders () [0x00000] in <filename unknown>:0 
  at Mono.Zeroconf.Providers.ProviderFactory.get_DefaultProvider () [0x00000] in <filename unknown>:0 
  at Mono.Zeroconf.Providers.ProviderFactory.get_SelectedProvider () [0x00000] in <filename unknown>:0 
  at Mono.Zeroconf.ServiceBrowser..ctor () [0x00000] in <filename unknown>:0 
  at Daap.ServiceLocator.Start () [0x00000] in <filename unknown>:0 
  at Banshee.Daap.DaapService.ThreadedInitialize () [0x00000] in <filename unknown>:0 
[Warn  01:47:05.673] Caught an exception - System.Net.WebException: The remote server returned an error: (409) Conflict. (in `System')
  at System.Net.HttpWebRequest.CheckFinalStatus (System.Net.WebAsyncResult result) [0x00000] in <filename unknown>:0 
  at System.Net.HttpWebRequest.SetResponseData (System.Net.WebConnectionData data) [0x00000] in <filename unknown>:0 
[Warn  01:47:07.705] Caught an exception - System.Xml.XmlException: an attribute value was not quoted  Line 19, position 13. (in `System.Xml')
  at Mono.Xml2.XmlTextReader.ReadAttributeValueTokens (Int32 dummyQuoteChar) [0x00000] in <filename unknown>:0 
  at Mono.Xml2.XmlTextReader.ReadAttributes (Boolean isXmlDecl) [0x00000] in <filename unknown>:0 
  at Mono.Xml2.XmlTextReader.ReadStartTag () [0x00000] in <filename unknown>:0 
  at Mono.Xml2.XmlTextReader.ReadContent () [0x00000] in <filename unknown>:0 
  at Mono.Xml2.XmlTextReader.Read () [0x00000] in <filename unknown>:0 
  at System.Xml.XmlTextReader.Read () [0x00000] in <filename unknown>:0 
  at System.Xml.XmlReader.ReadToFollowing (System.String name) [0x00000] in <filename unknown>:0 
  at MusicBrainz.MusicBrainzObject+<Query>c__AnonStorey3`1[MusicBrainz.Release].<>m__5 (System.Xml.XmlReader reader) [0x00000] in <filename unknown>:0 
  at MusicBrainz.MusicBrainzObject.XmlProcessingClosure (System.String url, MusicBrainz.XmlProcessingDelegate code) [0x00000] in <filename unknown>:0 
  at MusicBrainz.MusicBrainzObject.Query[Release] (System.String url_extension, Int32 limit, Int32 offset, System.String parameters, System.Nullable`1& count) [0x00000] in <filename unknown>:0 
  at MusicBrainz.Query`1[MusicBrainz.Release].LoadResults () [0x00000] in <filename unknown>:0 
  at MusicBrainz.Query`1[MusicBrainz.Release].get_Count () [0x00000] in <filename unknown>:0 
  at MusicBrainz.Query`1[MusicBrainz.Release].PerfectMatch () [0x00000] in <filename unknown>:0 
  at Banshee.Metadata.MusicBrainz.MusicBrainzQueryJob.Lookup () [0x00000] in <filename unknown>:0 
  at Banshee.Metadata.MusicBrainz.MusicBrainzQueryJob.Run () [0x00000] in <filename unknown>:0 
  at Banshee.Metadata.MetadataServiceJob.Run () [0x00000] in <filename unknown>:0 

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object
at System.NumberFormatter.ResetCharBuf (int) <0x0001f>
at System.NumberFormatter.FormatDecimal (int,System.Globalization.NumberFormatInfo) <0x00047>
at System.NumberFormatter.IntegerToString (string,System.IFormatProvider) <0x000df>
at System.NumberFormatter.NumberToString (string,long,System.IFormatProvider) <0x00053>
at long.ToString (string,System.IFormatProvider) <0x00027>
at string.FormatHelper (System.Text.StringBuilder,System.IFormatProvider,string,object[]) <0x0060c>
at string.Format (System.IFormatProvider,string,object[]) <0x00027>
at string.Format (string,object) <0x00047>
at Banshee.Collection.Database.DatabaseArtistListModel.UpdateSelectAllItem (long) <0x0004f>
at Banshee.Collection.Database.DatabaseFilterListModel`2<Banshee.Collection.Database.DatabaseArtistInfo, Banshee.Collection.ArtistInfo>.Reload (bool) <0x0015f>
at Banshee.Collection.Database.DatabaseTrackListModel.Reload (Hyena.Data.IListModel) <0x002a6>
at Banshee.Collection.Database.DatabaseTrackListModel.Reload () <0x0000f>
at Banshee.Sources.DatabaseSource.RateLimitedReload () <0x0003b>
at Banshee.Base.RateLimiter.InnerExecute () <0x00062>
at Banshee.Base.RateLimiter.Execute () <0x0007b>
at Banshee.Sources.DatabaseSource.Reload () <0x0002f>
at Banshee.SmartPlaylist.SmartPlaylistSource.Reload () <0x00063>
at Banshee.SmartPlaylist.SmartPlaylistSource.RefreshAndReload () <0x0001b>
at Banshee.SmartPlaylist.SmartPlaylistSource.HandleTracksChanged (Banshee.Sources.Source,Banshee.Sources.TrackEventArgs) <0x0008b>
at (wrapper delegate-invoke) <Module>.invoke_void__this___Source_TrackEventArgs (Banshee.Sources.Source,Banshee.Sources.TrackEventArgs) <0x0005e>
at (wrapper delegate-invoke) <Module>.invoke_void__this___Source_TrackEventArgs (Banshee.Sources.Source,Banshee.Sources.TrackEventArgs) <0x00095>
at (wrapper delegate-invoke) <Module>.invoke_void__this___Source_TrackEventArgs (Banshee.Sources.Source,Banshee.Sources.TrackEventArgs) <0x00095>
at (wrapper delegate-invoke) <Module>.invoke_void__this___Source_TrackEventArgs (Banshee.Sources.Source,Banshee.Sources.TrackEventArgs) <0x00095>
at (wrapper delegate-invoke) <Module>.invoke_void__this___Source_TrackEventArgs (Banshee.Sources.Source,Banshee.Sources.TrackEventArgs) <0x00095>
at (wrapper delegate-invoke) <Module>.invoke_void__this___Source_TrackEventArgs (Banshee.Sources.Source,Banshee.Sources.TrackEventArgs) <0x00095>
at Banshee.Sources.PrimarySource/<OnTracksChanged>c__AnonStorey24.<>m__46 () <0x000a8>
at Hyena.ThreadAssist.SpawnFromMain (System.Threading.ThreadStart) <0x0002c>
at Banshee.Sources.PrimarySource.OnTracksChanged (Hyena.Query.QueryField[]) <0x0007f>
at Banshee.Sources.PrimarySource.NotifyTracksChanged (Hyena.Query.QueryField[]) <0x00018>
at Banshee.Collection.Database.DatabaseTrackInfo.Save (bool,Hyena.Query.QueryField[]) <0x00257>
at Banshee.Collection.Database.DatabaseTrackInfo.UpdateLastPlayed () <0x00073>
at Banshee.GStreamer.PlayerEngine.OnAboutToFinish (intptr) <0x0001a>
at (wrapper native-to-managed) Banshee.GStreamer.PlayerEngine.OnAboutToFinish (intptr) <0x0006f>
Comment 1 Andrés G. Aragoneses (IRC: knocte) 2011-08-22 10:28:12 UTC
James, this is a duplicate of bug 651881 and that bug is closed because the reporter apparently upgraded the version of Mono and couldn't reproduce the bug again. Could you tell us in that bug what version of Mono you're using? Thanks

*** This bug has been marked as a duplicate of bug 651881 ***
Comment 2 Andrés G. Aragoneses (IRC: knocte) 2011-09-23 10:33:10 UTC

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