What steps will reproduce the problem?
1.
./configure --prefix /usr/pkg
make
make install
2.
~> cat main2.c
#include <malloc.h>
int main (int argc, char **argv)
{
char * p = (char *) malloc (500000);
return 0;
}
~> gcc -o main2 main2.c -L/usr/pkg/lib -Wl,-rpath -Wl,/usr/pkg/lib -l tcmalloc
~> ldd ./main2
libtcmalloc.so.0 => /usr/pkg/lib/libtcmalloc.so.0 (0xb7eeb000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x4da7e000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x4de7d000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x4dbb7000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x4de70000)
/lib/ld-linux.so.2 (0x4da65000)
~> env HEAPCHECK=normal ./main2
WARNING: Perftools heap leak checker is active -- Performance may suffer
No leaks found for check "_main_" (but no 100% guarantee that there aren't
any): found 18 reachable heap objects of 500604 bytes
~>
~> uname -a
Linux chel 2.6.26.1 #1 SMP Mon Oct 6 18:40:10 EEST 2008 i686 GNU/Linux
~>
What is the expected output? What do you see instead?
It is not clear for why it says `No leaks found for check "_main_"'
What version of the product are you using? On what operating system?
1.3
Linux Debian etch
glic-2.3.6
Please provide any additional information below.
Original issue reported on code.google.com by a.cheu...@gmail.com on 13 Jul 2009 at 3:24
Original issue reported on code.google.com by
a.cheu...@gmail.com
on 13 Jul 2009 at 3:24