[Pkg-xfce-devel] Bug#478566: Bug#478566: thunar: thunar runs amok on /proc, wasting lots of CPU time

Hilko Bengen bengen at debian.org
Wed Apr 30 10:00:29 UTC 2008

Yves-Alexis Perez <corsac at debian.org> writes:

>> Truth be told, I'm not even sure that moving files triggered this.
> Mpf. Could you at least retry what you were doing, and tell if you can
> reproduce yourself?

I am currently not at my machine at home but was able to reproduce a
similar condition on a workstation also running Debian/sid.

Starting with a "clean" (no Thunar configuration files) file:

$ find ~ -iname \*thunar\* | xargs rm -rvf
removed `/home/bengen/thunar.strace'
removed `/home/bengen/.cache/Thunar/metafile.tdb'
removed `/home/bengen/.cache/Thunar/thumbnailers.cache'
removed directory: `/home/bengen/.cache/Thunar'
removed `/home/bengen/.config/Thunar/thunarrc'
removed `/home/bengen/.config/Thunar/accels.scm'
removed directory: `/home/bengen/.config/Thunar'
$ strace -o thunar.strace thunar &
$ tail -f thunar.strace | grep '/proc\|fgetxattr'

In Thunar,
Select from menu: View / Side Pane / Tree
Expand "File System" in Side Pane
Expand "proc"

... here the madness starts: Several files in subdirectories of /proc
are accessed periodically, about once a second. In my test run, that
meant about 100 different files (see below for the complete list).

This behavior looks like an infinite loop to me.

Speculation: If something like this happens with more files on a slow
machine (like my VIA C7-based machine at home), this could well
explain a high level of CPU activity and Thunar becoming unresponsive
and unusable.


More information about the Pkg-xfce-devel mailing list