[Pkg-xfce-devel] Bug#478566: 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 14:06:32 UTC 2008


forwarded 478566 http://bugzilla.xfce.org/show_bug.cgi?id=4051
retitle 478566 thunar doesnt "close" (for fam) folders in side view
clone 478566 -1 
retitle -1 gamin seems not to honore excludes (at least /proc)
reassign -1 gamin
thanks
On Wed, Apr 30, 2008 at 01:49:51PM +0000, Hilko Bengen wrote:
> > As those files are refreshed regularly, that's why you see them
> > beeing accessed regularly by thunar.
> 
> Seems to make sense.

Ok, there seem to be a bug in thunar, which I'm looking at: when visiting a
folder, thunar ask for notifies for this folder. Then, when closing it, thunar
cancels the demand so notifies arent requested anymore.
This works for the main pane, but not for the side pane. When using the
"shortcut" pane, you can't go to /proc so the bug doesn't trigger. But when
using the tree view pane, you can, and thus you trigger the bug.

I guess we need a way to "close" a folder in side view too. I'm investigating
on this and have reported this upstream, but don't hold your breath, it's not
that trivial and upstream is quite busy/mia currently.


> > This may be a problem in gamin which shouldn't look at /proc files.
> 
> Mhm.
> 
> ,----[ gamin-0.1.9/server/gam_excludes.c ]
> | static char *static_excludes[] = {
> | #ifdef HAVE_LINUX
> |     "/media/*",
> |     "/mnt/*",
> |     "/dev/*",
> |     "/proc/*",
> | #endif
> |     NULL
> | };
> `----
> 
> I verified that HAVE_LINUX is defined during a normal build of the
> package and the four strings do appear in the gam_server binary I have
> installed.
> 
> After enabling logging gam_server it looks as if those exclude
> patterns are not honored at all.

Indeed. It seems there's a bug in gamin for this, so I'm cloning this and
reassigning to gamin.

Cheers,
-- 
Yves-Alexis





More information about the Pkg-xfce-devel mailing list