GNOME Bugzilla – Bug 352949
rhythmbox-metadata prevents iPod being unmounted/ejected
Last modified: 2006-09-20 08:24:15 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.
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/ ?
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.
*** This bug has been marked as a duplicate of 328526 ***
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.
(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.
So we probably need to cancel any pending metadata loads for the device when the user ejects it from RB.