[Pkg-xfce-devel] Bug#478566: thunar: thunar runs amok on /proc, wasting lots of CPU time
Hilko Bengen
bengen at debian.org
Tue Apr 29 19:36:51 UTC 2008
Package: thunar
Version: 0.9.0-7
Severity: grave
While moving a few empty files from my home directory to the trash, I
noticed that thunar became unresponsive to user input and didn't even
redraw its window.
Attaching strace to the process revealed the following:
access("/proc/net/packet", X_OK) = -1 EACCES (Permission denied)
lstat64("/proc/net/igmp6", {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
access("/proc/net/igmp6", R_OK) = 0
open("/proc/net/igmp6", O_RDONLY|O_LARGEFILE) = 11
fgetxattr(11, "user.mime_type", 0x0, 0) = -1 EOPNOTSUPP (Operation not supported)
fstat64(11, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
read(11, "", 0) = 0
close(11) = 0
access("/proc/net/igmp6", X_OK) = -1 EACCES (Permission denied)
lstat64("/proc/net/mcfilter6", {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
access("/proc/net/mcfilter6", R_OK) = 0
open("/proc/net/mcfilter6", O_RDONLY|O_LARGEFILE) = 11
fgetxattr(11, "user.mime_type", 0x0, 0) = -1 EOPNOTSUPP (Operation not supported)
fstat64(11, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
read(11, "", 0) = 0
close(11) = 0
access("/proc/net/mcfilter6", X_OK) = -1 EACCES (Permission denied)
lstat64("/proc/net/raw6", {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
access("/proc/net/raw6", R_OK) = 0
open("/proc/net/raw6", O_RDONLY|O_LARGEFILE) = 11
fgetxattr(11, "user.mime_type", 0x0, 0) = -1 EOPNOTSUPP (Operation not supported)
fstat64(11, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
read(11, "", 0) = 0
close(11) = 0
access("/proc/net/raw6", X_OK) = -1 EACCES (Permission denied)
lstat64("/proc/net/tcp6", {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
access("/proc/net/tcp6", R_OK) = 0
open("/proc/net/tcp6", O_RDONLY|O_LARGEFILE) = 11
fgetxattr(11, "user.mime_type", 0x0, 0) = -1 EOPNOTSUPP (Operation not supported)
fstat64(11, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
read(11, "", 0) = 0
close(11) = 0
[ad nauseam]
Apparently, thunar crawled /proc in a futile attempt to fetch that
"user.mime_type" attribute from every "file" it finds there. Because
thunar becomes unresponsive for lengthy periods of time, it becomes
quite unresponsive.
-Hilko
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.24-ataraxia (PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages thunar depends on:
ii desktop-file-utils 0.15-1 Utilities for .desktop files
ii libatk1.0-0 1.22.0-1 The ATK accessibility toolkit
ii libc6 2.7-10 GNU C Library: Shared libraries
ii libcairo2 1.6.4-1+b1 The Cairo 2D vector graphics libra
ii libdbus-1-3 1.2.1-2 simple interprocess messaging syst
ii libdbus-glib-1-2 0.74-2 simple interprocess messaging syst
ii libexo-0.3-0 0.3.4-5 Library with extensions for Xfce
ii libfreetype6 2.3.5-1+b1 FreeType 2 font engine, shared lib
ii libglib2.0-0 2.16.3-2 The GLib library of C routines
ii libgtk2.0-0 2.12.9-3 The GTK+ graphical user interface
ii libice6 2:1.0.4-1 X11 Inter-Client Exchange library
ii libpango1.0-0 1.20.2-2 Layout and rendering of internatio
ii libsm6 2:1.0.3-1+b1 X11 Session Management library
ii libthunar-vfs-1-2 0.9.0-7 VFS abstraction used in thunar
ii libx11-6 2:1.0.3-7 X11 client-side library
ii libxfce4util4 4.4.2-2 Utility functions library for Xfce
ii shared-mime-info 0.23-5 FreeDesktop.org shared MIME databa
ii thunar-data 0.9.0-7 Provides thunar documentation, ico
Versions of packages thunar recommends:
ii dbus 1.2.1-2 simple interprocess messaging syst
ii gamin 0.1.9-2 File and directory monitoring syst
ii hal 0.5.11~rc2-1 Hardware Abstraction Layer
ii xfce4-panel 4.4.2-4 The Xfce4 desktop environment pane
-- no debconf information
More information about the Pkg-xfce-devel
mailing list