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

2014-11-20 Thread Yves-Alexis Perez
control: tag -1 upstream unreproducible moreinfo
On mer., 2014-11-19 at 23:06 +0100, nodiscc wrote:
 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.

Not really.

 I've been told on #xfce on IRC that some people are unable to
 reproduce this bug.

I confirm I can't reproduce this here. Maybe try to run tumblerd through
valgrind or something like that?

Regards,
-- 
Yves-Alexis


signature.asc
Description: This is a digitally signed message part


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

2014-11-20 Thread Julien Eula
Hi, I've updated the bug on xfce's tracker with gdb step-by-step output.
This was the first attempt and was told it was not helpful. I've also tried
using the gdb 'step' command instead of 'n' (not attached), not useful
either.

I was advised to rig the source with gprof
https://www.cs.utah.edu/dept/old/texinfo/as/gprof_toc.html and see what
loop is taking so much time. This is probably my next move.

Thanks

2014-11-20 14:31 GMT+01:00 Yves-Alexis Perez cor...@debian.org:

 control: tag -1 upstream unreproducible moreinfo
 On mer., 2014-11-19 at 23:06 +0100, nodiscc wrote:
  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.

 Not really.

  I've been told on #xfce on IRC that some people are unable to
  reproduce this bug.

 I confirm I can't reproduce this here. Maybe try to run tumblerd through
 valgrind or something like that?

 Regards,
 --
 Yves-Alexis



Bug#770228: tumbler: Tumbler uses huge amounts of RAM/IO/CPU on some files

2014-11-19 Thread nodiscc
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-20.102-1
ii  libfreetype62.5.2-2
ii  libgdk-pixbuf2.0-0  2.31.1-2+b1
ii  libglib2.0-02.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-glib80.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


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org