Advertisement
Guest User

Untitled

a guest
Jun 29th, 2017
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.09 KB | None | 0 0
  1. ondra@ubuntu:~/prog6$
  2. ondra@ubuntu:~/prog6$ valgrind -v --leak-check=full ./a.out
  3. ==12868== Memcheck, a memory error detector
  4. ==12868== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al.
  5. ==12868== Using Valgrind-3.6.0.SVN-Debian and LibVEX; rerun with -h for copyright info
  6. ==12868== Command: ./a.out
  7. ==12868==
  8. --12868-- Valgrind options:
  9. --12868--    --suppressions=/usr/lib/valgrind/debian-libc6-dbg.supp
  10. --12868--    -v
  11. --12868--    --leak-check=full
  12. --12868-- Contents of /proc/version:
  13. --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
  14. --12868-- Arch and hwcaps: X86, x86-sse1-sse2
  15. --12868-- Page sizes: currently 4096, max supported 4096
  16. --12868-- Valgrind library directory: /usr/lib/valgrind
  17. --12868-- Reading syms from /lib/ld-2.11.1.so (0x4000000)
  18. --12868-- Reading debug info from /lib/ld-2.11.1.so ..
  19. --12868-- .. CRC mismatch (computed d005eb74 wanted 53dc8daf)
  20. --12868-- Reading debug info from /usr/lib/debug/lib/ld-2.11.1.so ..
  21. --12868-- Reading syms from /home/ondra/prog6/a.out (0x8048000)
  22. --12868-- Reading syms from /usr/lib/valgrind/memcheck-x86-linux (0x38000000)
  23. --12868--    object doesn't have a dynamic symbol table
  24. --12868-- Reading suppressions file: /usr/lib/valgrind/debian-libc6-dbg.supp
  25. --12868-- Reading suppressions file: /usr/lib/valgrind/default.supp
  26. --12868-- REDIR: 0x40160b0 (index) redirected to 0x3803e9b3 (vgPlain_x86_linux_REDIR_FOR_index)
  27. --12868-- Reading syms from /usr/lib/valgrind/vgpreload_core-x86-linux.so (0x401f000)
  28. --12868-- Reading syms from /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so (0x4022000)
  29. ==12868== WARNING: new redirection conflicts with existing -- ignoring it
  30. --12868--     new: 0x040160b0 (index               ) R-> 0x04025c30 index
  31. --12868-- REDIR: 0x4016290 (strlen) redirected to 0x4026070 (strlen)
  32. --12868-- Reading syms from /lib/tls/i686/cmov/libc-2.11.1.so (0x4038000)
  33. --12868-- Reading debug info from /lib/tls/i686/cmov/libc-2.11.1.so ..
  34. --12868-- .. CRC mismatch (computed 0893b039 wanted f05c11b3)
  35. --12868-- Reading debug info from /usr/lib/debug/lib/tls/i686/cmov/libc-2.11.1.so ..
  36. --12868-- REDIR: 0x40abb10 (rindex) redirected to 0x4025ae0 (rindex)
  37. --12868-- REDIR: 0x40ae2b0 (strchrnul) redirected to 0x4027510 (strchrnul)
  38. --12868-- REDIR: 0x40a7f40 (malloc) redirected to 0x4024e9b (malloc)
  39. Retezec A: ATAT
  40. --12868-- REDIR: 0x40a8ec0 (realloc) redirected to 0x4024f4a (realloc)
  41. Retezec B: TATA
  42. --12868-- REDIR: 0x40ab7f0 (__GI_strlen) redirected to 0x4026050 (__GI_strlen)
  43. Nejdelsi spolecne retezce:
  44. --12868-- REDIR: 0x40ab730 (strlen) redirected to 0x401f44c (_vgnU_ifunc_wrapper)
  45. --12868-- REDIR: 0x40ab770 (__strlen_sse2) redirected to 0x4026030 (strlen)
  46. --12868-- REDIR: 0x40ab140 (strcmp) redirected to 0x401f44c (_vgnU_ifunc_wrapper)
  47. --12868-- REDIR: 0x4150240 (__strcmp_ssse3) redirected to 0x4026630 (strcmp)
  48. --12868-- REDIR: 0x40a7e60 (free) redirected to 0x4024ab5 (free)
  49. ATA
  50. TAT
  51. ==12868==
  52. ==12868== HEAP SUMMARY:
  53. ==12868==     in use at exit: 9,800 bytes in 98 blocks
  54. ==12868==   total heap usage: 318 allocs, 220 frees, 31,366 bytes allocated
  55. ==12868==
  56. ==12868== Searching for pointers to 98 not-freed blocks
  57. ==12868== Checked 60,644 bytes
  58. ==12868==
  59. ==12868== 9,800 bytes in 98 blocks are definitely lost in loss record 1 of 1
  60. ==12868==    at 0x4024F20: malloc (vg_replace_malloc.c:236)
  61. ==12868==    by 0x804866D: CreateMatrix (in /home/ondra/prog6/a.out)
  62. ==12868==    by 0x80489AE: LCS (in /home/ondra/prog6/a.out)
  63. ==12868==    by 0x804901C: main (in /home/ondra/prog6/a.out)
  64. ==12868==
  65. ==12868== LEAK SUMMARY:
  66. ==12868==    definitely lost: 9,800 bytes in 98 blocks
  67. ==12868==    indirectly lost: 0 bytes in 0 blocks
  68. ==12868==      possibly lost: 0 bytes in 0 blocks
  69. ==12868==    still reachable: 0 bytes in 0 blocks
  70. ==12868==         suppressed: 0 bytes in 0 blocks
  71. ==12868==
  72. ==12868== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 13 from 8)
  73. --12868--
  74. --12868-- used_suppression:     13 dl-hack3-cond-1
  75. ==12868==
  76. ==12868== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 13 from 8)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement