|
From: Nicholas N. <nj...@ca...> - 2004-08-23 10:31:39
|
On Wed, 18 Aug 2004, I K wrote: > Operating system name and version : Red Hat Linux 2.4.18-3bigmem > Valgrind version: valgrind-2.1.2 > > I am not sure about the split. But I can find out. > > The output of "cat /proc/self/maps" : > > 08048000-0804c000 r-xp 00000000 03:06 328393 /bin/cat > 0804c000-0804d000 rw-p 00003000 03:06 328393 /bin/cat > [...] > bfffb000-c0000000 rwxp ffffc000 00:00 0 Hmm, that looks like a pretty normal 3G:1G layout that should not cause any problems. > "--tool=none" works fine. Even "--tool=addrcheck" is working now most of the > times ! However, " --tool=memcheck" is not working at all and always gives : > > valgrind: vg_main.c:553 (layout_remaining_space): Assertion `(void*)-1 != > vres" failed. > > My guess is that "--tool=memcheck" requires huge memory that the system is > unable to provide. Is this right? Memcheck requires a lot of address space, but not necessarily a lot of memory; it depends how big the client program is. Physical memory size certainly should not be an issue for small programs, and you say even they aren't working with Memcheck. I'm afraid I'm nonplussed by this, and don't know what else to suggest. N |