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