|
From: Tom H. <th...@cy...> - 2004-08-18 09:02:06
|
In message <BAY...@ho...>
I. K. <add...@ho...> wrote:
> I just installed Valgrind and tried to debug my program. The problem
> is that when I type, for example, " valgrind --tool=addrcheck -v
> ./hello " , I receive this :
Please include the version number when reporting a problem - it makes
like much easier.
> valgrind: vg_main.c:553 (layout_remaining_space): Assertion `(void*)-1
> != vres' failed.
This means that your system refused to allocate the shadow memory
space. What distribution and kernel are you using - this sort of
thing has been seen with some RedHat kernels but upgrading to the
latest kernel for that release usually solves it. In fact rebooting
often seems to solve it.
Tom
--
Tom Hughes (th...@cy...)
Software Engineer, Cyberscience Corporation
http://www.cyberscience.com/
|