Heruberuto

Untitled

Apr 13th, 2016
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.03 KB | None | 0 0
  1. See the valgrind log below.
  2. ==23619== Memcheck, a memory error detector
  3. ==23619== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
  4. ==23619== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
  5. ==23619== Command: ./sub_main vit_normal.ppm
  6. ==23619==
  7. ==23619== Invalid read of size 8
  8. ==23619== at 0x400BD9: main (in /tmp/A0B36APO-ullriher-r5I9/tests/sub_main)
  9. ==23619== Address 0x543f03a is 10,362 bytes inside a block of size 10,368 alloc'd
  10. ==23619== at 0x4C28BED: malloc (vg_replace_malloc.c:263)
  11. ==23619== by 0x400B2D: main (in /tmp/A0B36APO-ullriher-r5I9/tests/sub_main)
  12. ==23619==
  13. ==23619== Invalid read of size 8
  14. ==23619== at 0x400CB4: main (in /tmp/A0B36APO-ullriher-r5I9/tests/sub_main)
  15. ==23619== Address 0x5446a7a is 10,362 bytes inside a block of size 10,368 alloc'd
  16. ==23619== at 0x4C28BED: malloc (vg_replace_malloc.c:263)
  17. ==23619== by 0x400B5A: main (in /tmp/A0B36APO-ullriher-r5I9/tests/sub_main)
  18. ==23619==
  19. ==23619== Invalid read of size 8
  20. ==23619== at 0x400D10: main (in /tmp/A0B36APO-ullriher-r5I9/tests/sub_main)
  21. ==23619== Address 0x5446a7d is 10,365 bytes inside a block of size 10,368 alloc'd
  22. ==23619== at 0x4C28BED: malloc (vg_replace_malloc.c:263)
  23. ==23619== by 0x400B5A: main (in /tmp/A0B36APO-ullriher-r5I9/tests/sub_main)
  24. ==23619==
  25. ==23619== Invalid read of size 8
  26. ==23619== at 0x400DFF: main (in /tmp/A0B36APO-ullriher-r5I9/tests/sub_main)
  27. ==23619== Address 0x54441ba is 10,362 bytes inside a block of size 10,368 alloc'd
  28. ==23619== at 0x4C28BED: malloc (vg_replace_malloc.c:263)
  29. ==23619== by 0x400B4B: main (in /tmp/A0B36APO-ullriher-r5I9/tests/sub_main)
  30. ==23619==
  31. ==23619==
  32. ==23619== HEAP SUMMARY:
  33. ==23619== in use at exit: 0 bytes in 0 blocks
  34. ==23619== total heap usage: 7 allocs, 7 frees, 43,176 bytes allocated
  35. ==23619==
  36. ==23619== All heap blocks were freed -- no leaks are possible
  37. ==23619==
  38. ==23619== For counts of detected and suppressed errors, rerun with: -v
  39. ==23619== ERROR SUMMARY: 9216 errors from 4 contexts (suppressed: 4 from 4)
Add Comment
Please, Sign In to add comment