On Wed, Mar 11, 2009 at 6:12 AM, Julian Seward <[email protected]> wrote:
> Which version of Valgrind is this with?
Some recent svn, also valgrind-3.3.1 from ubuntu 8.10.
> Can you first try with the svn trunk; Tom just fixed a bug in that which
> may be related (or not).
>
> svn co svn://svn.valgrind.org/valgrind/trunk
Doesn't build at the moment;
make[2]: Entering directory `/home/dank/valgrind/tests'
make[2]: *** No rule to make target `filter_test_paths', needed by
`all-am'. Stop.
> If that doesn't help, post the results of
>
> valgrind -v --leak-check=full ./a.out
Attached (from the Ubuntu stock valgrind).
- Dan
==20423== Memcheck, a memory error detector.
==20423== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
==20423== Using LibVEX rev 1854, a library for dynamic binary translation.
==20423== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
==20423== Using valgrind-3.3.1-Debian, a dynamic binary instrumentation
framework.
==20423== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.
==20423==
--20423-- Command line
--20423-- ./a.out
--20423-- Startup, with flags:
--20423-- --suppressions=/usr/lib/valgrind/debian-libc6-dbg.supp
--20423-- -v
--20423-- --leak-check=full
--20423-- Contents of /proc/version:
--20423-- Linux version 2.6.27-9-generic (bui...@yellow) (gcc version 4.3.2
(Ubuntu 4.3.2-1ubuntu11) ) #1 SMP Thu Nov 20 22:15:32 UTC 2008
--20423-- Arch and hwcaps: X86, x86-sse1-sse2
--20423-- Page sizes: currently 4096, max supported 4096
--20423-- Valgrind library directory: /usr/lib/valgrind
--20423-- Reading syms from /lib32/ld-2.8.90.so (0x4400000)
--20423-- Reading debug info from /lib32/ld-2.8.90.so...
--20423-- ... CRC mismatch (computed 3080f5cf wanted 4ce5790f)
--20423-- Reading debug info from /usr/lib/debug/lib32/ld-2.8.90.so...
--20423-- Reading syms from /home/dank/chromium/src/build/a.out (0x8048000)
--20423-- Reading syms from /usr/lib/valgrind/x86-linux/memcheck (0x38000000)
--20423-- object doesn't have a dynamic symbol table
--20423-- Reading suppressions file: /usr/lib/valgrind/debian-libc6-dbg.supp
--20423-- Reading suppressions file: /usr/lib/valgrind/default.supp
--20423-- REDIR: 0x4418890 (index) redirected to 0x3802cf83
(vgPlain_x86_linux_REDIR_FOR_index)
--20423-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_core.so
(0x47E9000)
--20423-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so
(0x47F5000)
==20423== WARNING: new redirection conflicts with existing -- ignoring it
--20423-- new: 0x04418890 (index ) R-> 0x047f91a0 index
--20423-- REDIR: 0x4418a60 (strlen) redirected to 0x47f9450 (strlen)
--20423-- Reading syms from /lib32/libc-2.8.90.so (0x4817000)
--20423-- Reading debug info from /lib32/libc-2.8.90.so...
--20423-- ... CRC mismatch (computed 6d0128e6 wanted c7a7bfa4)
--20423-- Reading debug info from /usr/lib/debug/lib32/libc-2.8.90.so...
--20423-- REDIR: 0x488f3b0 (rindex) redirected to 0x47f9080 (rindex)
--20423-- REDIR: 0x488b450 (malloc) redirected to 0x47f8c70 (malloc)
--20423-- REDIR: 0x488ef30 (strlen) redirected to 0x47f9430 (strlen)
--20423-- REDIR: 0x488fda0 (memchr) redirected to 0x47f9850 (memchr)
--20423-- REDIR: 0x48907b0 (memcpy) redirected to 0x47f98a0 (memcpy)
--20423-- REDIR: 0x4891400 (strchrnul) redirected to 0x47fa410 (strchrnul)
--20423-- REDIR: 0x4890300 (mempcpy) redirected to 0x47fa470 (mempcpy)
--20423-- REDIR: 0x4889040 (free) redirected to 0x47f7a90 (free)
--20423-- REDIR: 0x488e9c0 (strcmp) redirected to 0x47f9730 (strcmp)
--20423-- REDIR: 0x4890490 (stpcpy) redirected to 0x47fa0d0 (stpcpy)
--20423-- REDIR: 0x488b120 (calloc) redirected to 0x47f6d20 (calloc)
--20423-- Reading syms from /lib32/libnss_compat-2.8.90.so (0x4806000)
--20423-- Reading debug info from /lib32/libnss_compat-2.8.90.so...
--20423-- ... CRC mismatch (computed f8f605be wanted 93c7f534)
--20423-- Reading debug info from
/usr/lib/debug/lib32/libnss_compat-2.8.90.so...
--20423-- Reading syms from /lib32/libnsl-2.8.90.so (0x4990000)
--20423-- Reading debug info from /lib32/libnsl-2.8.90.so...
--20423-- ... CRC mismatch (computed 2063102e wanted ce175411)
--20423-- Reading debug info from /usr/lib/debug/lib32/libnsl-2.8.90.so...
--20423-- REDIR: 0x488ea30 (strcpy) redirected to 0x47f9490 (strcpy)
--20423-- Reading syms from /lib32/libnss_nis-2.8.90.so (0x49A9000)
--20423-- Reading debug info from /lib32/libnss_nis-2.8.90.so...
--20423-- ... CRC mismatch (computed f90bcd20 wanted a9cb3bee)
--20423-- Reading debug info from /usr/lib/debug/lib32/libnss_nis-2.8.90.so...
--20423-- Reading syms from /lib32/libnss_files-2.8.90.so (0x49B8000)
--20423-- Reading debug info from /lib32/libnss_files-2.8.90.so...
--20423-- ... CRC mismatch (computed ae6585a8 wanted 2790ad7a)
--20423-- Reading debug info from /usr/lib/debug/lib32/libnss_files-2.8.90.so...
--20423-- REDIR: 0x488e850 (index) redirected to 0x47f9170 (index)
p is 0x49729bc
--20423-- Discarding syms at 0x4806000-0x480F000 in
/lib32/libnss_compat-2.8.90.so due to munmap()
--20423-- Discarding syms at 0x49A9000-0x49B4000 in /lib32/libnss_nis-2.8.90.so
due to munmap()
--20423-- Discarding syms at 0x4990000-0x49A9000 in /lib32/libnsl-2.8.90.so due
to munmap()
--20423-- Discarding syms at 0x49B8000-0x49C4000 in
/lib32/libnss_files-2.8.90.so due to munmap()
==20423==
==20423== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 21 from 1)
--20423--
--20423-- supp: 21 dl-hack3-cond-1
==20423== malloc/free: in use at exit: 156 bytes in 11 blocks.
==20423== malloc/free: 68 allocs, 57 frees, 6,362 bytes allocated.
==20423==
==20423== searching for pointers to 11 not-freed blocks.
==20423== checked 56,236 bytes.
==20423==
==20423== 156 (36 direct, 120 indirect) bytes in 1 blocks are definitely lost
in loss record 1 of 3
==20423== at 0x47F8D2E: malloc (vg_replace_malloc.c:207)
==20423== by 0x490E4F0: nss_parse_service_list (in /lib32/libc-2.8.90.so)
==20423== by 0x490EE25: __nss_database_lookup (in /lib32/libc-2.8.90.so)
==20423== by 0x4807F5B: ???
==20423== by 0x4808CBE: ???
==20423== by 0x48B40B1: getpwnam_r@@GLIBC_2.1.2 (in /lib32/libc-2.8.90.so)
==20423== by 0x48B3B26: getpwnam (in /lib32/libc-2.8.90.so)
==20423== by 0x8048410: main (in /home/dank/chromium/src/build/a.out)
==20423==
==20423== LEAK SUMMARY:
==20423== definitely lost: 36 bytes in 1 blocks.
==20423== indirectly lost: 120 bytes in 10 blocks.
==20423== possibly lost: 0 bytes in 0 blocks.
==20423== still reachable: 0 bytes in 0 blocks.
==20423== suppressed: 0 bytes in 0 blocks.
--20423-- memcheck: sanity checks: 0 cheap, 1 expensive
--20423-- memcheck: auxmaps: 0 auxmap entries (0k, 0M) in use
--20423-- memcheck: auxmaps_L1: 0 searches, 0 cmps, ratio 0:10
--20423-- memcheck: auxmaps_L2: 0 searches, 0 nodes
--20423-- memcheck: SMs: n_issued = 15 (240k, 0M)
--20423-- memcheck: SMs: n_deissued = 0 (0k, 0M)
--20423-- memcheck: SMs: max_noaccess = 65535 (1048560k, 1023M)
--20423-- memcheck: SMs: max_undefined = 0 (0k, 0M)
--20423-- memcheck: SMs: max_defined = 24 (384k, 0M)
--20423-- memcheck: SMs: max_non_DSM = 15 (240k, 0M)
--20423-- memcheck: max sec V bit nodes: 6 (0k, 0M)
--20423-- memcheck: set_sec_vbits8 calls: 22 (new: 6, updates: 16)
--20423-- memcheck: max shadow mem size: 544k, 0M
--20423-- translate: fast SP updates identified: 2,950 ( 90.0%)
--20423-- translate: generic_known SP updates identified: 188 ( 5.7%)
--20423-- translate: generic_unknown SP updates identified: 139 ( 4.2%)
--20423-- tt/tc: 6,463 tt lookups requiring 6,596 probes
--20423-- tt/tc: 6,463 fast-cache updates, 7 flushes
--20423-- transtab: new 2,974 (62,605 -> 908,224; ratio 145:10) [0 scs]
--20423-- transtab: dumped 0 (0 -> ??)
--20423-- transtab: discarded 162 (2,933 -> ??)
--20423-- scheduler: 50,327 jumps (bb entries).
--20423-- scheduler: 0/3,775 major/minor sched events.
--20423-- sanity: 1 cheap, 1 expensive checks.
--20423-- exectx: 769 lists, 66 contexts (avg 0 per list)
--20423-- exectx: 146 searches, 81 full compares (554 per 1000)
--20423-- exectx: 13 cmp2, 68 cmp4, 0 cmpAll
--20423-- errormgr: 13 supplist searches, 365 comparisons during search
--20423-- errormgr: 21 errlist searches, 68 comparisons during search
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users