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 352949 - rhythmbox-metadata prevents iPod being unmounted/ejected
rhythmbox-metadata prevents iPod being unmounted/ejected
Status: RESOLVED DUPLICATE of bug 328526
Product: rhythmbox
Classification: Other
Component: general
HEAD
Other Linux
: Normal normal
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-08-26 08:30 UTC by Ed Catmur
Modified: 2006-09-20 08:24 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description Ed Catmur 2006-08-26 08:30:41 UTC
Try to eject iPod:

Cannot unmount volume
An application is preventing the volume 'IPOD' from being unmounted.

# fuser -m /media/IPOD
 
              USER        PID ACCESS COMMAND
/media/IPOD/: ed        26216 f...m rhythmbox-metad

I have to pull the iPod's cable out without unmounting it, which is dangerous.
Comment 1 Jonathan Matthew 2006-08-26 08:47:42 UTC
That's odd.. the metadata helper process shouldn't have any files open when it's not doing anything, and it should exit after 30s or so idle.  And as far as I know, it shouldn't be doing anything with ipods at all.

Perhaps it's getting stuck somewhere?  Could you get a stack trace for it, and the contents of /proc/`pidof rhythmbox-metadata`/fd/ ?
Comment 2 Ed Catmur 2006-08-26 20:36:21 UTC
Eh... seems it wasn't reading the iTunesDB. I rebuild it and it was fine. Still, this would be a problem for players that don't have their own metadata caches.
Comment 3 Ed Catmur 2006-08-26 20:37:22 UTC

*** This bug has been marked as a duplicate of 328526 ***
Comment 4 Jonathan Matthew 2006-08-26 22:29:27 UTC
I don't have this problem at all with my generic player.  Once it's finished reading the songs on the player, rhythmbox-metadata only has a variety of pipes and sockets open, and I can unmount the device.
Comment 5 Ed Catmur 2006-08-26 23:59:34 UTC
(In reply to comment #4)
> I don't have this problem at all with my generic player.  Once it's finished
> reading the songs on the player, rhythmbox-metadata only has a variety of pipes
> and sockets open, and I can unmount the device.

Waiting for rhythmbox-metadata to finish reading the songs would take a while. I have over 10000 songs on my iPod.
Comment 6 James "Doc" Livingston 2006-09-20 08:24:15 UTC
So we probably need to cancel any pending metadata loads for the device when the user ejects it from RB.