Closed GoogleCodeExporter closed 9 years ago
I couldn't reproduce it with r190 plus valgrind-3.8.1 in PPC64 not in a x86_64
box. Are you seeing this issue yet?
Original comment by zatr...@gmail.com
on 10 Mar 2013 at 4:33
Ran this on my dev machine based off of the current gperftools trunk and I am
not seeing any issue either (details below). Can you please try by pulling down
the current trunk and testing against that?
david@hatch:~/gperftools/patch-test$ uname -a
Linux hatch 3.0.0-19-generic #33-Ubuntu SMP Thu Apr 19 19:05:57 UTC 2012 i686
i686 i386 GNU/Linux
david@hatch:~/gperftools/patch-test$ valgrind --tool=memcheck --leak-check=full
--log-file=./log_file.log --malloc-fill=0x55 --free-fill=0x11 ./a.out
0
david@hatch:~/gperftools/patch-test$ cat log_file.log
==8004== Memcheck, a memory error detector
==8004== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==8004== Using Valgrind-3.6.1-Debian and LibVEX; rerun with -h for copyright
info
==8004== Command: ./a.out
==8004== Parent PID: 2811
==8004==
==8004==
==8004== HEAP SUMMARY:
==8004== in use at exit: 0 bytes in 0 blocks
==8004== total heap usage: 0 allocs, 0 frees, 0 bytes allocated
==8004==
==8004== All heap blocks were freed -- no leaks are possible
==8004==
==8004== For counts of detected and suppressed errors, rerun with: -v
==8004== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 21 from 6)
david@hatch:~/gperftools/patch-test$
Original comment by chapp...@gmail.com
on 10 Mar 2013 at 8:28
[deleted comment]
from user egmkang:
Valgrind 3.8+ has fix this bug but in my impression, you must use
--soname-synonyms
Original comment by chapp...@gmail.com
on 11 Mar 2013 at 1:51
valgrind 3.8+ add a new option, --soname-synonyms. when i use this option, it
worked correctly, reporting me a mismatch free.
valgrind --tool=memcheck --leak-check=full --log-file=./log_file.log
--soname-synonyms=somalloc=*tcmalloc* ./a.out
Original comment by egmk...@gmail.com
on 11 Mar 2013 at 1:53
Original issue reported on code.google.com by
egmk...@gmail.com
on 30 Jun 2012 at 5:50