Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ondra@ubuntu:~/prog6$
- ondra@ubuntu:~/prog6$ valgrind -v --leak-check=full ./a.out
- ==12868== Memcheck, a memory error detector
- ==12868== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al.
- ==12868== Using Valgrind-3.6.0.SVN-Debian and LibVEX; rerun with -h for copyright info
- ==12868== Command: ./a.out
- ==12868==
- --12868-- Valgrind options:
- --12868-- --suppressions=/usr/lib/valgrind/debian-libc6-dbg.supp
- --12868-- -v
- --12868-- --leak-check=full
- --12868-- Contents of /proc/version:
- --12868-- Linux version 2.6.32-24-generic (buildd@rothera) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) #39-Ubuntu SMP Wed Jul 28 06:07:29 UTC 2010
- --12868-- Arch and hwcaps: X86, x86-sse1-sse2
- --12868-- Page sizes: currently 4096, max supported 4096
- --12868-- Valgrind library directory: /usr/lib/valgrind
- --12868-- Reading syms from /lib/ld-2.11.1.so (0x4000000)
- --12868-- Reading debug info from /lib/ld-2.11.1.so ..
- --12868-- .. CRC mismatch (computed d005eb74 wanted 53dc8daf)
- --12868-- Reading debug info from /usr/lib/debug/lib/ld-2.11.1.so ..
- --12868-- Reading syms from /home/ondra/prog6/a.out (0x8048000)
- --12868-- Reading syms from /usr/lib/valgrind/memcheck-x86-linux (0x38000000)
- --12868-- object doesn't have a dynamic symbol table
- --12868-- Reading suppressions file: /usr/lib/valgrind/debian-libc6-dbg.supp
- --12868-- Reading suppressions file: /usr/lib/valgrind/default.supp
- --12868-- REDIR: 0x40160b0 (index) redirected to 0x3803e9b3 (vgPlain_x86_linux_REDIR_FOR_index)
- --12868-- Reading syms from /usr/lib/valgrind/vgpreload_core-x86-linux.so (0x401f000)
- --12868-- Reading syms from /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so (0x4022000)
- ==12868== WARNING: new redirection conflicts with existing -- ignoring it
- --12868-- new: 0x040160b0 (index ) R-> 0x04025c30 index
- --12868-- REDIR: 0x4016290 (strlen) redirected to 0x4026070 (strlen)
- --12868-- Reading syms from /lib/tls/i686/cmov/libc-2.11.1.so (0x4038000)
- --12868-- Reading debug info from /lib/tls/i686/cmov/libc-2.11.1.so ..
- --12868-- .. CRC mismatch (computed 0893b039 wanted f05c11b3)
- --12868-- Reading debug info from /usr/lib/debug/lib/tls/i686/cmov/libc-2.11.1.so ..
- --12868-- REDIR: 0x40abb10 (rindex) redirected to 0x4025ae0 (rindex)
- --12868-- REDIR: 0x40ae2b0 (strchrnul) redirected to 0x4027510 (strchrnul)
- --12868-- REDIR: 0x40a7f40 (malloc) redirected to 0x4024e9b (malloc)
- Retezec A: ATAT
- --12868-- REDIR: 0x40a8ec0 (realloc) redirected to 0x4024f4a (realloc)
- Retezec B: TATA
- --12868-- REDIR: 0x40ab7f0 (__GI_strlen) redirected to 0x4026050 (__GI_strlen)
- Nejdelsi spolecne retezce:
- --12868-- REDIR: 0x40ab730 (strlen) redirected to 0x401f44c (_vgnU_ifunc_wrapper)
- --12868-- REDIR: 0x40ab770 (__strlen_sse2) redirected to 0x4026030 (strlen)
- --12868-- REDIR: 0x40ab140 (strcmp) redirected to 0x401f44c (_vgnU_ifunc_wrapper)
- --12868-- REDIR: 0x4150240 (__strcmp_ssse3) redirected to 0x4026630 (strcmp)
- --12868-- REDIR: 0x40a7e60 (free) redirected to 0x4024ab5 (free)
- ATA
- TAT
- ==12868==
- ==12868== HEAP SUMMARY:
- ==12868== in use at exit: 9,800 bytes in 98 blocks
- ==12868== total heap usage: 318 allocs, 220 frees, 31,366 bytes allocated
- ==12868==
- ==12868== Searching for pointers to 98 not-freed blocks
- ==12868== Checked 60,644 bytes
- ==12868==
- ==12868== 9,800 bytes in 98 blocks are definitely lost in loss record 1 of 1
- ==12868== at 0x4024F20: malloc (vg_replace_malloc.c:236)
- ==12868== by 0x804866D: CreateMatrix (in /home/ondra/prog6/a.out)
- ==12868== by 0x80489AE: LCS (in /home/ondra/prog6/a.out)
- ==12868== by 0x804901C: main (in /home/ondra/prog6/a.out)
- ==12868==
- ==12868== LEAK SUMMARY:
- ==12868== definitely lost: 9,800 bytes in 98 blocks
- ==12868== indirectly lost: 0 bytes in 0 blocks
- ==12868== possibly lost: 0 bytes in 0 blocks
- ==12868== still reachable: 0 bytes in 0 blocks
- ==12868== suppressed: 0 bytes in 0 blocks
- ==12868==
- ==12868== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 13 from 8)
- --12868--
- --12868-- used_suppression: 13 dl-hack3-cond-1
- ==12868==
- ==12868== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 13 from 8)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement