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 667197 - Banshee becomes unresponsive when Samsung Galaxy S2 is connected
Banshee becomes unresponsive when Samsung Galaxy S2 is connected
Status: RESOLVED WONTFIX
Product: banshee
Classification: Other
Component: Device - USB Mass Storage
git master
Other Linux
: Normal major
: ---
Assigned To: Banshee Maintainers
Banshee Maintainers
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2012-01-03 16:40 UTC by Chow Loong Jin
Modified: 2020-03-17 09:21 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Chow Loong Jin 2012-01-03 16:40:32 UTC
Originally reported at:
  https://bugs.launchpad.net/bugs/869995

When I connect my Samsung Galaxy S2 phone banshee hangs.

Full debug log obtained from https://bugs.launchpad.net/ubuntu/+source/banshee/+bug/869995/comments/10:
Banshee does not exit with that command but it does ouput info:

mschering@Intermesh-4:~$ banshee --debug
** Running Mono with --debug **
[1 Info 16:18:06.974] Running Banshee 2.2.1: [Ubuntu 11.10 (linux-gnu, x86_64) @ 2011-12-19 14:58:04 UTC]
[1 Debug 16:18:06.989] Initializing GTK

(Banshee:2481): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(Banshee:2481): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(Banshee:2481): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(Banshee:2481): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
[1 Debug 16:18:07.498] Post-Initializing GTK
[1 Debug 16:18:07.507] Configuration client extension loaded (Banshee.GnomeBackend.GConfConfigurationClient)
[1 Debug 16:18:07.510] Using default gconf-base-key
[1 Debug 16:18:07.544] Bus.Session.RequestName ('org.bansheeproject.Banshee') replied with PrimaryOwner
[1 Debug 16:18:07.577] Core service started (DBusServiceManager, 0.000669)
[1 Debug 16:18:07.578] Registering remote object /org/bansheeproject/Banshee/DBusCommandService (Banshee.ServiceStack.DBusCommandService) on org.bansheeproject.Banshee
[1 Debug 16:18:07.582] Core service started (DBusCommandService, 0.004352)
[1 Debug 16:18:07.600] Opened SQLite (version 3.7.7) connection to /home/mschering/.config/banshee-1/banshee.db
[1 Debug 16:18:07.601] Core service started (DbConnection, 0.019133)
[1 Debug 16:18:07.608] Database version 44 is up to date
[1 Debug 16:18:07.635] Core service started (PreferenceService, 0.013735)
[1 Debug 16:18:07.643] Core service started (Network, 0.008225)
[1 Debug 16:18:07.644] Registering remote object /org/bansheeproject/Banshee/SourceManager (Banshee.Sources.SourceManager) on org.bansheeproject.Banshee
[1 Debug 16:18:07.644] Core service started (SourceManager, 0.000778)
[1 Debug 16:18:07.649] Core service started (MediaProfileManager, 0.000131)
[1 Debug 16:18:07.652] Registering remote object /org/bansheeproject/Banshee/PlayerEngine (Banshee.MediaEngine.PlayerEngineService) on org.bansheeproject.Banshee
[1 Debug 16:18:07.654] Core service started (PlayerEngine, 0.005104)
[1 Debug 16:18:07.670] Registering remote object /org/bansheeproject/Banshee/PlaybackController (Banshee.PlaybackController.PlaybackControllerService) on org.bansheeproject.Banshee
[1 Debug 16:18:07.671] Core service started (PlaybackController, 0.003028)
[1 Debug 16:18:07.677] Starting - Startup Job
[1 Debug 16:18:07.678] Core service started (JobScheduler, 0.00641)
[1 Debug 16:18:07.683] IO provider extension loaded (Banshee.IO.Gio.Provider)
[1 Debug 16:18:07.738] Loaded HardwareManager backend: Banshee.Hardware.Gio
[1 Debug 16:18:07.739] Core service started (HardwareManager, 0.060954)
[1 Debug 16:18:07.745] Bus.Session.RequestName ('org.bansheeproject.CollectionIndexer') replied with PrimaryOwner
[1 Debug 16:18:07.746] Registering remote object /org/bansheeproject/Banshee/CollectionIndexerService (Banshee.Collection.Indexer.CollectionIndexerService) on org.bansheeproject.CollectionIndexer
[1 Debug 16:18:07.747] Core service started (CollectionIndexerService, 0.008273)
[1 Debug 16:18:07.749] Core service started (SaveTrackMetadataService, 0.001444)
[1 Debug 16:18:07.752] Adding icon theme search path: /usr/share/banshee/icons
[1 Debug 16:18:07.753] Core service started (GtkElementsService, 0.004244)
[1 Debug 16:18:07.754] Core service started (InterfaceActionService, 0.000765)
[1 Debug 16:18:07.817] Extension actions loaded: MetadataFixActions
[1 Debug 16:18:07.817] Registering remote object /org/bansheeproject/Banshee/GlobalUIActions (Banshee.Gui.GlobalActions) on org.bansheeproject.Banshee
[1 Debug 16:18:07.818] Album artwork path set to /home/mschering/.cache/media-art
[1 Debug 16:18:07.826] Core service started (ArtworkManager, 0.00875)
[1 Debug 16:18:07.826] Core service started (BookmarksService, 0.000112)
[1 Debug 16:18:08.018] Adding context page lastfm-recommendations
[1 Debug 16:18:08.028] Adding context page wikipedia
[1 Debug 16:18:08.143] Constructed Nereid interface: 0.205349
[1 Debug 16:18:08.177] Creating new surface cache for 90px images, capped at 0.93 MiB (30 items)
[1 Debug 16:18:08.256] Registering remote object /org/bansheeproject/Banshee/ClientWindow (Nereid.PlayerInterface) on org.bansheeproject.Banshee
[1 Debug 16:18:08.256] Core service started (NereidPlayerInterface, 0.424821)
[1 Debug 16:18:08.258] Extension service started (DapService, 0.001338)
[1 Debug 16:18:08.273] Extension service started (EmusicService, 0.015167)
[1 Info 16:18:08.277] Updating web proxy from GConf
[1 Debug 16:18:08.281] Direct connection, no proxy in use
[1 Debug 16:18:08.288] Extension service started (GnomeService, 0.014684)
[1 Debug 16:18:08.289] Extension service started (DaapService, 0.000448)
[1 Debug 16:18:08.291] Extension service started (BpmService, 0.002392)
[1 Debug 16:18:08.303] Extension service started (GStreamerCoreService, 0.0119)
[1 Debug 16:18:08.343] Extension service started (AudioCdService, 0.04026)
[1 Debug 16:18:08.349] Extension service started (MprisService, 0.005263)
[1 Debug 16:18:08.359] Extension service started (SoundMenuService, 0.010541)
[1 Debug 16:18:08.365] Audioscrobbler state: connected
[1 Debug 16:18:08.366] Extension service started (AudioscrobblerService, 0.00681)
[1 Debug 16:18:08.368] Extension service started (CoverArtService, 0.00154)
[1 Debug 16:18:08.378] Using GNOME 2.22 API for Multimedia Keys
[1 Debug 16:18:08.378] Extension service started (MultimediaKeysService, 0.009914)
[1 Debug 16:18:08.379] Extension service started (PodcastService, 0.00099)
[1 Debug 16:18:08.380] Extension service started (AmazonMp3DownloaderService, 0.001199)
[1 Info 16:18:08.381] All services are started 0.835689
[1 Debug 16:18:08.580] Creating Pango.Layout, configuring Cairo.Context
[1 Debug 16:18:08.665] Extension source loaded: Audiobooks
[1 Debug 16:18:08.669] Extension source loaded: Now Playing
[1 Debug 16:18:08.686] Extension source loaded: File System Queue
[1 Debug 16:18:08.699] Extension source loaded: Radio
[1 Debug 16:18:08.703] Extension source loaded: Miro Guide
** (Banshee:2481): DEBUG: SyncDaemon already running, initializing SyncdaemonDaemon object

(Banshee:2481): libsoup-WARNING **: No feature manager for feature of type 'U1RequestChrome'
Domain: 'Gtk' Level: Critical
Message: IA__gtk_widget_hide: assertion `GTK_IS_WIDGET (widget)' failed
Trace follows:
   at GLib.Log.PrintTraceLogFunction(System.String domain, LogLevelFlags level, System.String message)
   at GLib.Object.gtksharp_object_newv(IntPtr , Int32 , System.IntPtr[] , GLib.Value[] )
   at GLib.Object.CreateNativeObject(System.String[] names, GLib.Value[] vals)
   at Gtk.Object.CreateNativeObject(System.String[] names, GLib.Value[] vals)
   at Gtk.Widget.CreateNativeObject(System.String[] names, GLib.Value[] vals)
   at UbuntuOne.U1MusicStore..ctor()
   at Banshee.UbuntuOneMusicStore.UbuntuOneMusicStoreSource+StoreWrapper..ctor()
   at Banshee.UbuntuOneMusicStore.UbuntuOneMusicStoreSource+CustomView..ctor()
   at Banshee.UbuntuOneMusicStore.UbuntuOneMusicStoreSource..ctor()
   at System.Reflection.MonoCMethod.InternalInvoke(System.Reflection.MonoCMethod , System.Object , System.Object[] , System.Exception ByRef )
   at System.Reflection.MonoCMethod.Invoke(System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)
   at System.Reflection.MonoCMethod.Invoke(BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)
   at System.Reflection.ConstructorInfo.Invoke(System.Object[] parameters)
   at System.Activator.CreateInstance(System.Type type, Boolean nonPublic)
   at System.Activator.CreateInstance(System.Type type)
   at Mono.Addins.TypeExtensionNode.CreateInstance()
   at Banshee.Sources.SourceManager.OnExtensionChanged(System.Object o, Mono.Addins.ExtensionNodeEventArgs args)
   at Mono.Addins.ExtensionNode.add_ExtensionNodeChanged(Mono.Addins.ExtensionNodeEventHandler value)
   at Mono.Addins.ExtensionContext.AddExtensionNodeHandler(System.String path, Mono.Addins.ExtensionNodeEventHandler handler)
   at Mono.Addins.AddinManager.AddExtensionNodeHandler(System.String path, Mono.Addins.ExtensionNodeEventHandler handler)
   at Banshee.Sources.SourceManager.LoadExtensionSources()
   at Banshee.ServiceStack.Application.Run()
   at Banshee.Gui.GtkBaseClient.Initialize(Boolean registerCommonServices)
   at Banshee.Gui.GtkBaseClient..ctor(Boolean initializeDefault, System.String defaultIconName)
   at Banshee.Gui.GtkBaseClient..ctor()
   at Nereid.Client..ctor()
   at System.Reflection.MonoCMethod.InternalInvoke(System.Reflection.MonoCMethod , System.Object , System.Object[] , System.Exception ByRef )
   at System.Reflection.MonoCMethod.Invoke(System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)
   at System.Reflection.MonoCMethod.Invoke(BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)
   at System.Reflection.ConstructorInfo.Invoke(System.Object[] parameters)
   at System.Activator.CreateInstance(System.Type type, Boolean nonPublic)
   at System.Activator.CreateInstance(System.Type type)
   at Banshee.Gui.GtkBaseClient.Startup()
   at Hyena.Gui.CleanRoomStartup.Startup(Hyena.Gui.StartupInvocationHandler startup)
   at Banshee.Gui.GtkBaseClient.Startup()
   at Banshee.Gui.GtkBaseClient.Startup(System.String[] args)
   at Nereid.Client.Main(System.String[] args)
   at System.AppDomain.ExecuteAssembly(System.AppDomain , System.Reflection.Assembly , System.String[] )
   at System.AppDomain.ExecuteAssemblyInternal(System.Reflection.Assembly a, System.String[] args)
   at System.AppDomain.ExecuteAssembly(System.String assemblyFile, System.Security.Policy.Evidence assemblySecurity, System.String[] args)
   at System.AppDomain.ExecuteAssembly(System.String assemblyFile)
   at Booter.Booter.BootClient(System.String clientName)
   at Booter.Booter.Main()
[1 Debug 16:18:09.108] Extension source loaded: Ubuntu One Music Store
[1 Debug 16:18:09.122] Extension source loaded: Last.fm
[1 Debug 16:18:09.176] Registering remote object /org/bansheeproject/Banshee/SourceManager/PlayQueue (Banshee.PlayQueue.PlayQueueSource) on org.bansheeproject.Banshee
[1 Debug 16:18:09.176] Extension source loaded: Play Queue
[1 Debug 16:18:09.183] Extension source loaded: Internet Archive
[1 Info 16:18:09.186] AmazonMP3 store redirect URL: https://one.ubuntu.com/music/store/amz/
[1 Debug 16:18:09.187] Extension source loaded: Amazon MP3 Store
[1 Debug 16:18:09.191] Starting GTK main loop
[1 Debug 16:18:09.223] U1MS: Url Loaded: - file:///usr/share/libubuntuone/1/javascript/connecting.html
[1 Debug 16:18:09.303] Creating Pango.Layout, configuring Cairo.Context
[1 Debug 16:18:09.315] Creating Pango.Layout, configuring Cairo.Context
** (Banshee:2481): DEBUG: Loading the real store page

** (Banshee:2481): WARNING **: Got less number of items in credentials hash table than expected!
[1 Info 16:18:09.350] nereid Client Started
[1 Debug 16:18:09.351] Delayed Initializating Banshee.MediaEngine.PlayerEngineService
[1 Debug 16:18:09.485] (libbanshee:player) Audiosink has volume: YES
[1 Debug 16:18:09.490] (libbanshee:player) Using system (gst-plugins-good) equalizer element
[1 Debug 16:18:09.524] Player state change: NotReady -> Ready
[1 Debug 16:18:09.526] Loaded equalizer presets: 0.000115
[1 Debug 16:18:09.529] Selected equalizer: Rock
[1 Debug 16:18:09.532] Player state change: Ready -> Idle
[1 Debug 16:18:09.534] (libbanshee:player) Disabled ReplayGain
[1 Info 16:18:09.535] GStreamer version 0.10.35.0, gapless: True, replaygain: False
[1 Debug 16:18:09.536] Delayed Initializating Banshee.Dap.DapService
[1 Debug 16:18:09.542] Dap support extension loaded: Banshee.Dap.MassStorage
[1 Debug 16:18:09.542] Dap support extension loaded: Banshee.Dap.Mtp
[1 Debug 16:18:09.543] Dap support extension loaded: Banshee.Dap.AppleDevice
[1 Debug 16:18:09.545] Delayed Initializating Banshee.Daap.DaapService
[1 Debug 16:18:09.545] Delayed Initializating Banshee.Podcasting.PodcastService
[7 Info 16:18:09.597] AppleDeviceSource is ignoring unmounted volume SAMSUNG_Android
[9 Debug 16:18:09.622] Refreshing any podcasts that haven't been updated in over an hour
Device 0 (VID=04e8 and PID=6860) is a Samsung GT-P7510/Galaxy Tab 10.1.
[1 Debug 16:18:10.623] Finished - Startup Job
[1 Debug 16:18:10.624] Starting - Downloading Cover Art
[12 Debug 16:18:10.625] Finished - Downloading Cover Art
[14 Debug 16:18:10.813] DAAP Proxy listening for connections on port 8089
[1 Debug 16:18:10.860] U1MS: Url Loaded: - http://stores.7digital.com/default.aspx?shop=436&partner=983
PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
inep: usb_get_endpoint_status(): No such device
outep: usb_get_endpoint_status(): No such device
usb_clear_halt() on IN endpoint: No such device
usb_clear_halt() on OUT endpoint: No such device
usb_clear_halt() on INTERRUPT endpoint: No such device
ignoring usb_claim_interface = -9ignoring usb_claim_interface = -22LIBMTP PANIC: failed to open session on second attempt
[7 Debug 16:18:17.610] Failed to connect to mtp device. Trying 4 more times...
[7 Debug 16:18:19.703] Failed to connect to mtp device. Trying 3 more times...
[7 Debug 16:18:21.703] Failed to connect to mtp device. Trying 2 more times...
[7 Debug 16:18:23.704] Failed to connect to mtp device. Trying 1 more times...
[7 Debug 16:18:25.704] Failed to connect to mtp device. Trying 0 more times...

** (Banshee:2481): WARNING **: Error calling get_info: Traceback (most recent call last):
  • File "/usr/lib/python2.7/dist-packages/dbus/service.py", line 702 in _message_cb
    retval = candidate_method(self, *args, **keywords)
  • File "/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/platform/linux/dbus_interface.py", line 1041 in get_info
    return self.syncdaemon_folders.get_info(path)
  • File "/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/syncdaemon/interaction_interfaces.py", line 640 in get_info
    mdobj = self.fs.get_by_path(path.encode('utf-8'))
  • File "/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/syncdaemon/filesystem_manager.py", line 781 in get_by_path
    mdid = self._idx_path[path]
KeyError: '/home/mschering/.ubuntuone/Purchased from Ubuntu One'

** (Banshee:2481): CRITICAL **: syncdaemon_folder_info_get_subscribed: assertion `SYNCDAEMON_IS_FOLDER_INFO (finfo)' failed

** (Banshee:2481): WARNING **: Error rescanning Purchased Music: No such file or directory
Device 0 (VID=04e8 and PID=6860) is a Samsung GT-P7510/Galaxy Tab 10.1.

Full thread dump:

"Threapool monitor" tid=0x0x7f8b9b799700 this=0x0x7f8ba277eea0 thread handle 0x460 state : interrupted state owns ()

"Threadpool worker" tid=0x0x7f8b4509e700 this=0x0x7f8ba2c60c30 thread handle 0x51c state : interrupted state owns ()
  at (wrapper managed-to-native) System.Threading.WaitHandle.WaitAny_internal (System.Threading.WaitHandle[],int,bool) <IL 0x0000f, 0xffffffff>
  at System.Threading.WaitHandle.WaitAny (System.Threading.WaitHandle[],System.TimeSpan,bool) <IL 0x0003e, 0x00077>
  at System.Threading.RegisteredWaitHandle.Wait (object) <IL 0x00021, 0x000d3>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void__this___object (object,intptr,intptr,intptr) <IL 0x00052, 0xffffffff>

"HyenaSqliteConnection (/home/mschering/.config/banshee-1/banshee.db)" tid=0x0x7f8ba26d7700 this=0x0x7f8bb44df138 thread handle 0x428 state : interrupted state owns ()
  at (wrapper managed-to-native) System.Threading.WaitHandle.WaitOne_internal (System.Threading.WaitHandle,intptr,int,bool) <IL 0x0001c, 0xffffffff>
  at System.Threading.WaitHandle.WaitOne () <IL 0x00023, 0x0006b>
  at Hyena.Data.Sqlite.HyenaSqliteConnection.ProcessQueue () <IL 0x00123, 0x0026a>
  at System.Threading.Thread.StartUnsafe () <IL 0x00021, 0x00071>
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <IL 0x0004e, 0xffffffff>

"Threadpool worker" tid=0x0x7f8b46456700 this=0x0x7f8ba2ba89c0 thread handle 0x52b state : interrupted state owns ()
  at (wrapper managed-to-native) System.Threading.WaitHandle.WaitAny_internal (System.Threading.WaitHandle[],int,bool) <IL 0x0000f, 0xffffffff>
  at System.Threading.WaitHandle.WaitAny (System.Threading.WaitHandle[],System.TimeSpan,bool) <IL 0x0003e, 0x00077>
  at System.Threading.RegisteredWaitHandle.Wait (object) <IL 0x00021, 0x000d3>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void__this___object (object,intptr,intptr,intptr) <IL 0x00052, 0xffffffff>

"Threadpool worker" tid=0x0x7f8b44080700 this=0x0x7f8ba2c609c0 thread handle 0x51e state : interrupted state owns ()
  at (wrapper managed-to-native) System.Threading.WaitHandle.WaitAny_internal (System.Threading.WaitHandle[],int,bool) <IL 0x0000f, 0xffffffff>
  at System.Threading.WaitHandle.WaitAny (System.Threading.WaitHandle[],System.TimeSpan,bool) <IL 0x0003e, 0x00077>
  at System.Threading.RegisteredWaitHandle.Wait (object) <IL 0x00021, 0x000d3>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void__this___object (object,intptr,intptr,intptr) <IL 0x00052, 0xffffffff>

"DAAP Proxy" tid=0x0x7f8b43b7e700 this=0x0x7f8ba2ba8d68 thread handle 0x52a state : interrupted state owns ()
  at (wrapper managed-to-native) System.Net.Sockets.Socket.Accept_internal (intptr,int&,bool) <IL 0x0000f, 0xffffffff>
  at System.Net.Sockets.Socket.Accept () <IL 0x00049, 0x000af>
  at Banshee.Web.BaseHttpServer.ServerLoop () <IL 0x00085, 0x0012f>
  at System.Threading.Thread.StartUnsafe () <IL 0x00021, 0x00071>
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <IL 0x0004e, 0xffffffff>

"Threadpool worker" tid=0x0x7f8b43d7f700 this=0x0x7f8ba2c60618 thread handle 0x522 state : interrupted state owns ()
  at (wrapper managed-to-native) Mono.Unix.Native.Syscall.read (int,intptr,ulong) <IL 0x00019, 0xffffffff>
  at Mono.Unix.Native.Syscall.read (int,void*,ulong) <IL 0x00008, 0x00033>
  at Mono.Unix.UnixStream.Read (byte[],int,int) <IL 0x00042, 0x0008f>
  at NDesk.DBus.Connection.ReadMessage () <IL 0x00014, 0x00061>
  at NDesk.DBus.Connection.Iterate () <IL 0x0000c, 0x0001b>
  at Mono.Zeroconf.Providers.AvahiDBus.DBusManager.IterateThread (object) <IL 0x00033, 0x0009f>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void__this___object (object,intptr,intptr,intptr) <IL 0x00052, 0xffffffff>

"Banshee.Kernel Job Thread" tid=0x0x7f8b46657700 this=0x0x7f8ba277e138 thread handle 0x535 state : interrupted state owns ()
  at (wrapper managed-to-native) Mtp.MtpDevice.LIBMTP_Open_Raw_Device (Mtp.RawDeviceStruct&) <IL 0x0017a, 0xffffffff>
  at Mtp.MtpDevice.Connect (Mtp.RawMtpDevice) <IL 0x00009, 0x0006f>
  at Banshee.Dap.Mtp.MtpSource.DeviceInitialize (Banshee.Hardware.IDevice) <IL 0x000c9, 0x00413>
  at Banshee.Dap.DapService.FindDeviceSource (Banshee.Hardware.IDevice) <IL 0x00027, 0x000f0>
  at Banshee.Dap.DapService/MapDeviceJob.Run () <IL 0x000e0, 0x00723>
  at Banshee.Kernel.Scheduler.ProcessJobThread () <IL 0x00085, 0x00173>
  at System.Threading.Thread.StartUnsafe () <IL 0x00021, 0x00071>
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <IL 0x0004e, 0xffffffff>

"Main Thread" tid=0x0x7f8bb44eb760 this=0x0x7f8bb44dfea0 thread handle 0x403 state : waiting on 0x52c : Sem owns ()
  at (wrapper managed-to-native) System.Threading.Monitor.try_enter_with_atomic_var (object,int,bool&) <IL 0x0000f, 0xffffffff>
  at System.Threading.Monitor.TryEnter (object,int,bool&) <IL 0x00044, 0x0004f>
  at System.Threading.Monitor.Enter (object,bool&) <IL 0x00003, 0x00023>
  at Banshee.Dap.DapService.UnmapDevice (string) <IL 0x00017, 0x0005f>
  at Banshee.Dap.DapService.OnHardwareDeviceRemoved (object,Banshee.Hardware.DeviceRemovedArgs) <IL 0x00007, 0x00023>
  at (wrapper delegate-invoke) <Module>.invoke_void__this___object_DeviceRemovedArgs (object,Banshee.Hardware.DeviceRemovedArgs) <IL 0x00059, 0xffffffff>
  at Banshee.Hardware.HardwareManager.OnDeviceRemoved (object,Banshee.Hardware.DeviceRemovedArgs) <IL 0x0001c, 0x00051>
  at Banshee.Hardware.Gio.HardwareManager.HandleManagerDeviceRemoved (object,Banshee.Hardware.Gio.MountArgs) <IL 0x00022, 0x00072>
  at Banshee.Hardware.Gio.Manager.VolumeRemoved (GLib.Volume) <IL 0x00062, 0x00162>
  at Banshee.Hardware.Gio.Manager.HandleMonitorMountRemoved (object,GLib.MountRemovedArgs) <IL 0x00026, 0x0008b>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void__this___object_object (object,intptr,intptr,intptr) <IL 0x0005c, 0xffffffff>
  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&) <IL 0x0001c, 0xffffffff>
  at System.Reflection.MonoMethod.Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) <IL 0x000db, 0x00193>
  at System.Reflection.MethodBase.Invoke (object,object[]) <IL 0x00006, 0x0002a>
  at System.Delegate.DynamicInvokeImpl (object[]) <IL 0x000c6, 0x001a3>
  at System.MulticastDelegate.DynamicInvokeImpl (object[]) <IL 0x0001a, 0x0003b>
  at System.Delegate.DynamicInvoke (object[]) <IL 0x00002, 0x00018>
  at GLib.Signal.ClosureInvokedCB (object,GLib.ClosureInvokedArgs) <IL 0x00067, 0x0014f>
  at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs) <IL 0x00014, 0x0002f>
  at GLib.SignalClosure.MarshalCallback (intptr,intptr,uint,intptr,intptr,intptr) <IL 0x0014c, 0x0050b>
  at (wrapper native-to-managed) GLib.SignalClosure.MarshalCallback (intptr,intptr,uint,intptr,intptr,intptr) <IL 0x00024, 0xffffffff>
  at (wrapper managed-to-native) Gtk.Application.gtk_main () <IL 0x0000e, 0xffffffff>
  at Gtk.Application.Run () <IL 0x00000, 0x0000b>
  at Banshee.Gui.GtkBaseClient.Run () <IL 0x0000d, 0x0006b>
  at Banshee.Gui.GtkBaseClient.Startup () <IL 0x0000f, 0x00049>
  at Hyena.Gui.CleanRoomStartup.Startup (Hyena.Gui.CleanRoomStartup/StartupInvocationHandler) <IL 0x00045, 0x0008e>
  at Banshee.Gui.GtkBaseClient.Startup<T> () <IL 0x00036, 0x0006b>
  at Banshee.Gui.GtkBaseClient.Startup<T> (string[]) <IL 0x0004d, 0x000ff>
  at Nereid.Client.Main (string[]) <IL 0x00001, 0x00017>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) <IL 0x00050, 0xffffffff>
  at (wrapper managed-to-native) System.AppDomain.ExecuteAssembly (System.AppDomain,System.Reflection.Assembly,string[]) <IL 0x0001b, 0xffffffff>
  at System.AppDomain.ExecuteAssemblyInternal (System.Reflection.Assembly,string[]) <IL 0x0002f, 0x00047>
  at System.AppDomain.ExecuteAssembly (string,System.Security.Policy.Evidence,string[]) <IL 0x0000b, 0x00037>
  at (wrapper remoting-invoke-with-check) System.AppDomain.ExecuteAssembly (string,System.Security.Policy.Evidence,string[]) <IL 0x0003b, 0xffffffff>
  at System.AppDomain.ExecuteAssembly (string) <IL 0x00004, 0x0001f>
  at (wrapper remoting-invoke-with-check) System.AppDomain.ExecuteAssembly (string) <IL 0x00039, 0xffffffff>
  at Booter.Booter.BootClient (string) <IL 0x00024, 0x0006b>
  at Booter.Booter.Main () <IL 0x000f6, 0x001e3>
  at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <IL 0x0004c, 0xffffffff>

"Threadpool worker" tid=0x0x7f8b95d61700 this=0x0x7f8ba277eaf8 thread handle 0x5db state : interrupted state owns ()
  at (wrapper managed-to-native) System.Threading.WaitHandle.WaitAny_internal (System.Threading.WaitHandle[],int,bool) <IL 0x0000f, 0xffffffff>
  at System.Threading.WaitHandle.WaitAny (System.Threading.WaitHandle[],System.TimeSpan,bool) <IL 0x0003e, 0x00077>
  at System.Threading.RegisteredWaitHandle.Wait (object) <IL 0x00021, 0x000d3>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void__this___object (object,intptr,intptr,intptr) <IL 0x00052, 0xffffffff>
Comment 1 Michael Martin-Smucker 2012-01-03 17:40:27 UTC
I think I can reproduce this with my Galaxy S II (AT&T) as well. I noticed a hang while trying to sync a couple days ago, but most music was successfully copied to the device, so I figured it was an unrelated fluke.

But if other users are experiencing a similar issue with the GS2, it's probably not a fluke, and I'll gladly do what I can to help test.
Comment 2 Bertrand Lorentz 2012-01-08 14:31:13 UTC
Could you try to reproduce the problem with the latest git master ?

I think the fix for bug #667478 might also fix this, as they both seem to happen with libmtp 1.1
Comment 3 Michael Martin-Smucker 2012-01-11 00:07:19 UTC
Running the daily build from Jan 9, which I think should include the fix mentioned, Banshee still becomes unresponsive after I plug in my Galaxy S II.  

It's worth mentioning that Banshee is still working in the background -- it occasionally prints debug output to the Terminal -- but the user interface is locked up.

The output looks like the following when Banshee is frozen.  Note that it seems to identify the phone as a Galaxy Tab.


Device 0 (VID=04e8 and PID=6860) is a Samsung GT-P7510/Galaxy Tab 10.1.
PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
LIBMTP PANIC: failed to open session on second attempt
[15 Debug 18:42:42.267] Failed to connect to mtp device. Trying 4 more times...
ignoring usb_claim_interface = -110
Comment 4 Chow Loong Jin 2012-01-11 05:01:26 UTC
You can make Banshee dump a stack trace by running "killall -SIGQUIT banshee" after it's hung.
Comment 5 André Klapper 2020-03-17 09:21:49 UTC
Banshee is not under active development anymore and had its last code changes more than three years ago. Its codebase has been archived.

Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect
reality. Please feel free to reopen this ticket (or rather transfer the project
to GNOME Gitlab, as GNOME Bugzilla is being shut down) if anyone takes the
responsibility for active development again.
See https://gitlab.gnome.org/Infrastructure/Infrastructure/issues/264 for more info.