Electric Fence - still reliable?

Bastien Nocera bnocera at redhat.com
Fri Dec 18 11:18:30 UTC 2009


On Fri, 2009-12-18 at 11:55 +0100, Michael Schwendt wrote:
> On Thu, 17 Dec 2009 22:07:04 +0100, I wrote:
> 
> > Fedora 12 with LD_PRELOAD=libefence.so.0.0 EF_ALLOW_MALLOC_0=1, what is
> > more likely that these are false positives or real bugs?
> 
> It's hard to find GNOME/GTK apps that don't crash. One that works fine
> in efence is "gnome-about".
> 
> Many non-GUI tools also pass. procps's w doesn't, and that's not a false
> positive:
> 
> $ w
> 
>   Electric Fence 2.2.2 Copyright (C) 1987-1999 Bruce Perens <bruce at perens.com>
> Segmentation fault (core dumped)
> 
>   ==> setlocale() usage bug, https://bugzilla.redhat.com/548711
> 
> 
> $ eog
> 
>   Electric Fence 2.2.2 Copyright (C) 1987-1999 Bruce Perens <bruce at perens.com>
> Segmentation fault (core dumped)
> 
>   ==> in ORBit corba-any.c  once more

All the GNOME apps that use GConf or ORBit will fail because you need to
set the alignment to 8. Same problem under valgrind.




More information about the fedora-devel-list mailing list