fork download
  1. joe@beastie ~/programming/C/bilanz/src% valgrind -v --leak-check=yes ./text_miner < ../data/data.txt
  2. ==95563== Memcheck, a memory error detector
  3. ==95563== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
  4. ==95563== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info
  5. ==95563== Command: ./text_miner
  6. ==95563==
  7. --95563-- Valgrind options:
  8. --95563-- -v
  9. --95563-- --leak-check=yes
  10. --95563-- Contents of /proc/version:
  11. --95563-- Arch and hwcaps: AMD64, amd64-sse3-cx16
  12. --95563-- Page sizes: currently 4096, max supported 4096
  13. --95563-- Valgrind library directory: /usr/local/lib/valgrind
  14. --95563-- Reading syms from /libexec/ld-elf.so.1 (0x10000)
  15. --95563-- object doesn't have a symbol table
  16. --95563-- Reading syms from /home/joe/programming/C/bilanz/src/text_miner (0x400000)
  17. --95563-- Reading suppressions file: /usr/local/lib/valgrind/default.supp
  18. ==95563== Invalid read of size 8
  19. ==95563== at 0x12B2E: ??? (in /libexec/ld-elf.so.1)
  20. ==95563== by 0x11FA8: ??? (in /libexec/ld-elf.so.1)
  21. ==95563== Address 0x8 is not stack'd, malloc'd or (recently) free'd
  22. ==95563==
  23. ==95563==
  24. ==95563== Process terminating with default action of signal 11 (SIGSEGV): dumping core
  25. ==95563== Access not within mapped region at address 0x8
  26. ==95563== at 0x12B2E: ??? (in /libexec/ld-elf.so.1)
  27. ==95563== by 0x11FA8: ??? (in /libexec/ld-elf.so.1)
  28. ==95563== If you believe this happened as a result of a stack
  29. ==95563== overflow in your program's main thread (unlikely but
  30. ==95563== possible), you can try to increase the size of the
  31. ==95563== main thread stack using the --main-stacksize= flag.
  32. ==95563== The main thread stack size used in this run was 16777216.
  33. ==95563==
  34. ==95563== HEAP SUMMARY:
  35. ==95563== in use at exit: 0 bytes in 0 blocks
  36. ==95563== total heap usage: 0 allocs, 0 frees, 0 bytes allocated
  37. ==95563==
  38. ==95563== All heap blocks were freed -- no leaks are possible
  39. ==95563==
  40. ==95563== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
  41. ==95563==
  42. ==95563== 1 errors in context 1 of 1:
  43. ==95563== Invalid read of size 8
  44. ==95563== at 0x12B2E: ??? (in /libexec/ld-elf.so.1)
  45. ==95563== by 0x11FA8: ??? (in /libexec/ld-elf.so.1)
  46. ==95563== Address 0x8 is not stack'd, malloc'd or (recently) free'd
  47. ==95563==
  48. ==95563== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
  49. zsh: segmentation fault valgrind -v --leak-check=yes ./text_miner < ../data/data.txt
  50.  
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout
Standard output is empty