Bug 549036

Summary: cannot disconnect the ipod (model classic 80GB) on banshee
Product: [Fedora] Fedora Reporter: Jonathan Colon <rebelinux>
Component: bansheeAssignee: Christian Krause <chkr>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: chkr, dcbw, michel, nathaniel, tcallawa
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-12-04 01:28:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
strace of devkit daemon recommended by Christian Krause (chkr@plauener.de)
none
Screenshot of the error none

Description Jonathan Colon 2009-12-20 03:54:09 UTC
Created attachment 379429 [details]
strace of devkit daemon recommended by Christian Krause (chkr)

Description of problem:

Using the latest banshee version i cant disconnect the ipod.

Version-Release number of selected component (if applicable):

banshee-1.5.3-0.1.20091216git.fc12.i686
podsleuth-0.6.6-0.1.20091216git.fc12.i686

How reproducible:


Steps to Reproduce:
1. start banshee 
2. wait for the ipod device to appear in the menu
3. try to disconnect using the button provided in banshee
  
Actual results:

Banshee display a message saying: Could not disconnect Media Player: org.freedesktop.hal.Device.UnknownError: An unknown error occurred see screenshot attachment

Expected results:

successfully disconnect the ipod device in banshee

Additional info:

Additional shell error

[Warn  17:14:49.680] Caught an exception -
org.freedesktop.Hal.Device.UnknownError: An unknown error occured (in
`NDesk.DBus.Proxies')
  at IVolumeProxy.Eject (System.String[] ) [0x00000] 
  at Hal.Volume.Eject (System.String[] args) [0x00000] 
  at Hal.Volume.Eject () [0x00000] 
  at Banshee.HalBackend.Volume.Eject () [0x00000] 
  at Banshee.Dap.Ipod.PodSleuthDevice.Eject () [0x00000] 
  at Banshee.Dap.Ipod.IpodSource.Eject () [0x00000] 
  at Banshee.Dap.RemovableSource.<Unmap>m__B (System.Object ) [0x00000] 
[Warn  17:14:49.681] Caught an exception -
org.freedesktop.DBus.Error.UnknownMethod: Method "Get" with signature "ss" on
interface "org.freedesktop.DBus.Properties" doesn't exist
 (in `NDesk.DBus.Proxies')
  at PropertiesProxy.Get (System.String propname, System.String ) [0x00000] 
  at Banshee.HalBackend.DkDisk.get_IsReadOnly () [0x00000] 
  at Banshee.HalBackend.Volume.get_IsReadOnly () [0x00000] 
  at Banshee.Dap.Ipod.PodSleuthDevice.get_IsReadOnly () [0x00000] 
  at Banshee.Dap.Ipod.IpodSource.get_IsReadOnly () [0x00000] 
  at Banshee.Dap.Ipod.IpodSource.get_CanRename () [0x00000] 
  at Banshee.Gui.SourceActions.UpdateActions (Boolean force) [0x00000] 
  at Banshee.Gui.SourceActions.<HandleActiveSourceUpdated>m__87 () [0x00000] 
  at Banshee.Base.ThreadAssist.ProxyToMain (Banshee.Base.InvokeHandler handler)
[0x00000] 
  at Banshee.Gui.SourceActions.HandleActiveSourceUpdated (System.Object o,
System.EventArgs args) [0x00000] 
  at (wrapper delegate-invoke)
System.EventHandler:invoke_void__this___object_EventArgs
(object,System.EventArgs)
  at Banshee.Sources.Source.OnUpdated () [0x00000] 
  at Banshee.Sources.Source.OnPropertyChanged (System.Object o,
Hyena.Data.PropertyChangeEventArgs args) [0x00000] 
  at (wrapper delegate-invoke)
Hyena.Data.PropertyChangeEventHandler:invoke_void__this___object_PropertyChangeEventArgs
(object,Hyena.Data.PropertyChangeEventArgs)
  at (wrapper delegate-invoke)
Hyena.Data.PropertyChangeEventHandler:invoke_void__this___object_PropertyChangeEventArgs
(object,Hyena.Data.PropertyChangeEventArgs)
  at Hyena.Data.PropertyStore.OnPropertyChanged (System.String propertyName,
Boolean added, Boolean removed, System.Object oldValue, System.Object newValue)
[0x00000] 
  at Hyena.Data.PropertyStore.Remove (System.String name) [0x00000] 
  at Banshee.Dap.DapSource.Dispose () [0x00000] 
  at Banshee.Dap.Ipod.IpodSource.Dispose () [0x00000] 
  at Banshee.Dap.DapService.UnmapDevice (System.String uuid) [0x00000]

Comment 1 Jonathan Colon 2009-12-20 03:55:19 UTC
Created attachment 379430 [details]
Screenshot of the error

Comment 2 Christian Krause 2009-12-20 17:18:09 UTC
Thanks for the debug information. According to the strace it looks like that banshee checks for some status of the ipod after it has ejected it. IMHO this looks like a race condition between two threads in banshee, especially because it does not happen on my system at all...

I've opened a bug report upstream:
https://bugzilla.gnome.org/show_bug.cgi?id=605074

Comment 3 Nathaniel McCallum 2010-10-11 00:50:04 UTC
This bug should be fixed in Banshee 1.8.0 (in F14) which no longer uses ipod-sharp but libgpod (so the race condition should be gone).  Is there any way for you to test this?

Comment 4 Bug Zapper 2010-11-04 02:58:44 UTC
This message is a reminder that Fedora 12 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 12.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '12'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 12's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 12 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 5 Bug Zapper 2010-12-04 01:28:00 UTC
Fedora 12 changed to end-of-life (EOL) status on 2010-12-02. Fedora 12 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.