Uncaught exception when syncing to Mass Storage Device

Bug #184596 reported by Dougal Stanton
6
Affects Status Importance Assigned to Milestone
banshee (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: banshee

The following is a stack trace that occurs if I try to sync Banshee to my mp3 player (iAudio M5). The player is already mounted when I start the application.

dougal@cuttlefish ~ $ banshee
Debug: [20/01/2008 00:01:15] (Loading audio profiles) - /usr/share/banshee/audio-profiles
Debug: [20/01/2008 00:01:16] (Default player engine) - GStreamer 0.10
Debug: [20/01/2008 00:01:17] (Audio CD Core Initialised) -
Debug: [20/01/2008 00:01:17] (Testing device for DAP support) - /org/freedesktop/Hal/devices/volume_uuid_744E_A70A
Debug: [20/01/2008 00:01:18] (DAP has been added) - Banshee.Dap.MassStorage.MassStorageDap: /org/freedesktop/Hal/devices/volume_uuid_744E_A70A
Debug: [20/01/2008 00:01:18] (Testing device for DAP support) - /org/freedesktop/Hal/devices/volume_uuid_8bdcbc18_1caf_4b15_ace5_5eaec7193fa2
Debug: [20/01/2008 00:01:18] (Waiting for possible DAP to mount) - /org/freedesktop/Hal/devices/volume_uuid_8bdcbc18_1caf_4b15_ace5_5eaec7193fa2
Debug: [20/01/2008 00:01:18] (DAP has not been added) - /org/freedesktop/Hal/devices/volume_uuid_8bdcbc18_1caf_4b15_ace5_5eaec7193fa2
Debug: [20/01/2008 00:01:18] (Testing device for DAP support) - /org/freedesktop/Hal/devices/volume_uuid_970fbaf3_6f8a_4832_b578_95bc596e4d0d
Debug: [20/01/2008 00:01:18] (Waiting for possible DAP to mount) - /org/freedesktop/Hal/devices/volume_uuid_970fbaf3_6f8a_4832_b578_95bc596e4d0d
Debug: [20/01/2008 00:01:18] (DAP has not been added) - /org/freedesktop/Hal/devices/volume_uuid_970fbaf3_6f8a_4832_b578_95bc596e4d0d
Debug: [20/01/2008 00:01:18] (Testing device for DAP support) - /org/freedesktop/Hal/devices/volume_uuid_93574046_ad50_49cd_bc77_a0038303c8c4
Debug: [20/01/2008 00:01:18] (Waiting for possible DAP to mount) - /org/freedesktop/Hal/devices/volume_uuid_93574046_ad50_49cd_bc77_a0038303c8c4
Debug: [20/01/2008 00:01:18] (DAP has not been added) - /org/freedesktop/Hal/devices/volume_uuid_93574046_ad50_49cd_bc77_a0038303c8c4
Debug: [20/01/2008 00:01:18] (Testing device for DAP support) - /org/freedesktop/Hal/devices/storage_serial_TOSHIBA_MK2004GAL_100_0_0
Debug: [20/01/2008 00:01:18] (DAP has not been added) - /org/freedesktop/Hal/devices/storage_serial_TOSHIBA_MK2004GAL_100_0_0
Warning: [20/01/2008 00:01:18] (Power Management Call Failed) - Cannot find GNOME Power Manager: Name org.gnome.PowerManager has no owner
Debug: [20/01/2008 00:01:18] (Enabled multimedia keys support) - Using org.gnome.SettingsDaemon
Setting IO Backend to Banshee.IO.Unix.IOConfig (unix)

(Banshee:19938): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

(Banshee:19938): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Error on line 1: Character reference 'f' does not encode a permitted character

(Banshee:19938): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Error on line 1: Character reference '12' does not encode a permitted character

(Banshee:19938): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Error on line 1: Character reference 'c' does not encode a permitted character

(Banshee:19938): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()
Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.InvalidOperationException: Collection was modified;enumeration operation may not execute.
  at System.Collections.Generic.List`1+Enumerator[Banshee.Base.TrackInfo].MoveNext () [0x00000]
  at Banshee.Dap.DapDevice.Save (ICollection`1 library) [0x00000]
  at Banshee.PlayerUI.OnSyncDapAction (System.Object o, System.EventArgs args) [0x00000]
  at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
  at GLib.Signal.voidObjectCallback (IntPtr handle, IntPtr gch) [0x00000]

   at GLib.ExceptionManager.RaiseUnhandledException ()
   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 ()

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

Which version of Banshee are you using? And can you attach output from 'banshee --debug'?

Changed in banshee:
status: New → Incomplete
Revision history for this message
Dougal Stanton (ubuntu-dougalstanton) wrote :

I've only got SSH access at the moment so I can't give you the full details, but it's the Banshee installed from the Gutsy repository, nothing clever.

$ aptitude show banshee
Package: banshee
State: installed
Automatically installed: yes
Version: 0.13.1+dfsg-3

I'll get more details this evening.

Revision history for this message
Connor Imes (ckimes) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering is this still an issue for you? Can you try with latest Ubuntu release? Thanks in advance.

Revision history for this message
Dougal Stanton (ubuntu-dougalstanton) wrote :

This appears to be fixed in the Hardy Heron. Thanks.

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

Marking fixed as per Dougal's comments. (Thanks Dougal!)

Changed in banshee:
status: Incomplete → Fix Released
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.