Advertisement
Guest User

Untitled

a guest
Feb 15th, 2016
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.14 KB | None | 0 0
  1. ==50498==
  2. ==50498== HEAP SUMMARY:
  3. ==50498== in use at exit: 38,665 bytes in 418 blocks
  4. ==50498== total heap usage: 522 allocs, 104 frees, 53,999 bytes allocated
  5. ==50498==
  6. ==50498== Searching for pointers to 418 not-freed blocks
  7. ==50498== Checked 9,059,008 bytes
  8. ==50498==
  9. ==50498== LEAK SUMMARY:
  10. ==50498== definitely lost: 0 bytes in 0 blocks
  11. ==50498== indirectly lost: 0 bytes in 0 blocks
  12. ==50498== possibly lost: 0 bytes in 0 blocks
  13. ==50498== still reachable: 148 bytes in 3 blocks
  14. ==50498== suppressed: 38,517 bytes in 415 blocks
  15. ==50498== Rerun with --leak-check=full to see details of leaked memory
  16. ==50498==
  17. ==50498== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
  18. ==50498==
  19. ==50498== 1 errors in context 1 of 2:
  20. ==50498== Syscall param open(filename) points to unaddressable byte(s)
  21. ==50498== at 0x1002DD012: open$NOCANCEL (in /usr/lib/system/libsystem_kernel.dylib)
  22. ==50498== by 0x1001D1316: fopen (in /usr/lib/system/libsystem_c.dylib)
  23. ==50498== by 0x100000B36: checkFile (hwGrader.c:50)
  24. ==50498== by 0x100000DC3: main (hwGrader.c:104)
  25. ==50498== Address 0x100802923 is 0 bytes after a block of size 83 alloc'd
  26. ==50498== at 0x100007EA1: malloc (vg_replace_malloc.c:303)
  27. ==50498== by 0x100000A3F: checkFile (hwGrader.c:41)
  28. ==50498== by 0x100000DC3: main (hwGrader.c:104)
  29. ==50498==
  30. ==50498==
  31. ==50498== 1 errors in context 2 of 2:
  32. ==50498== Syscall param open(filename) points to unaddressable byte(s)
  33. ==50498== at 0x1002DD012: open$NOCANCEL (in /usr/lib/system/libsystem_kernel.dylib)
  34. ==50498== by 0x1001D1316: fopen (in /usr/lib/system/libsystem_c.dylib)
  35. ==50498== by 0x100000AFF: checkFile (hwGrader.c:47)
  36. ==50498== by 0x100000DC3: main (hwGrader.c:104)
  37. ==50498== Address 0x100802883 is 0 bytes after a block of size 83 alloc'd
  38. ==50498== at 0x100007EA1: malloc (vg_replace_malloc.c:303)
  39. ==50498== by 0x100000974: checkFile (hwGrader.c:36)
  40. ==50498== by 0x100000DC3: main (hwGrader.c:104)
  41. ==50498==
  42. --50498--
  43. --50498-- used_suppression: 1 OSX1010:15-Leak /usr/local/lib/valgrind/default.supp:887 suppressed: 4,096 bytes in 1 blocks
  44. --50498-- used_suppression: 1 OSX1010:13-Leak /usr/local/lib/valgrind/default.supp:867 suppressed: 4,096 bytes in 1 blocks
  45. --50498-- used_suppression: 2 OSX1010:1-Leak /usr/local/lib/valgrind/default.supp:747 suppressed: 5,936 bytes in 45 blocks
  46. --50498-- used_suppression: 37 OSX1010:6-Leak /usr/local/lib/valgrind/default.supp:798 suppressed: 14,936 bytes in 261 blocks
  47. --50498-- used_suppression: 14 OSX1010:7-Leak /usr/local/lib/valgrind/default.supp:809 suppressed: 7,090 bytes in 65 blocks
  48. --50498-- used_suppression: 16 OSX1010:10-Leak /usr/local/lib/valgrind/default.supp:840 suppressed: 2,107 bytes in 34 blocks
  49. --50498-- used_suppression: 1 OSX1010:9-Leak /usr/local/lib/valgrind/default.supp:830 suppressed: 64 bytes in 1 blocks
  50. --50498-- used_suppression: 6 OSX1010:5-Leak /usr/local/lib/valgrind/default.supp:788 suppressed: 176 bytes in 6 blocks
  51. --50498-- used_suppression: 1 OSX1010:3-Leak /usr/local/lib/valgrind/default.supp:765 suppressed: 16 bytes in 1 blocks
  52. ==50498==
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement