tumblerd prevents removable media from being unmounted

Bug #1319554 reported by halfbeing
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Tumbler
Confirmed
Medium
tumbler (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I believe this is the same issue as bug 582501, but as that bug report appears to be dead, I am restating it here. Reading around the interwebs, it appears to be a very well known and long-standing bug.

tumblerd prevents removable media from being removed. This happened to me this evening with an mp3 player. From what I have read around the web, this happens only when there are video files on the media, and I can confirm that the media I was trying to dismount this evening contained a video file.

I have just noticed that the drive I was trying to unmount has finally unmounted while I was researching and writing this report. So it appears that this bug may simply delay unmounting, albeit for an unacceptably long time, rather than outright preventing it.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: tumbler 0.1.30-1ubuntu1
ProcVersionSignature: Ubuntu 3.13.0-24.47-lowlatency 3.13.9
Uname: Linux 3.13.0-24-lowlatency x86_64
ApportVersion: 2.14.1-0ubuntu3.1
Architecture: amd64
CurrentDesktop: XFCE
Date: Wed May 14 22:21:12 2014
EcryptfsInUse: Yes
InstallationDate: Installed on 2013-08-22 (265 days ago)
InstallationMedia: Ubuntu-Studio 13.04 "Raring Ringtail" - Release amd64 (20130424)
SourcePackage: tumbler
UpgradeStatus: Upgraded to trusty on 2014-04-22 (22 days ago)

Revision history for this message
halfbeing (halfbeing) wrote :
Revision history for this message
Thaddaeus Tintenfisch (thad-fisch-deactivatedaccount) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in tumbler (Ubuntu):
status: New → Confirmed
Revision history for this message
In , David Pires (slickymaster) wrote :

tumbler prevents volume from being unmounted. The volume content consists of jpg, png, mov and MP4 files.

Here's the terminal output when trying to unmount the volume:

~$ fusermount -u ./private
fusermount: failed to unmount /home/slickymaster/private: Device or resource busy

Running 'fuser -m' on the mount point to see what processes are currently using the filesystem:

~$ fuser -m ./private
/home/slickymaster/private: 3829

Getting the process name:

~$ cat /proc/3829/cmdline
/usr/lib/i386-linux-gnu/tumbler-1/tumblerd

The only possible way to get the volume to unmount is by manual killing the culprit process:

~$ kill 3829
~$ fusermount -u ./private
~$

~$ apt-cache policy tumbler
tumbler:
  Installed: 0.1.30-1ubuntu1
  Candidate: 0.1.30-1ubuntu1
  Version table:
 *** 0.1.30-1ubuntu1 0
        500 http://pt.archive.ubuntu.com/ubuntu/ trusty/universe i386 Packages
        100 /var/lib/dpkg/status

~$ lsb_release -a && uname -r
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty
3.16.0-031600-generic

Revision history for this message
David Pires (slickymaster) wrote :

Added upstream bug report.

Changed in tumbler:
importance: Unknown → Medium
status: Unknown → Confirmed
Revision history for this message
David R. Miller (zplb) wrote :

Reproducible if I attempt to read (not write) an SD card (containing video files) in the card reader in my laptop. If I try to eject it, a pop-up appears saying "Volume is busy" and identifies tumblerd. The only other thing happening on the computer is a Thunar window open to my local home directory on the laptop. No Thunar window is open on the removable device. After about 20 minutes, the pop-up disappears and is replaced with another one that says "Failed to unmount...Timeout was reached."

Ubuntu 18.04.2 LTS
kernel 4.15.0-52-generic #56-Ubuntu SMP
Xfce 4.12
tumbler 0.2.1-0ubuntu1

Steps: insert the SD card, read a file off of it, try to eject it. Expected results: ejected card; Actual results: message appears and persists saying that tumblerd is using the volume, and CPU activity increases and persists on the Thunar process.

Jarno Suni (jarnos)
tags: added: bionic eoan
Revision history for this message
In , Jarno Suni (jarnos) wrote :

There is a workaround https://askubuntu.com/a/266060/21005 that prevents tumblerd from creating thumbnails of video files. This could be set default to not prevent unmounts.
Also bug report for Ubuntu: https://bugs.launchpad.net/ubuntu/+source/tumbler/+bug/1319554

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.