Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Dr. Memory version 2.1.0 build 1 built on Mar 18 2019 00:02:08
- Windows version: WinVer=61;Rel=;Build=7601;Edition=Ultimate
- Dr. Memory results for pid 9860: "snake_v0.exe"
- Application cmdline: "C:\Users\Studia\Desktop\CP\9ea33e2f-gr11-repo\Project\snake_v0.0\bin\Debug\snake_v0.exe"
- Recorded 117 suppression(s) from default C:\Program Files (x86)\Dr. Memory\bin\suppress-default.txt
- Error #1: UNADDRESSABLE ACCESS beyond heap bounds: reading 0x029321fc-0x02932200 4 byte(s)
- # 0 pdcurses.dll!wnoutrefresh +0x5e (0x10005a8c <pdcurses.dll+0x5a8c>)
- # 1 pdcurses.dll!wrefresh +0x27 (0x10005da8 <pdcurses.dll+0x5da8>)
- # 2 generate_food [C:/Users/Studia/Desktop/CP/9ea33e2f-gr11-repo/Project/snake_v0.0/map_func.c:57]
- # 3 game [C:/Users/Studia/Desktop/CP/9ea33e2f-gr11-repo/Project/snake_v0.0/menu_func.c:35]
- # 4 menu [C:/Users/Studia/Desktop/CP/9ea33e2f-gr11-repo/Project/snake_v0.0/menu_func.c:264]
- # 5 main [C:/Users/Studia/Desktop/CP/9ea33e2f-gr11-repo/Project/snake_v0.0/main.c:15]
- Note: @0:00:01.341 in thread 10740
- Note: next higher malloc: 0x02932200-0x02932264
- Note: prev lower malloc: 0x02932190-0x029321e0
- Note: instruction: mov (%edi,%ebx) -> %edi
- Error #2: UNADDRESSABLE ACCESS: reading 0x00000000-0x00000004 4 byte(s)
- # 0 pdcurses.dll!wnoutrefresh +0x88 (0x10005ab6 <pdcurses.dll+0x5ab6>)
- # 1 pdcurses.dll!wrefresh +0x27 (0x10005da8 <pdcurses.dll+0x5da8>)
- # 2 generate_food [C:/Users/Studia/Desktop/CP/9ea33e2f-gr11-repo/Project/snake_v0.0/map_func.c:57]
- # 3 game [C:/Users/Studia/Desktop/CP/9ea33e2f-gr11-repo/Project/snake_v0.0/menu_func.c:35]
- # 4 menu [C:/Users/Studia/Desktop/CP/9ea33e2f-gr11-repo/Project/snake_v0.0/menu_func.c:264]
- # 5 main [C:/Users/Studia/Desktop/CP/9ea33e2f-gr11-repo/Project/snake_v0.0/main.c:15]
- Note: @0:00:01.342 in thread 10740
- Note: instruction: cmp %ecx (%edx,%eax)
- Error #3: LEAK 80 direct bytes 0x02938ec8-0x02938f18 + 300 indirect bytes
- # 0 replace_RtlAllocateHeap [d:\drmemory_package\common\alloc_replace.c:3771]
- # 1 pdcurses.dll!PDC_set_blink +0x1004 (0x1000a222 <pdcurses.dll+0xa222>)
- # 2 pdcurses.dll!wunctrl +0x94 (0x100075bb <pdcurses.dll+0x75bb>)
- # 3 pdcurses.dll!newwin +0x48 (0x1000774f <pdcurses.dll+0x774f>)
- # 4 menu [C:/Users/Studia/Desktop/CP/9ea33e2f-gr11-repo/Project/snake_v0.0/menu_func.c:221]
- # 5 main [C:/Users/Studia/Desktop/CP/9ea33e2f-gr11-repo/Project/snake_v0.0/main.c:15]
- Error #4: LEAK 80 direct bytes 0x02939170-0x029391c0 + 8300 indirect bytes
- # 0 replace_RtlAllocateHeap [d:\drmemory_package\common\alloc_replace.c:3771]
- # 1 pdcurses.dll!PDC_set_blink +0x1004 (0x1000a222 <pdcurses.dll+0xa222>)
- # 2 pdcurses.dll!wunctrl +0x94 (0x100075bb <pdcurses.dll+0x75bb>)
- # 3 pdcurses.dll!newwin +0x48 (0x1000774f <pdcurses.dll+0x774f>)
- # 4 game [C:/Users/Studia/Desktop/CP/9ea33e2f-gr11-repo/Project/snake_v0.0/menu_func.c:18]
- # 5 menu [C:/Users/Studia/Desktop/CP/9ea33e2f-gr11-repo/Project/snake_v0.0/menu_func.c:264]
- # 6 main [C:/Users/Studia/Desktop/CP/9ea33e2f-gr11-repo/Project/snake_v0.0/main.c:15]
- ===========================================================================
- FINAL SUMMARY:
- DUPLICATE ERROR COUNTS:
- SUPPRESSIONS USED:
- ERRORS FOUND:
- 2 unique, 2 total unaddressable access(es)
- 0 unique, 0 total uninitialized access(es)
- 0 unique, 0 total invalid heap argument(s)
- 0 unique, 0 total GDI usage error(s)
- 0 unique, 0 total handle leak(s)
- 0 unique, 0 total warning(s)
- 2 unique, 2 total, 8760 byte(s) of leak(s)
- 0 unique, 0 total, 0 byte(s) of possible leak(s)
- ERRORS IGNORED:
- 28 unique, 125 total, 43396 byte(s) of still-reachable allocation(s)
- (re-run with "-show_reachable" for details)
- Details: C:\Users\Studia\AppData\Roaming\Dr. Memory\DrMemory-snake_v0.exe.9860.000\results.txt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement