Advertisement
Weegee

Untitled

Aug 6th, 2011
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.32 KB | None | 0 0
  1. ==6029== Memcheck, a memory error detector
  2. ==6029== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
  3. ==6029== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info
  4. ==6029== Command: ./src/ascii-combat
  5. ==6029== Parent PID: 5927
  6. ==6029==
  7. --6029--
  8. --6029-- Valgrind options:
  9. --6029-- --tool=memcheck
  10. --6029-- --leak-check=full
  11. --6029-- -v
  12. --6029-- --log-file=valgrind.log
  13. --6029-- Contents of /proc/version:
  14. --6029-- Linux version 2.6.39-ARCH (thomas@evey) (gcc version 4.6.1 (GCC) ) #1 SMP PREEMPT Sat Jul 9 14:57:41 CEST 2011
  15. --6029-- Arch and hwcaps: AMD64, amd64-sse3-cx16-lzcnt
  16. --6029-- Page sizes: currently 4096, max supported 4096
  17. --6029-- Valgrind library directory: /usr/lib/valgrind
  18. --6029-- Reading syms from /home/weegee/docs/projekte/c/ascii-combat/src/ascii-combat (0x400000)
  19. --6029-- Reading syms from /lib/ld-2.14.so (0x4000000)
  20. --6029-- Reading syms from /usr/lib/valgrind/memcheck-amd64-linux (0x38000000)
  21. --6029-- object doesn't have a symbol table
  22. --6029-- object doesn't have a dynamic symbol table
  23. --6029-- Reading suppressions file: /usr/lib/valgrind/default.supp
  24. --6029-- REDIR: 0x4016a30 (strlen) redirected to 0x3805f7b7 (???)
  25. --6029-- Reading syms from /usr/lib/valgrind/vgpreload_core-amd64-linux.so (0x4a21000)
  26. --6029-- object doesn't have a symbol table
  27. --6029-- Reading syms from /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so (0x4c22000)
  28. --6029-- object doesn't have a symbol table
  29. ==6029== WARNING: new redirection conflicts with existing -- ignoring it
  30. --6029-- new: 0x04016a30 (strlen ) R-> 0x04c26de0 strlen
  31. --6029-- REDIR: 0x4016770 (index) redirected to 0x4c26a00 (index)
  32. --6029-- REDIR: 0x4016920 (strcmp) redirected to 0x4c279e0 (strcmp)
  33. --6029-- Reading syms from /lib/libncursesw.so.5.9 (0x4e2c000)
  34. --6029-- object doesn't have a symbol table
  35. --6029-- Reading syms from /lib/libc-2.14.so (0x5087000)
  36. --6029-- object doesn't have a symbol table
  37. --6029-- REDIR: 0x51052e0 (rindex) redirected to 0x4c26790 (rindex)
  38. --6029-- REDIR: 0x510e810 (strchrnul) redirected to 0x4c28b20 (strchrnul)
  39. --6029-- REDIR: 0x51037b0 (strlen) redirected to 0x4c26d80 (strlen)
  40. --6029-- REDIR: 0x51039d0 (strncmp) redirected to 0x4c27220 (strncmp)
  41. --6029-- REDIR: 0x50ff180 (calloc) redirected to 0x4c24a30 (calloc)
  42. --6029-- REDIR: 0x5103890 (strnlen) redirected to 0x4c26d20 (strnlen)
  43. --6029-- REDIR: 0x5101cf0 (index) redirected to 0x4c26870 (index)
  44. --6029-- REDIR: 0x50fdfd0 (malloc) redirected to 0x4c263a0 (malloc)
  45. --6029-- REDIR: 0x51072b0 (mempcpy) redirected to 0x4c28c40 (mempcpy)
  46. --6029-- REDIR: 0x510c330 (memcpy) redirected to 0x4c27ae0 (memcpy)
  47. --6029-- REDIR: 0x5105bf0 (strstr) redirected to 0x4c28f30 (strstr)
  48. --6029-- REDIR: 0x51065c0 (memcpy) redirected to 0x4c27ae0 (memcpy)
  49. --6029-- REDIR: 0x50fe5c0 (realloc) redirected to 0x4c26470 (realloc)
  50. --6029-- REDIR: 0x50fe4e0 (free) redirected to 0x4c25500 (free)
  51. --6029-- REDIR: 0x5105220 (strncpy) redirected to 0x4c26fa0 (strncpy)
  52. --6029-- REDIR: 0x5101d70 (strcmp) redirected to 0x4c27920 (strcmp)
  53. --6029-- REDIR: 0x5106770 (memset) redirected to 0x4c28990 (memset)
  54. --6029-- REDIR: 0x51031c0 (strcpy) redirected to 0x4c26e00 (strcpy)
  55. ==6029==
  56. ==6029== HEAP SUMMARY:
  57. ==6029== in use at exit: 170,161 bytes in 335 blocks
  58. ==6029== total heap usage: 399 allocs, 64 frees, 236,199 bytes allocated
  59. ==6029==
  60. ==6029== Searching for pointers to 335 not-freed blocks
  61. ==6029== Checked 349,992 bytes
  62. ==6029==
  63. ==6029== 40 bytes in 1 blocks are definitely lost in loss record 5 of 39
  64. ==6029== at 0x4C2640D: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  65. ==6029== by 0x401827: main (main.c:39)
  66. ==6029==
  67. ==6029== LEAK SUMMARY:
  68. ==6029== definitely lost: 40 bytes in 1 blocks
  69. ==6029== indirectly lost: 0 bytes in 0 blocks
  70. ==6029== possibly lost: 0 bytes in 0 blocks
  71. ==6029== still reachable: 170,121 bytes in 334 blocks
  72. ==6029== suppressed: 0 bytes in 0 blocks
  73. ==6029== Reachable blocks (those to which a pointer was found) are not shown.
  74. ==6029== To see them, rerun with: --leak-check=full --show-reachable=yes
  75. ==6029==
  76. ==6029== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 7 from 7)
  77. --6029--
  78. --6029-- used_suppression: 7 dl-hack3-cond-1
  79. ==6029==
  80. ==6029== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 7 from 7)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement