|
From: <kei...@te...> - 2006-02-15 00:10:06
|
hi, I cannot get "LEAK SUMMARY" for some processes when I run valgrind with following options, --trace-children=3Dyes --leak-check=3Dfull --show-reachable=3Dyes = --log-file=3Dlogfile In the "ERROR SUMMARY", it says "malloc/free: in use at exit: 1,524 bytes in 19 blocks." "malloc/free: 68 allocs, 49 frees, 137,051 bytes allocated" "For counts of detected errors, rerun with: -v" "searching for pointers to 19 not-freed blocks" So, I wonder why it doesn't report "LEAK SUMMARY" when it seems to have = 19=20 not-freed blocks. Also, I would like to ask if the following error should be suppressed = for=20 pthread's bug? =20 =3D=3D3705=3D=3D 204 bytes in 3 blocks are possibly lost in loss record = 1 of 3 =3D=3D3705=3D=3D = at0x401B911:calloc(in/usr/lib/valgrind/x86linux/vgpreload_memcheck.so) =3D=3D3705=3D=3D by 0x400E39B: _dl_allocate_tls (dl-tls.c:303) =3D=3D3705=3D=3D by 0x40F42B6: allocate_stack (allocatestack.c:491) =3D=3D3705=3D=3D by 0x40F3E3E: pthread_create@@GLIBC_2.1 = (pthread_create.c:358)=20 Thanks for your time. Keishi Sonoda |