! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
thumblerd keeps files open after copying using thunar
Status:
RESOLVED: FIXED
Product:
Tumbler
Component:
gst-thumbnailer

Comments

Description Clemens Eisserer 2011-12-02 00:33:42 CET
When copying a lot of video files to an external disc using thunar (just by using dragging folders between two thunar windows), I was no longer able to unmount the external drive because the files were still kept open. although the copy operation was already finished.

lsof | grep /media returned a lot similar entries:
multiqueu 2732 2953      ce   26r      REG      253,1 180817920    6816013 /media/98376608-5882-4bd9-9ded-8e82691c52d8/Serien/video_file_1.avi

pid 2732 belonged to:

[root@localhost ce]# ps ax | grep 2732
 2732 ?        Sl     0:01 /usr/lib/tumbler-1/tumblerd

and killing it using "kill -15 2732" made it possible to unmount the drive.
Comment 1 Clemens Eisserer 2011-12-06 01:54:34 CET
Further investigation showed Tumbler (0.1.22-4 is installed) is the culprit, terminating it releases the file handles:
tumblerd  4221           ce    9r      REG      253,1 364991310    7602205 /media/98376608-5882-4bd9-9ded-8e82691c52d8/Serien/somevideofile.avi
avidemux0 4221 4237      ce    9r      REG      253,1 364991310    7602205 /media/98376608-5882-4bd9-9ded-8e82691c52d8/Serien/somevideofile.avi
multiqueu 4221 4238      ce    9r      REG      253,1 364991310    7602205 /media/98376608-5882-4bd9-9ded-8e82691c52d8/Serien/somevideofile.avi

pstack shows Tumbler is stuck somewhere within gstreamer: http://pastebin.com/Jqw5JFEv
Comment 2 Landry Breuil editbugs 2011-12-18 10:31:13 CET
That's lame to add a 'me too', but i've also experienced that issue on OpenBSD. Maybe gstreamer calls are missing to close thumbnailed files ?
Comment 3 Clemens Eisserer 2012-02-13 12:59:03 CET
Is there any information I can provide, in order to get that bug fixed more quickly?

Its really awful to kill thumblerd everytime I used Thunar for browsing the contents of my external HDD.

Thanks, Clemens
Comment 4 Nick Schermer editbugs 2012-12-08 22:57:17 CET
Wrote better gstreamer thumbnailer that properly closes streams (i hope).

Bug #8208

Reported by:
Clemens Eisserer
Reported on: 2011-12-02
Last modified on: 2012-12-08

People

Assignee:
Jannis Pohlmann
CC List:
3 users

Version

Version:
unspecified

Attachments

Additional information