Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.23 KB | None | 0 0
  1. Dr. Memory version 2.1.0 build 1 built on Mar 18 2019 00:02:08
  2. Windows version: WinVer=61;Rel=;Build=7601;Edition=Ultimate
  3. Dr. Memory results for pid 9860: "snake_v0.exe"
  4. Application cmdline: "C:\Users\Studia\Desktop\CP\9ea33e2f-gr11-repo\Project\snake_v0.0\bin\Debug\snake_v0.exe"
  5. Recorded 117 suppression(s) from default C:\Program Files (x86)\Dr. Memory\bin\suppress-default.txt
  6.  
  7. Error #1: UNADDRESSABLE ACCESS beyond heap bounds: reading 0x029321fc-0x02932200 4 byte(s)
  8. # 0 pdcurses.dll!wnoutrefresh +0x5e (0x10005a8c <pdcurses.dll+0x5a8c>)
  9. # 1 pdcurses.dll!wrefresh +0x27 (0x10005da8 <pdcurses.dll+0x5da8>)
  10. # 2 generate_food [C:/Users/Studia/Desktop/CP/9ea33e2f-gr11-repo/Project/snake_v0.0/map_func.c:57]
  11. # 3 game [C:/Users/Studia/Desktop/CP/9ea33e2f-gr11-repo/Project/snake_v0.0/menu_func.c:35]
  12. # 4 menu [C:/Users/Studia/Desktop/CP/9ea33e2f-gr11-repo/Project/snake_v0.0/menu_func.c:264]
  13. # 5 main [C:/Users/Studia/Desktop/CP/9ea33e2f-gr11-repo/Project/snake_v0.0/main.c:15]
  14. Note: @0:00:01.341 in thread 10740
  15. Note: next higher malloc: 0x02932200-0x02932264
  16. Note: prev lower malloc: 0x02932190-0x029321e0
  17. Note: instruction: mov (%edi,%ebx) -> %edi
  18.  
  19. Error #2: UNADDRESSABLE ACCESS: reading 0x00000000-0x00000004 4 byte(s)
  20. # 0 pdcurses.dll!wnoutrefresh +0x88 (0x10005ab6 <pdcurses.dll+0x5ab6>)
  21. # 1 pdcurses.dll!wrefresh +0x27 (0x10005da8 <pdcurses.dll+0x5da8>)
  22. # 2 generate_food [C:/Users/Studia/Desktop/CP/9ea33e2f-gr11-repo/Project/snake_v0.0/map_func.c:57]
  23. # 3 game [C:/Users/Studia/Desktop/CP/9ea33e2f-gr11-repo/Project/snake_v0.0/menu_func.c:35]
  24. # 4 menu [C:/Users/Studia/Desktop/CP/9ea33e2f-gr11-repo/Project/snake_v0.0/menu_func.c:264]
  25. # 5 main [C:/Users/Studia/Desktop/CP/9ea33e2f-gr11-repo/Project/snake_v0.0/main.c:15]
  26. Note: @0:00:01.342 in thread 10740
  27. Note: instruction: cmp %ecx (%edx,%eax)
  28.  
  29. Error #3: LEAK 80 direct bytes 0x02938ec8-0x02938f18 + 300 indirect bytes
  30. # 0 replace_RtlAllocateHeap [d:\drmemory_package\common\alloc_replace.c:3771]
  31. # 1 pdcurses.dll!PDC_set_blink +0x1004 (0x1000a222 <pdcurses.dll+0xa222>)
  32. # 2 pdcurses.dll!wunctrl +0x94 (0x100075bb <pdcurses.dll+0x75bb>)
  33. # 3 pdcurses.dll!newwin +0x48 (0x1000774f <pdcurses.dll+0x774f>)
  34. # 4 menu [C:/Users/Studia/Desktop/CP/9ea33e2f-gr11-repo/Project/snake_v0.0/menu_func.c:221]
  35. # 5 main [C:/Users/Studia/Desktop/CP/9ea33e2f-gr11-repo/Project/snake_v0.0/main.c:15]
  36.  
  37. Error #4: LEAK 80 direct bytes 0x02939170-0x029391c0 + 8300 indirect bytes
  38. # 0 replace_RtlAllocateHeap [d:\drmemory_package\common\alloc_replace.c:3771]
  39. # 1 pdcurses.dll!PDC_set_blink +0x1004 (0x1000a222 <pdcurses.dll+0xa222>)
  40. # 2 pdcurses.dll!wunctrl +0x94 (0x100075bb <pdcurses.dll+0x75bb>)
  41. # 3 pdcurses.dll!newwin +0x48 (0x1000774f <pdcurses.dll+0x774f>)
  42. # 4 game [C:/Users/Studia/Desktop/CP/9ea33e2f-gr11-repo/Project/snake_v0.0/menu_func.c:18]
  43. # 5 menu [C:/Users/Studia/Desktop/CP/9ea33e2f-gr11-repo/Project/snake_v0.0/menu_func.c:264]
  44. # 6 main [C:/Users/Studia/Desktop/CP/9ea33e2f-gr11-repo/Project/snake_v0.0/main.c:15]
  45.  
  46. ===========================================================================
  47. FINAL SUMMARY:
  48.  
  49. DUPLICATE ERROR COUNTS:
  50.  
  51. SUPPRESSIONS USED:
  52.  
  53. ERRORS FOUND:
  54. 2 unique, 2 total unaddressable access(es)
  55. 0 unique, 0 total uninitialized access(es)
  56. 0 unique, 0 total invalid heap argument(s)
  57. 0 unique, 0 total GDI usage error(s)
  58. 0 unique, 0 total handle leak(s)
  59. 0 unique, 0 total warning(s)
  60. 2 unique, 2 total, 8760 byte(s) of leak(s)
  61. 0 unique, 0 total, 0 byte(s) of possible leak(s)
  62. ERRORS IGNORED:
  63. 28 unique, 125 total, 43396 byte(s) of still-reachable allocation(s)
  64. (re-run with "-show_reachable" for details)
  65. 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