|
From: Yeshurun, M. <mei...@in...> - 2005-10-21 08:38:48
|
Hi, =20 If the environment variable MALLOC_CHECK_ is defined, Vaglrind fails immediately with the following error message =20 Can't open tool "memcheck": out of memory valgrind: couldn't load tool Can't open /p/dt/sde/tools/i386_linux24/valgrind-3.0.1/lib/valgrind: Cannot allocate memory (installation problem?) =20 =20 So I think adding an unsetenv in Valgrind's code can't hurt. =20 =20 Regards, =20 Meir |
|
From: Tom H. <to...@co...> - 2005-10-21 08:45:57
|
In message <942...@ha...>
Meir Yeshurun <mei...@in...> wrote:
> If the environment variable MALLOC_CHECK_ is defined, Vaglrind fails
> immediately with the following error message
Works fine for me in both 3.0.1 and the current SVN code. I'm not sure
why it would cause a problem - all it does it make glibc do more checks
on the heap validity doesn't it?
> So I think adding an unsetenv in Valgrind's code can't hurt.
How about we work out what the actual problem is before we start
resorting to gross hacks.
Tom
--
Tom Hughes (to...@co...)
http://www.compton.nu/
|