[ubuntu-mono] [Bug 391241] [NEW] closing error dialog (System.IndexOutOfRangeException) closes banshee

housetier housetier at gmail.com
Tue Jun 23 18:53:41 BST 2009


Public bug reported:

When advancing to the next item in my playlist, banshee will sometimes
display an error message:

"Banshee Encountered a Fatal Error
Array index is out of range"

Banshee keeps playing the song though. The fatality is evident when I
click the "Close" button of the error window: banshee immediately stops
playing and exits.

However, I haven't found a reliable way to replicate this behavior. When
I manually advance to the next song, no errors occur.

In my ~/.xsession-errors I find this:
====================================
[Info  19:43:52.277] Running Banshee 1.5.0: [Ubuntu karmic (development branch) (linux-gnu, x86_64) @ 2009-06-04 08:50:45 UTC]
[Info  19:43:53.907] All services are started 1.469112s
[Info  19:43:54.607] nereid Client Started

** (Banshee:23781): WARNING **: Could not seek in stream
[Error 19:45:10.481] GStreamer stream error: Decode
taglib-sharp caught exception creating tag: TagLib.CorruptFileException: Frame data incomplete.
  at TagLib.Id3v2.Frame.FieldData (TagLib.ByteVector frameData, Int32 offset, Byte version) [0x00000] 
  at TagLib.Id3v2.Frame.SetData (TagLib.ByteVector data, Int32 offset, Byte version, Boolean readHeader) [0x00000] 
  at TagLib.Id3v2.UnknownFrame..ctor (TagLib.ByteVector data, Int32 offset, FrameHeader header, Byte version) [0x00000] 
  at TagLib.Id3v2.FrameFactory.CreateFrame (TagLib.ByteVector data, System.Int32& offset, Byte version, Boolean alreadyUnsynched) [0x00000] 
  at TagLib.Id3v2.Tag.Parse (TagLib.ByteVector data) [0x00000] 
  at TagLib.Id3v2.Tag.Read (TagLib.File file, Int64 position) [0x00000] 
  at TagLib.Id3v2.Tag..ctor (TagLib.File file, Int64 position) [0x00000] 
  at TagLib.NonContainer.StartTag.ReadTag (System.Int64& start) [0x00000] 
Array index is out of range.
System.IndexOutOfRangeException: Array index is out of range.
at NDesk.DBus.MessageReader.MarshalUInt (byte*) <0x0003b>
  at TagLib.NonContainer.StartTag.ReadTag (System.Int64& start) [0x00000]
Array index is out of range. 
System.IndexOutOfRangeException: Array index is out of range.
at NDesk.DBus.MessageReader.MarshalUInt (byte*) <0x0003b>
at NDesk.DBus.MessageReader.ReadUInt32 () <0x0001f>
at NDesk.DBus.MessageReader.ReadString () <0x0000f>
at NDesk.DBus.MessageReader.ReadValue (System.Type) <0x000fb>
at NDesk.DBus.MessageReader.ReadStruct (System.Type) <0x00097>
at NDesk.DBus.MessageReader.ReadValue (System.Type) <0x00287> 
at NDesk.DBus.MessageHelper.GetDynamicValues (NDesk.DBus.Message,System.Type[]) <0x00093>
at NDesk.DBus.BusObject.SendMethodCall (string,string,string,NDesk.DBus.MessageWriter,System.Type,System.Exception&) <0x001b7>
at INotificationsProxy.get_ServerInformation () <0x00073>
at Notifications.Global.get_ServerInformation () <0x00023>
at Banshee.NotificationArea.NotificationAreaService.get_IsNotificationDaemon () <0x0002f>
at Banshee.NotificationArea.NotificationAreaService.ShowTrackNotification () <0x00157>
at Banshee.NotificationArea.NotificationAreaService.OnPlayerEvent (Banshee.MediaEngine.PlayerEventArgs) <0x00063>
at Banshee.MediaEngine.PlayerEngineService.RaiseEvent (Banshee.MediaEngine.PlayerEventArgs) <0x00132>
at Banshee.MediaEngine.PlayerEngineService.OnEngineEventChanged (Banshee.MediaEngine.PlayerEventArgs) <0x000cb>
at Banshee.MediaEngine.PlayerEngine.RaiseEventChanged (Banshee.MediaEngine.PlayerEventArgs) <0x00027>
at Banshee.MediaEngine.PlayerEngine.OnEventChanged (Banshee.MediaEngine.PlayerEventArgs) <0x00047>
at Banshee.MediaEngine.PlayerEngine.OnEventChanged (Banshee.MediaEngine.PlayerEvent) <0x00032> 
at Banshee.GStreamer.PlayerEngine.OnStateChange (intptr,Banshee.GStreamer.GstState,Banshee.GStreamer.GstState,Banshee.GStreamer.GstState) <0x0007f>
at (wrapper native-to-managed) Banshee.GStreamer.PlayerEngine.OnStateChange (intptr,Banshee.GStreamer.GstState,Banshee.GStreamer.GstState,Banshee.GStreamer.GstState) <0x0007e>
at (wrapper managed-to-native) Gtk.Application.gtk_main () <0x00052>
at Gtk.Application.Run () <0x0000b>
at Banshee.Gui.GtkBaseClient.Run () <0x00047>
at Banshee.Gui.GtkBaseClient.Startup () <0x00046>
at Hyena.Gui.CleanRoomStartup.Startup (Hyena.Gui.CleanRoomStartup/StartupInvocationHandler) <0x00099>

taglib-sharp caught exception creating tag: TagLib.CorruptFileException: Frame data incomplete.
  at TagLib.Id3v2.Frame.FieldData (TagLib.ByteVector frameData, Int32 offset, Byte version) [0x00000] 
  at TagLib.Id3v2.Frame.SetData (TagLib.ByteVector data, Int32 offset, Byte version, Boolean readHeader) [0x00000]
  at TagLib.Id3v2.UnknownFrame..ctor (TagLib.ByteVector data, Int32 offset, FrameHeader header, Byte version) [0x00000]
  at TagLib.Id3v2.FrameFactory.CreateFrame (TagLib.ByteVector data, System.Int32& offset, Byte version, Boolean alreadyUnsynched) [0x00000]
  at TagLib.Id3v2.Tag.Parse (TagLib.ByteVector data) [0x00000] 
  at TagLib.Id3v2.Tag.Read (TagLib.File file, Int64 position) [0x00000]
  at TagLib.Id3v2.Tag..ctor (TagLib.File file, Int64 position) [0x00000] 
  at TagLib.NonContainer.StartTag.ReadTag (System.Int64& start) [0x00000]  
====================================

Description:    Ubuntu karmic (development branch)
Release:        9.10

banshee:
  Installed: 1.5.0-0ubuntu1~hyper2
  Candidate: 1.5.0-0ubuntu1~hyper2
  Version table:
 *** 1.5.0-0ubuntu1~hyper2 0
        500 http://ppa.launchpad.net karmic/main Packages
        100 /var/lib/dpkg/status
     1.4.3-5 0
        500 http://de.archive.ubuntu.com karmic/universe Packages


I would be nice if "Close" only closed the error window and let banshee keep playing.

** Affects: banshee (Ubuntu)
     Importance: Undecided
         Status: New

-- 
closing error dialog (System.IndexOutOfRangeException) closes banshee
https://bugs.launchpad.net/bugs/391241
You received this bug notification because you are a member of MOTU Mono
Team, which is subscribed to banshee in ubuntu.



More information about the Ubuntu-mono mailing list