! 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 !
Memory Leak while thumbnailing incomplete .mkv files
Status:
RESOLVED: WORKSFORME
Product:
Tumbler
Component:
General

Comments

Description xua 2011-11-01 00:28:19 CET
When browsing a directory(thunar) that has a .mkv that is currently downloading(from IRC if that matters.) tumbler brings the system to its knees in seconds.

Steps:
Start to Download a .mkv file
Open thunar and navigate to the directory the file is stored in.
Tumbler starts to leak.

Couldn't find any useful data in any log relating to tumbler.(or i looked in the wrong place.)

Not sure if this bug happens if a .mkv is being downloaded from a browser such as firefox that appends '.part' to incomplete files.
Comment 1 xua 2012-01-14 20:26:54 CET
(In reply to comment #0)
> When browsing a directory(thunar) that has a .mkv that is currently
> downloading(from IRC if that matters.) tumbler brings the system to its knees
> in seconds.
> 
> Steps:
> Start to Download a .mkv file
> Open thunar and navigate to the directory the file is stored in.
> Tumbler starts to leak.
> 
> Couldn't find any useful data in any log relating to tumbler.(or i looked in
> the wrong place.)
> 
> Not sure if this bug happens if a .mkv is being downloaded from a browser such
> as firefox that appends '.part' to incomplete files.

Using ArchLinux
tumbler 0.1.23-1
ffmpegthumbnailer 2.0.7-2
gstreamer0.10 0.10.35-1

update: It doesn't happen if the downloaded file has .part appended to it when downloading.

But if you move mkv files between folders while thunar is browsing the folder the mkv file is being moved to you see tumbler leak. So i am pretty sure it happens when tumbler trys to access the incomplete file.
Comment 2 Jannis Pohlmann editbugs 2012-02-25 16:30:03 CET
Can you try removing the ffmpeg-thumbnailer plugin to see whether this is a bug of ffmpeg-thumbnailer or gst-thumbnailer? 

Also, please describe "tumbler starts to leak" in more details. What are you observing exactly?
Comment 3 xua 2012-03-08 07:40:15 CET
removing ffmpegthumbnailer doesn't resolve the problem.

>what am i observing
high memory usage: http://i.imgur.com/UmTew.png

once i close thunar. tumblerd doesn't release the memory it used while trying to generate a thumbnail.
Comment 4 Sam 2012-12-02 21:35:59 CET
I have also run into this problem while trying to browse my media server's movie folder.

The system comes to its knees within seconds of opening the folder (mostly mkv files, some avi's from from back before mkv+h264 was a thing).  XFCE4 starts throwing "failed to fork" messages for anything you try to do.

Last time I force-killed tumbler (had to remote in as root... yes, it's not secure to enable that blah blah blah), it was showing 11gb in VIRT and over 2gb in RES in top.

Probably one of my files is damaged or truncated, but there are several hundred in there, so no way to tell which one.

I do like the ability to preview images (and even videos, if it didn't kill my machine), so I'd hate to have to uninstall tumblerd completely.

If you have any test cases, I'd be happy to try and add more info.

Sam
Comment 5 Sam 2012-12-02 21:46:14 CET
Forgot to add my version info:

tumbler-0.1.23-2.fc17.x86_64
Thunar-1.3.0-6.fc17.x86_64

thunar-volman-0.6.0-3.fc17.x86_64
thunar-archive-plugin-0.3.0-3.fc17.x86_64
thunar-media-tags-plugin-0.1.2-11.fc17.x86_64
thunar-vfs-1.2.0-5.fc17.x86_64

Sam
Comment 6 Nick Schermer editbugs 2012-12-08 23:02:11 CET
Probably in the gst thumbnailer, which has a new version. Please reopen if this still happens with upcoming 0.1.26 release.

Bug #8094

Reported by:
xua
Reported on: 2011-11-01
Last modified on: 2012-12-08

People

Assignee:
Jannis Pohlmann
CC List:
2 users

Version

Version:
0.1.23

Attachments

Additional information