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.
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
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 ?
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
Wrote better gstreamer thumbnailer that properly closes streams (i hope).