|
From: Benny C. <bwl...@gm...> - 2005-03-24 12:26:01
|
Hi Jeremy, Jeremy Fitzhardinge <jeremy <at> goop.org> writes: > 2.4.0.rc4 is very close to what we're intending to release as 2.4.0. > Could you go into a bit more detail about this crash (like the full > output of valgrind -v)? Thank you very much for your response. Below shows the log file (including all output by valgrind, the printout from my program has been suppressed), as you can see, the program suddenly gets a SEGV fault without going back to valgrind before exit. I am wondering if this happens because my program makes use of too much virtual memory. As you can see, I have allocated 768MB at the start of the program. So I think it may not be a bug of the new version, but only that valgrind does not have enough virtual memory, thus causing the SEGV fault. For your information, the same program can go through (runs longer before error, perhaps my own program bug) when I am using valgrind 2.2.0, and it can also run longer if I allocate a smaller chunk of memory (I have tried allocating 192MB instaed of 768MB, my program still works but theoretically will be slower). I noticed that you are the author of the valgrind software. I appreciate a lot about your work, and I sincerely hope that you will keep it up with this good work. :) Best Regards, Benny. ==6859== Memcheck, a memory error detector for x86-linux. ==6859== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al. ==6859== Using valgrind-2.4.0.rc4, a program supervision framework for x86- linux. ==6859== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al. ==6859== Valgrind library directory: /home/benny/vg/lib/valgrind ==6859== Command line ==6859== ./ad65536 ==6859== Startup, with flags: ==6859== -v ==6859== --tool=memcheck ==6859== --error-limit=no ==6859== Contents of /proc/version: ==6859== Linux version 2.4.22-1.2115.nptl (bhc...@da...) (gcc version 3.2.3 20030422 (Red Hat Linux 3.2.3-6)) #1 Wed Oct 29 15:42:51 EST 2003 ==6859== Reading syms from /home/benny/ad65536 (0x8048000) ==6859== Warning: set address range perms: large range 285949952, a 0, v 0 ==6859== Reading syms from /mnt/nfsroot/lib/ld-2.3.2.so (0x1B8E4000) ==6859== object doesn't have any debug info ==6859== Reading syms from /home/benny/vg/lib/valgrind/stage2 (0xB0000000) ==6859== Reading syms from /mnt/nfsroot/lib/ld-2.3.2.so (0xB1000000) ==6859== object doesn't have any debug info ==6859== Reading syms from /mnt/nfsroot/lib/libdl-2.3.2.so (0xB1016000) ==6859== object doesn't have any debug info ==6859== Reading syms from /mnt/nfsroot/lib/tls/libc-2.3.2.so (0xB1019000) ==6859== object doesn't have any debug info ==6859== Reading syms from /home/benny/vg/lib/valgrind/vgskin_memcheck.so (0xB1152000) ==6859== Reading suppressions file: /home/benny/vg/lib/valgrind/default.supp ==6859== ==6859== Reading syms from /home/benny/vg/lib/valgrind/vg_inject.so (0x1B8FD000) ==6859== Reading syms from /home/benny/vg/lib/valgrind/vgpreload_memcheck.so (0x1B900000) ==6859== Reading syms from /mnt/nfsroot/usr/lib/libstdc++.so.5.0.5 (0x1B918000) ==6859== object doesn't have a symbol table ==6859== object doesn't have any debug info ==6859== Reading syms from /mnt/nfsroot/lib/tls/libm-2.3.2.so (0x1B9D1000) ==6859== object doesn't have any debug info ==6859== Reading syms from /mnt/nfsroot/lib/libgcc_s-3.3.2-20031023.so.1 (0x1B9F4000) ==6859== object doesn't have a symbol table ==6859== object doesn't have any debug info ==6859== Reading syms from /mnt/nfsroot/lib/tls/libc-2.3.2.so (0x1B9FD000) ==6859== object doesn't have any debug info ==6859== Reading syms from /mnt/nfsroot/lib/libdl-2.3.2.so (0x1BB39000) ==6859== object doesn't have any debug info ==6859== TRANSLATE: 0x1BA731D0 redirected to 0x1B9045A8 ==6859== TRANSLATE: 0x1B8E4C30 redirected to 0x52BFF020 ==6859== TRANSLATE: 0x1BA6C080 redirected to 0x1B9034E0 ==6859== TRANSLATE: 0x1BA6C200 redirected to 0x1B9039F0 ==6859== Warning: set address range perms: large range 268435456, a 0, v 1 ==6859== Warning: set address range perms: large range 268435456, a 0, v 1 ==6859== Warning: set address range perms: large range 268435456, a 0, v 1 ==6859== TRANSLATE: 0x1B9A8600 redirected to 0x1B903881 ==6859== TRANSLATE: 0x1B9A6F50 redirected to 0x1B903D08 |