[Pkg-xfce-devel] Bug#770228: tumbler: Tumbler uses huge amounts of RAM/IO/CPU on some files

nodiscc nodiscc at gmail.com
Wed Nov 19 22:06:41 UTC 2014


Package: tumbler
Version: 0.1.30-1+b1
Severity: normal

Hello, I'm copying the contents of https://bugzilla.xfce.org/show_bug.cgi?id=11244 here,
in the hope that is a debian-specific bug, or that the maintainer could help fixing it.
I've been told on #xfce on IRC that some people are unable to reproduce this bug.

------------------------------------
Hi, this is along standing problem with tumbler. The tumblerd process to uses huge amounts of RAM (more than 800 Mb) when thumbailing some files, like the attached animated GIF file (only 458kb). This also consumes a large percentage of IO (70% is common), and increases CPU load (about 60% on my Centrino @1.66GHz)

Bugs that look related:
 * https://bugzilla.xfce.org/show_bug.cgi?id=9954
 * https://bugzilla.xfce.org/show_bug.cgi?id=9231
 * https://bugzilla.xfce.org/show_bug.cgi?id=10876
 * https://bugzilla.xfce.org/show_bug.cgi?id=4955
 * https://bugzilla.xfce.org/show_bug.cgi?id=7494

This is rather serious as it
 * makes the system unresponsive (hard to even move the mouse cursor) due to intense swapping and IO.
 * is triggered by merely browsing a directory with such a file in it.
 * can be used to DoS a machine (simply send them that file).

Tested on several machines, i386 and amd64 architectures, up to tumbler 0.1.30-1+b1 (Debian testing/unstable) Hope there's something to be done. Maybe put an arbitrary limit on the memory tumblerd is allowed to use

Thanks

-----------------------------------------------------------

Still no reply on this?

I've hit this bug a lot during the past month, I now always have a terminal windows open with 'killall -9 tumblerd' ready to hit enter when I browse a directory containing gif files.

Please have a look at this. Disabling thumbnailing for gifs would be acceptable. Or use another thumbnailer that doesn't have this bug.

Bumping importance so hopefully this gets noticed.
Thanks in advance.

Tumbler 0.1.30-1+b1 in Debian

-----------------------------------------------------

Attaching the strace output of the operation: http://pastebin.com/jAk1H1Tz


Steps to reproduce:
 * Download the example gif in a ~/test/ directory with 'wget https://bugzilla.xfce.org/attachment.cgi?id=5699 -O crash.gif'
 * Prepare a terminal window with 'killall -9 tumblerd'
 * find tumberd's pid, attach strace to it with 'strace -p $pid' (prints up to line 3 in the output)
 * run 'thunar ~/test/', strace prints lines starting from 4
 * try to refocus the terminal window with the killall command despite furious lag, hit enter.

I had an htop window displayed that showed tumblerd spiking to 63%+ of RAM usage. Unreliable as it was not refreshing.


-----------------------------------------------

(By the way, I've tried disabling GIF thumbnailing as a workaround, by editing
/etc/xdg/tumbler/tumbler.rc, but disabling the relevant thumbnailer [PixbufThumbnailer]
also disables thubnailing for other image formats, which works fine and is useful)

Hope this can be fixed.
Thanks again

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing'), (200, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.16-3-686-pae (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages tumbler depends on:
ii  libc6                           2.19-13
ii  libcairo2                       1.14.0-2.1
ii  libdbus-1-3                     1.8.10-1
ii  libdbus-glib-1-2                0.102-1
ii  libfreetype6                    2.5.2-2
ii  libgdk-pixbuf2.0-0              2.31.1-2+b1
ii  libglib2.0-0                    2.42.0-2
ii  libgstreamer-plugins-base1.0-0  1.4.4-2
ii  libgstreamer1.0-0               1.4.4-2
ii  libjpeg62-turbo                 1:1.3.1-8
ii  libpng12-0                      1.2.50-2+b1
ii  libpoppler-glib8                0.26.5-2
ii  libtumbler-1-0                  0.1.30-1+b1
ii  tumbler-common                  0.1.30-1
ii  zlib1g                          1:1.2.8.dfsg-2

tumbler recommends no packages.

Versions of packages tumbler suggests:
pn  tumbler-plugins-extra  <none>

-- no debconf information



More information about the Pkg-xfce-devel mailing list