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

Yves-Alexis Perez corsac at debian.org
Wed Apr 30 06:57:41 UTC 2008


On mer, 2008-04-30 at 08:51 +0200, Hilko Bengen wrote:
> Yves-Alexis Perez <corsac at debian.org> writes:
> 
> > Are you sure this is thunar process? Is your homedire on nfs or
> > something?
> 
> Absolutely. grepping  through the sources for fgetsattr finds two such
> calls within thunar-vfs/thunar-vfs-mime-database.c.
> 
> > I sure can't reproduce this.
> 
> 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?
> 
> >> 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.
> 
> Mhm, I'd meant to write "unusable" there. The program being unusable
> was the justification for my tagging the bug as "grave".

Well, yeah, but I *never* saw something like this before. Thus my
severity change.
> 
> > Hmhm, I can understand that. What I fail to see is why it tries to do
> > some stuff in /proc. You weren't trying to delete stuff in /proc, do
> > you?
> 
> Of course not. I was moving mp3s from my home directory to an SD card.

I'm confused. What where you doing? Moving stuff in your homedir to the
trash, or moving mp3 from your home directory to an SD card?
> 
> Looking at thunar-vfs-mime-database.c shows that one could work around
> this issue by not defining HAVE_FGETXATTR while configuring the
> package. But upstream should really have a closer look at this.

Well, except it can be useful, when not looking at /proc :)

> 
> A file manager that is used by ordinary users should stay out of
> /proc, /sys, and /dev.

Well, yeah, except that user may want to look at them, if they want,
there's no reason to forbid them to do so. And yes those folder are
quite special, but Thunar shouldnt have to mess with them if the user
didn't request it.

Cheers,
-- 
Yves-Alexis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20080430/ce064043/attachment.pgp 


More information about the Pkg-xfce-devel mailing list