|
From: I K <add...@ho...> - 2004-08-18 14:03:49
|
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 0804d000-08051000 rwxp 00000000 00:00 0 40000000-40013000 r-xp 00000000 03:06 426907 /lib/ld-2.2.5.so 40013000-40014000 rw-p 00013000 03:06 426907 /lib/ld-2.2.5.so 40014000-40015000 r--p 00000000 03:05 2442070 /usr/lib/locale/en_US/LC_IDENTI FICATION 40015000-40016000 r--p 00000000 03:05 294920 /usr/lib/locale/en_US/LC_MEASUR EMENT 40016000-40017000 r--p 00000000 03:05 2032337 /usr/lib/locale/en_US/LC_TELEPH ONE 40017000-40018000 r--p 00000000 03:05 2032396 /usr/lib/locale/en_US/LC_ADDRES S 40018000-40019000 r--p 00000000 03:05 2032340 /usr/lib/locale/en_US/LC_NAME 40019000-4001a000 r--p 00000000 03:05 720908 /usr/lib/locale/en_US/LC_PAPER 4001a000-4001b000 r--p 00000000 03:05 2032397 /usr/lib/locale/en_US/LC_MESSAG ES/SYS_LC_MESSAGES 4001b000-4001c000 r--p 00000000 03:05 294916 /usr/lib/locale/en_US/LC_MONETA RY 4001c000-40022000 r--p 00000000 03:05 573445 /usr/lib/locale/en_US/LC_COLLAT E 40022000-40023000 r--p 00000000 03:05 2441221 /usr/lib/locale/en_US/LC_TIME 40023000-40024000 r--p 00000000 03:05 918773 /usr/lib/locale/en_US/LC_NUMERI C 4002c000-4002d000 rw-p 00000000 00:00 0 4002d000-40058000 r--p 00000000 03:05 918783 /usr/lib/locale/en_US/LC_CTYPE 42000000-4212c000 r-xp 00000000 03:06 1149155 /lib/i686/libc-2.2.5.so 4212c000-42131000 rw-p 0012c000 03:06 1149155 /lib/i686/libc-2.2.5.so 42131000-42135000 rw-p 00000000 00:00 0 bfffb000-c0000000 rwxp ffffc000 00:00 0 "--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? Thank you very much. Iyad _________________________________________________________________ Dont just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ |
|
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 |