|
From: John J S. <joh...@sa...> - 2004-07-01 10:43:59
|
I've had a look around the mailing list archives and not much has been
found on this issue.
I downloaded valgrind (having used it before circa early 2003) and got it
running. However,
when --leak-check=yes is set, it exits before dumping the leaks at the end.
This is the same for valgrind 2.0.0, 2.1.0 and 2.1.1
The Operating system is mandrake 10, kernel 2.6.3-mdk, gcc 3.3.2, running
on an AMD Athlon
64 (in case thats an issue).
[smid@Vigor17 server]$ uname -a
Linux Vigor17 2.6.3-4mdkenterprise #1 SMP Tue Mar 2 07:00:53 CET 2004 i686
unknown unknown GNU/Linux
Currently I'm using the mandrake standard provided package 2.1.0 but only
after testing the other ones.
Are there issues with: 1) 2.6.x kernel? 2) AMD processors 3) 64 bit processors?
I get as far as this:
==11223== IN SUMMARY: 12 errors from 2 contexts (suppressed: 1 from 1)
==11223==
==11223== malloc/free: in use at exit: 42268 bytes in 145 blocks.
==11223== malloc/free: 247 allocs, 102 frees, 2206016 bytes allocated.
==11223==
==11223== searching for pointers to 145 not-freed blocks.
./test1b.sh: line 179: 11223 Segmentation fault valgrind
$VALGRIND_VARS ...
Any ideas or pointers to somewhere?
Smid
|
|
From: Nicholas N. <nj...@ca...> - 2004-07-02 09:01:49
|
On Thu, 1 Jul 2004, John J Smith wrote: > Are there issues with: 1) 2.6.x kernel? 2) AMD processors 3) 64 bit > processors? x86-64 bit is an issue; it's not currently supported. It's certainly on our radar, though, as it keeps getting mentioned. > I get as far as this: > > ==11223== IN SUMMARY: 12 errors from 2 contexts (suppressed: 1 from 1) > ==11223== > ==11223== malloc/free: in use at exit: 42268 bytes in 145 blocks. > ==11223== malloc/free: 247 allocs, 102 frees, 2206016 bytes allocated. > ==11223== > ==11223== searching for pointers to 145 not-freed blocks. > ./test1b.sh: line 179: 11223 Segmentation fault valgrind $VALGRIND_VARS > ... > > Any ideas or pointers to somewhere? You're doing well to get that far! I assume this is 32-bit code? Robert Walsh has a tiny patch for x86-64, which may or may not help, at www.durables.org/software/valgrind/ N |