|
From: Nicholas N. <nj...@ca...> - 2004-08-18 08:49:33
|
On Wed, 18 Aug 2004, I K 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 : > > valgrind: vg_main.c:553 (layout_remaining_space): Assertion `(void*)-1 != > vres' failed. > > I am sorry if this sounds dump. It's just my first day working with Valgrind > and I didn't find any reference to this problem in Valgrind's documentation. It's not a dumb question. Normally x86/Linux machines are setup with a 3G/1G user/kernel split of the address space. Do you know if your box has a different split, eg. 2G/2G? Can you post the output of 'cat /proc/self/maps' ? Also, can you try 'valgrind --tool=none ./hello' to see if that works? Thanks. N |