04-06-2017, 05:27 PM
(This post was last modified: 04-06-2017, 05:29 PM by Seadragon91.)
Found a much better one https://github.com/DynamoRIO/drmemory/
Shows 1 leak on shutdown on normal run.
Shows 1 leak on shutdown on normal run.
Code:
Error #1: LEAK 120 direct bytes 0x00000215dd6f2220-0x00000215dd6f2298 + 0 indirect bytes
# 0 replace_malloc [d:\drmemory_package\common\alloc_replace.c:2576]
# 1 try_get_proc_address_from_first_available_module [d:\rs1\minkernel\crts\ucrt\src\appcrt\internal\winapi_thunks.cpp:314]
# 2 try_get_proc_address_from_first_available_module [d:\rs1\minkernel\crts\ucrt\src\appcrt\internal\winapi_thunks.cpp:314]
# 3 _guard_check_icall [f:\dd\vctools\crt\vcstartup\src\misc\checkcfg.c:63]
# 4 event_mm_malloc_ [c:\users\lukas\cpp\cuberite\lib\libevent\event.c:3437]
# 5 event_new [c:\users\lukas\cpp\cuberite\lib\libevent\event.c:2157]
# 6 cNetworkSingleton::RunEventLoop [c:\users\lukas\cpp\cuberite\src\ossupport\networksingleton.cpp:171]
# 7 std::_Invoker_functor::_Call<> [c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.10.25017\include\type_traits:1534]
# 8 std::invoke<> [c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.10.25017\include\type_traits:1534]
# 9 std::_LaunchPad<>::_Execute<> [c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.10.25017\include\thr\xthread:240]
#10 std::_LaunchPad<>::_Run [c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.10.25017\include\thr\xthread:247]
#11 std::_LaunchPad<>::_Go [c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.10.25017\include\thr\xthread:232]