TerraME / terrame

TerraME is a programming environment for spatial dynamical modelling
www.terrame.org
GNU Lesser General Public License v3.0
35 stars 13 forks source link

Create a job for memory leak detection #2297

Open avancinirodrigo opened 5 years ago

avancinirodrigo commented 5 years ago

Now, that is possible by Visual Leak Detector (VLD) on windows. The job can be executed on daily tests. Related to #2295 Below, a sample report on terrame -version command:

TerraME - Terra Modeling Environment
Version: 2.0.0-rc9-dev
Location (TME_PATH): D:/terrame/build-cmake/install/bin
Compiled with:
  Lua 5.3.4
  Qt 5.10.1
  Qwt 6.1.2
  TerraLib 5.5.0
Visual Leak Detector read settings from: C:\Program Files (x86)\Visual Leak Detector\vld.ini
Visual Leak Detector Version 2.5.1 installed.
WARNING: Visual Leak Detector detected memory leaks!
---------- Block 21 at 0x0000000062FE8BF0: 8 bytes ----------
  Leak Hash: 0x132188BF, Count: 1, Total 8 bytes
  Call Stack (TID 14764):
    ucrtbased.dll!malloc()
    f:\dd\vctools\crt\vcstartup\src\heap\new_scalar.cpp (35): terrame.exe!operator new() + 0xA bytes
    d:\terrame\git\terrame\src\core\luna.h (48): terrame.exe!Luna<luaMap>::getInstance() + 0x44 bytes
    d:\terrame\git\terrame\src\core\terramelua.cpp (160): terrame.exe!registerClasses() + 0x5 bytes
    d:\terrame\git\terrame\src\core\terramelua.cpp (401): terrame.exe!main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (79): terrame.exe!invoke_main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (288): terrame.exe!__scrt_common_main_seh() + 0x5 bytes
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (331): terrame.exe!__scrt_common_main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_main.cpp (17): terrame.exe!mainCRTStartup()
    KERNEL32.DLL!BaseThreadInitThunk() + 0x22 bytes
    ntdll.dll!RtlUserThreadStart() + 0x34 bytes
  Data:
    40 39 C5 F5    F6 7F 00 00                                   @9...... ........

---------- Block 22 at 0x0000000062FE8C40: 8 bytes ----------
  Leak Hash: 0xF6B6A20C, Count: 1, Total 8 bytes
  Call Stack (TID 14764):
    ucrtbased.dll!malloc()
    f:\dd\vctools\crt\vcstartup\src\heap\new_scalar.cpp (35): terrame.exe!operator new() + 0xA bytes
    d:\terrame\git\terrame\src\core\luna.h (48): terrame.exe!Luna<luaChart>::getInstance() + 0x44 bytes
    d:\terrame\git\terrame\src\core\terramelua.cpp (161): terrame.exe!registerClasses() + 0x5 bytes
    d:\terrame\git\terrame\src\core\terramelua.cpp (401): terrame.exe!main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (79): terrame.exe!invoke_main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (288): terrame.exe!__scrt_common_main_seh() + 0x5 bytes
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (331): terrame.exe!__scrt_common_main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_main.cpp (17): terrame.exe!mainCRTStartup()
    KERNEL32.DLL!BaseThreadInitThunk() + 0x22 bytes
    ntdll.dll!RtlUserThreadStart() + 0x34 bytes
  Data:
    70 39 C5 F5    F6 7F 00 00                                   p9...... ........

---------- Block 23 at 0x0000000062FE8C90: 8 bytes ----------
  Leak Hash: 0x1536BB2A, Count: 1, Total 8 bytes
  Call Stack (TID 14764):
    ucrtbased.dll!malloc()
    f:\dd\vctools\crt\vcstartup\src\heap\new_scalar.cpp (35): terrame.exe!operator new() + 0xA bytes
    d:\terrame\git\terrame\src\core\luna.h (48): terrame.exe!Luna<luaSociety>::getInstance() + 0x44 bytes
    d:\terrame\git\terrame\src\core\terramelua.cpp (162): terrame.exe!registerClasses() + 0x5 bytes
    d:\terrame\git\terrame\src\core\terramelua.cpp (401): terrame.exe!main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (79): terrame.exe!invoke_main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (288): terrame.exe!__scrt_common_main_seh() + 0x5 bytes
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (331): terrame.exe!__scrt_common_main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_main.cpp (17): terrame.exe!mainCRTStartup()
    KERNEL32.DLL!BaseThreadInitThunk() + 0x22 bytes
    ntdll.dll!RtlUserThreadStart() + 0x34 bytes
  Data:
    E0 38 C5 F5    F6 7F 00 00                                   .8...... ........

---------- Block 24 at 0x0000000062FE8CE0: 8 bytes ----------
  Leak Hash: 0xE9D7E394, Count: 1, Total 8 bytes
  Call Stack (TID 14764):
    ucrtbased.dll!malloc()
    f:\dd\vctools\crt\vcstartup\src\heap\new_scalar.cpp (35): terrame.exe!operator new() + 0xA bytes
    d:\terrame\git\terrame\src\core\luna.h (48): terrame.exe!Luna<luaTextScreen>::getInstance() + 0x44 bytes
    d:\terrame\git\terrame\src\core\terramelua.cpp (163): terrame.exe!registerClasses() + 0x5 bytes
    d:\terrame\git\terrame\src\core\terramelua.cpp (401): terrame.exe!main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (79): terrame.exe!invoke_main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (288): terrame.exe!__scrt_common_main_seh() + 0x5 bytes
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (331): terrame.exe!__scrt_common_main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_main.cpp (17): terrame.exe!mainCRTStartup()
    KERNEL32.DLL!BaseThreadInitThunk() + 0x22 bytes
    ntdll.dll!RtlUserThreadStart() + 0x34 bytes
  Data:
    A0 39 C5 F5    F6 7F 00 00                                   .9...... ........

---------- Block 28 at 0x0000000062FE8DD0: 8 bytes ----------
  Leak Hash: 0x04EEB58A, Count: 1, Total 8 bytes
  Call Stack (TID 14764):
    ucrtbased.dll!malloc()
    f:\dd\vctools\crt\vcstartup\src\heap\new_scalar.cpp (35): terrame.exe!operator new() + 0xA bytes
    d:\terrame\git\terrame\src\core\luna.h (48): terrame.exe!Luna<luaUdpSender>::getInstance() + 0x44 bytes
    d:\terrame\git\terrame\src\core\terramelua.cpp (167): terrame.exe!registerClasses() + 0x5 bytes
    d:\terrame\git\terrame\src\core\terramelua.cpp (401): terrame.exe!main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (79): terrame.exe!invoke_main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (288): terrame.exe!__scrt_common_main_seh() + 0x5 bytes
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (331): terrame.exe!__scrt_common_main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_main.cpp (17): terrame.exe!mainCRTStartup()
    KERNEL32.DLL!BaseThreadInitThunk() + 0x22 bytes
    ntdll.dll!RtlUserThreadStart() + 0x34 bytes
  Data:
    60 3A C5 F5    F6 7F 00 00                                   `:...... ........

---------- Block 20 at 0x0000000062FE8FB0: 8 bytes ----------
  Leak Hash: 0x51C8464C, Count: 1, Total 8 bytes
  Call Stack (TID 14764):
    ucrtbased.dll!malloc()
    f:\dd\vctools\crt\vcstartup\src\heap\new_scalar.cpp (35): terrame.exe!operator new() + 0xA bytes
    d:\terrame\git\terrame\src\core\luna.h (48): terrame.exe!Luna<luaVisualArrangement>::getInstance() + 0x44 bytes
    d:\terrame\git\terrame\src\core\terramelua.cpp (159): terrame.exe!registerClasses() + 0x5 bytes
    d:\terrame\git\terrame\src\core\terramelua.cpp (401): terrame.exe!main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (79): terrame.exe!invoke_main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (288): terrame.exe!__scrt_common_main_seh() + 0x5 bytes
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (331): terrame.exe!__scrt_common_main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_main.cpp (17): terrame.exe!mainCRTStartup()
    KERNEL32.DLL!BaseThreadInitThunk() + 0x22 bytes
    ntdll.dll!RtlUserThreadStart() + 0x34 bytes
  Data:
    10 39 C5 F5    F6 7F 00 00                                   .9...... ........

---------- Block 27 at 0x0000000062FE9000: 8 bytes ----------
  Leak Hash: 0xB86580C7, Count: 1, Total 8 bytes
  Call Stack (TID 14764):
    ucrtbased.dll!malloc()
    f:\dd\vctools\crt\vcstartup\src\heap\new_scalar.cpp (35): terrame.exe!operator new() + 0xA bytes
    d:\terrame\git\terrame\src\core\luna.h (48): terrame.exe!Luna<luaTcpSender>::getInstance() + 0x44 bytes
    d:\terrame\git\terrame\src\core\terramelua.cpp (166): terrame.exe!registerClasses() + 0x5 bytes
    d:\terrame\git\terrame\src\core\terramelua.cpp (401): terrame.exe!main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (79): terrame.exe!invoke_main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (288): terrame.exe!__scrt_common_main_seh() + 0x5 bytes
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (331): terrame.exe!__scrt_common_main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_main.cpp (17): terrame.exe!mainCRTStartup()
    KERNEL32.DLL!BaseThreadInitThunk() + 0x22 bytes
    ntdll.dll!RtlUserThreadStart() + 0x34 bytes
  Data:
    30 3A C5 F5    F6 7F 00 00                                   0:...... ........

---------- Block 26 at 0x0000000062FE9230: 8 bytes ----------
  Leak Hash: 0x17B5182A, Count: 1, Total 8 bytes
  Call Stack (TID 14764):
    ucrtbased.dll!malloc()
    f:\dd\vctools\crt\vcstartup\src\heap\new_scalar.cpp (35): terrame.exe!operator new() + 0xA bytes
    d:\terrame\git\terrame\src\core\luna.h (48): terrame.exe!Luna<luaLogFile>::getInstance() + 0x44 bytes
    d:\terrame\git\terrame\src\core\terramelua.cpp (165): terrame.exe!registerClasses() + 0x5 bytes
    d:\terrame\git\terrame\src\core\terramelua.cpp (401): terrame.exe!main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (79): terrame.exe!invoke_main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (288): terrame.exe!__scrt_common_main_seh() + 0x5 bytes
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (331): terrame.exe!__scrt_common_main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_main.cpp (17): terrame.exe!mainCRTStartup()
    KERNEL32.DLL!BaseThreadInitThunk() + 0x22 bytes
    ntdll.dll!RtlUserThreadStart() + 0x34 bytes
  Data:
    00 3A C5 F5    F6 7F 00 00                                   .:...... ........

---------- Block 25 at 0x0000000062FE9730: 8 bytes ----------
  Leak Hash: 0x8B808B29, Count: 1, Total 8 bytes
  Call Stack (TID 14764):
    ucrtbased.dll!malloc()
    f:\dd\vctools\crt\vcstartup\src\heap\new_scalar.cpp (35): terrame.exe!operator new() + 0xA bytes
    d:\terrame\git\terrame\src\core\luna.h (48): terrame.exe!Luna<luaTable>::getInstance() + 0x44 bytes
    d:\terrame\git\terrame\src\core\terramelua.cpp (164): terrame.exe!registerClasses() + 0x5 bytes
    d:\terrame\git\terrame\src\core\terramelua.cpp (401): terrame.exe!main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (79): terrame.exe!invoke_main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (288): terrame.exe!__scrt_common_main_seh() + 0x5 bytes
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (331): terrame.exe!__scrt_common_main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_main.cpp (17): terrame.exe!mainCRTStartup()
    KERNEL32.DLL!BaseThreadInitThunk() + 0x22 bytes
    ntdll.dll!RtlUserThreadStart() + 0x34 bytes
  Data:
    D0 39 C5 F5    F6 7F 00 00                                   .9...... ........

---------- Block 1 at 0x0000000062FEE060: 8 bytes ----------
  Leak Hash: 0x62292ABC, Count: 1, Total 8 bytes
  Call Stack (TID 14764):
    ucrtbased.dll!malloc()
    f:\dd\vctools\crt\vcstartup\src\heap\new_scalar.cpp (35): terrame.exe!operator new() + 0xA bytes
    d:\terrame\git\terrame\src\core\luafacade.cpp (38): terrame.exe!terrame::lua::LuaFacade::getInstance() + 0xA bytes
    d:\terrame\git\terrame\src\core\terramelua.cpp (354): terrame.exe!main() + 0x5 bytes
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (79): terrame.exe!invoke_main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (288): terrame.exe!__scrt_common_main_seh() + 0x5 bytes
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (331): terrame.exe!__scrt_common_main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_main.cpp (17): terrame.exe!mainCRTStartup()
    KERNEL32.DLL!BaseThreadInitThunk() + 0x22 bytes
    ntdll.dll!RtlUserThreadStart() + 0x34 bytes
  Data:
    A0 02 C2 F5    F6 7F 00 00                                   ........ ........

---------- Block 2 at 0x0000000062FEE0B0: 16 bytes ----------
  Leak Hash: 0xA103F0D9, Count: 1, Total 16 bytes
  Call Stack (TID 14764):
    ucrtbased.dll!malloc()
    f:\dd\vctools\crt\vcstartup\src\heap\new_scalar.cpp (35): terrame.exe!operator new() + 0xA bytes
    c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.15.26726\include\xmemory0 (53): terrame.exe!std::_Default_allocate_traits::_Allocate()
    c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.15.26726\include\xmemory0 (190): terrame.exe!std::_Allocate<16,std::_Default_allocate_traits,0>() + 0xA bytes
    c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.15.26726\include\xmemory0 (998): terrame.exe!std::allocator<std::_Container_proxy>::allocate()
    c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.15.26726\include\xstring (1991): terrame.exe!std::_String_alloc<std::_String_base_types<char,std::allocator<char> > >::_Alloc_proxy() + 0xF bytes
    c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.15.26726\include\xstring (1935): terrame.exe!std::_String_alloc<std::_String_base_types<char,std::allocator<char> > >::_String_alloc<std::_String_base_types<char,std::allocator<char> > >() + 0xA bytes
    c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.15.26726\include\xstring (2182): terrame.exe!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::basic_string<char,std::char_traits<char>,std::allocator<char> >() + 0xA bytes
    d:\terrame\git\terrame\src\core\terramelua.cpp (359): terrame.exe!main() + 0x1A bytes
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (79): terrame.exe!invoke_main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (288): terrame.exe!__scrt_common_main_seh() + 0x5 bytes
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (331): terrame.exe!__scrt_common_main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_main.cpp (17): terrame.exe!mainCRTStartup()
    KERNEL32.DLL!BaseThreadInitThunk() + 0x22 bytes
    ntdll.dll!RtlUserThreadStart() + 0x34 bytes
  Data:
    88 F7 EE 62    8D 00 00 00    00 00 00 00    00 00 00 00     ...b.... ........

---------- Block 7 at 0x0000000062FF3130: 8 bytes ----------
  Leak Hash: 0xDF7CFA3C, Count: 1, Total 8 bytes
  Call Stack (TID 14764):
    ucrtbased.dll!malloc()
    f:\dd\vctools\crt\vcstartup\src\heap\new_scalar.cpp (35): terrame.exe!operator new() + 0xA bytes
    d:\terrame\git\terrame\src\core\luna.h (48): terrame.exe!Luna<luaCell>::getInstance() + 0x44 bytes
    d:\terrame\git\terrame\src\core\terramelua.cpp (137): terrame.exe!registerClasses() + 0x5 bytes
    d:\terrame\git\terrame\src\core\terramelua.cpp (401): terrame.exe!main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (79): terrame.exe!invoke_main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (288): terrame.exe!__scrt_common_main_seh() + 0x5 bytes
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (331): terrame.exe!__scrt_common_main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_main.cpp (17): terrame.exe!mainCRTStartup()
    KERNEL32.DLL!BaseThreadInitThunk() + 0x22 bytes
    ntdll.dll!RtlUserThreadStart() + 0x34 bytes
  Data:
    08 DC C3 F5    F6 7F 00 00                                   ........ ........

---------- Block 11 at 0x0000000062FF3220: 8 bytes ----------
  Leak Hash: 0xF4DDD7B8, Count: 1, Total 8 bytes
  Call Stack (TID 14764):
    ucrtbased.dll!malloc()
    f:\dd\vctools\crt\vcstartup\src\heap\new_scalar.cpp (35): terrame.exe!operator new() + 0xA bytes
    d:\terrame\git\terrame\src\core\luna.h (48): terrame.exe!Luna<luaJumpCondition>::getInstance() + 0x44 bytes
    d:\terrame\git\terrame\src\core\terramelua.cpp (147): terrame.exe!registerClasses() + 0x5 bytes
    d:\terrame\git\terrame\src\core\terramelua.cpp (401): terrame.exe!main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (79): terrame.exe!invoke_main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (288): terrame.exe!__scrt_common_main_seh() + 0x5 bytes
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (331): terrame.exe!__scrt_common_main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_main.cpp (17): terrame.exe!mainCRTStartup()
    KERNEL32.DLL!BaseThreadInitThunk() + 0x22 bytes
    ntdll.dll!RtlUserThreadStart() + 0x34 bytes
  Data:
    B8 37 C5 F5    F6 7F 00 00                                   .7...... ........

---------- Block 12 at 0x0000000062FF3270: 8 bytes ----------
  Leak Hash: 0x8CA5ECDB, Count: 1, Total 8 bytes
  Call Stack (TID 14764):
    ucrtbased.dll!malloc()
    f:\dd\vctools\crt\vcstartup\src\heap\new_scalar.cpp (35): terrame.exe!operator new() + 0xA bytes
    d:\terrame\git\terrame\src\core\luna.h (48): terrame.exe!Luna<luaControlMode>::getInstance() + 0x44 bytes
    d:\terrame\git\terrame\src\core\terramelua.cpp (148): terrame.exe!registerClasses() + 0x5 bytes
    d:\terrame\git\terrame\src\core\terramelua.cpp (401): terrame.exe!main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (79): terrame.exe!invoke_main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (288): terrame.exe!__scrt_common_main_seh() + 0x5 bytes
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (331): terrame.exe!__scrt_common_main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_main.cpp (17): terrame.exe!mainCRTStartup()
    KERNEL32.DLL!BaseThreadInitThunk() + 0x22 bytes
    ntdll.dll!RtlUserThreadStart() + 0x34 bytes
  Data:
    70 DD C3 F5    F6 7F 00 00                                   p....... ........

---------- Block 13 at 0x0000000062FF32C0: 8 bytes ----------
  Leak Hash: 0xDE3CB606, Count: 1, Total 8 bytes
  Call Stack (TID 14764):
    ucrtbased.dll!malloc()
    f:\dd\vctools\crt\vcstartup\src\heap\new_scalar.cpp (35): terrame.exe!operator new() + 0xA bytes
    d:\terrame\git\terrame\src\core\luna.h (48): terrame.exe!Luna<luaLocalAgent>::getInstance() + 0x44 bytes
    d:\terrame\git\terrame\src\core\terramelua.cpp (149): terrame.exe!registerClasses() + 0x5 bytes
    d:\terrame\git\terrame\src\core\terramelua.cpp (401): terrame.exe!main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (79): terrame.exe!invoke_main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (288): terrame.exe!__scrt_common_main_seh() + 0x5 bytes
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (331): terrame.exe!__scrt_common_main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_main.cpp (17): terrame.exe!mainCRTStartup()
    KERNEL32.DLL!BaseThreadInitThunk() + 0x22 bytes
    ntdll.dll!RtlUserThreadStart() + 0x34 bytes
  Data:
    78 4F C3 F5    F6 7F 00 00                                   xO...... ........

---------- Block 8 at 0x0000000062FF3310: 8 bytes ----------
  Leak Hash: 0x097D5E86, Count: 1, Total 8 bytes
  Call Stack (TID 14764):
    ucrtbased.dll!malloc()
    f:\dd\vctools\crt\vcstartup\src\heap\new_scalar.cpp (35): terrame.exe!operator new() + 0xA bytes
    d:\terrame\git\terrame\src\core\luna.h (48): terrame.exe!Luna<luaNeighborhood>::getInstance() + 0x44 bytes
    d:\terrame\git\terrame\src\core\terramelua.cpp (140): terrame.exe!registerClasses() + 0x5 bytes
    d:\terrame\git\terrame\src\core\terramelua.cpp (401): terrame.exe!main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (79): terrame.exe!invoke_main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (288): terrame.exe!__scrt_common_main_seh() + 0x5 bytes
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (331): terrame.exe!__scrt_common_main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_main.cpp (17): terrame.exe!mainCRTStartup()
    KERNEL32.DLL!BaseThreadInitThunk() + 0x22 bytes
    ntdll.dll!RtlUserThreadStart() + 0x34 bytes
  Data:
    A0 36 C5 F5    F6 7F 00 00                                   .6...... ........

---------- Block 16 at 0x0000000062FF3360: 8 bytes ----------
  Leak Hash: 0x922FD18A, Count: 1, Total 8 bytes
  Call Stack (TID 14764):
    ucrtbased.dll!malloc()
    f:\dd\vctools\crt\vcstartup\src\heap\new_scalar.cpp (35): terrame.exe!operator new() + 0xA bytes
    d:\terrame\git\terrame\src\core\luna.h (48): terrame.exe!Luna<luaEvent>::getInstance() + 0x44 bytes
    d:\terrame\git\terrame\src\core\terramelua.cpp (154): terrame.exe!registerClasses() + 0x5 bytes
    d:\terrame\git\terrame\src\core\terramelua.cpp (401): terrame.exe!main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (79): terrame.exe!invoke_main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (288): terrame.exe!__scrt_common_main_seh() + 0x5 bytes
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (331): terrame.exe!__scrt_common_main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_main.cpp (17): terrame.exe!mainCRTStartup()
    KERNEL32.DLL!BaseThreadInitThunk() + 0x22 bytes
    ntdll.dll!RtlUserThreadStart() + 0x34 bytes
  Data:
    68 DC C3 F5    F6 7F 00 00                                   h....... ........

---------- Block 17 at 0x0000000062FF3400: 8 bytes ----------
  Leak Hash: 0x77E2DDE3, Count: 1, Total 8 bytes
  Call Stack (TID 14764):
    ucrtbased.dll!malloc()
    f:\dd\vctools\crt\vcstartup\src\heap\new_scalar.cpp (35): terrame.exe!operator new() + 0xA bytes
    d:\terrame\git\terrame\src\core\luna.h (48): terrame.exe!Luna<luaMessage>::getInstance() + 0x44 bytes
    d:\terrame\git\terrame\src\core\terramelua.cpp (155): terrame.exe!registerClasses() + 0x5 bytes
    d:\terrame\git\terrame\src\core\terramelua.cpp (401): terrame.exe!main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (79): terrame.exe!invoke_main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (288): terrame.exe!__scrt_common_main_seh() + 0x5 bytes
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (331): terrame.exe!__scrt_common_main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_main.cpp (17): terrame.exe!mainCRTStartup()
    KERNEL32.DLL!BaseThreadInitThunk() + 0x22 bytes
    ntdll.dll!RtlUserThreadStart() + 0x34 bytes
  Data:
    B0 A2 C4 F5    F6 7F 00 00                                   ........ ........

---------- Block 18 at 0x0000000062FF3450: 8 bytes ----------
  Leak Hash: 0x992E6353, Count: 1, Total 8 bytes
  Call Stack (TID 14764):
    ucrtbased.dll!malloc()
    f:\dd\vctools\crt\vcstartup\src\heap\new_scalar.cpp (35): terrame.exe!operator new() + 0xA bytes
    d:\terrame\git\terrame\src\core\luna.h (48): terrame.exe!Luna<luaEnvironment>::getInstance() + 0x44 bytes
    d:\terrame\git\terrame\src\core\terramelua.cpp (157): terrame.exe!registerClasses() + 0x5 bytes
    d:\terrame\git\terrame\src\core\terramelua.cpp (401): terrame.exe!main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (79): terrame.exe!invoke_main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (288): terrame.exe!__scrt_common_main_seh() + 0x5 bytes
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (331): terrame.exe!__scrt_common_main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_main.cpp (17): terrame.exe!mainCRTStartup()
    KERNEL32.DLL!BaseThreadInitThunk() + 0x22 bytes
    ntdll.dll!RtlUserThreadStart() + 0x34 bytes
  Data:
    10 4E C3 F5    F6 7F 00 00                                   .N...... ........

---------- Block 19 at 0x0000000062FF34A0: 8 bytes ----------
  Leak Hash: 0x66EE47EA, Count: 1, Total 8 bytes
  Call Stack (TID 14764):
    ucrtbased.dll!malloc()
    f:\dd\vctools\crt\vcstartup\src\heap\new_scalar.cpp (35): terrame.exe!operator new() + 0xA bytes
    d:\terrame\git\terrame\src\core\luna.h (48): terrame.exe!Luna<luaTrajectory>::getInstance() + 0x44 bytes
    d:\terrame\git\terrame\src\core\terramelua.cpp (158): terrame.exe!registerClasses() + 0x5 bytes
    d:\terrame\git\terrame\src\core\terramelua.cpp (401): terrame.exe!main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (79): terrame.exe!invoke_main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (288): terrame.exe!__scrt_common_main_seh() + 0x5 bytes
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (331): terrame.exe!__scrt_common_main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_main.cpp (17): terrame.exe!mainCRTStartup()
    KERNEL32.DLL!BaseThreadInitThunk() + 0x22 bytes
    ntdll.dll!RtlUserThreadStart() + 0x34 bytes
  Data:
    38 DC C3 F5    F6 7F 00 00                                   8....... ........

---------- Block 14 at 0x0000000062FF35E0: 8 bytes ----------
  Leak Hash: 0xBC894D86, Count: 1, Total 8 bytes
  Call Stack (TID 14764):
    ucrtbased.dll!malloc()
    f:\dd\vctools\crt\vcstartup\src\heap\new_scalar.cpp (35): terrame.exe!operator new() + 0xA bytes
    d:\terrame\git\terrame\src\core\luna.h (48): terrame.exe!Luna<luaGlobalAgent>::getInstance() + 0x44 bytes
    d:\terrame\git\terrame\src\core\terramelua.cpp (151): terrame.exe!registerClasses() + 0x5 bytes
    d:\terrame\git\terrame\src\core\terramelua.cpp (401): terrame.exe!main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (79): terrame.exe!invoke_main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (288): terrame.exe!__scrt_common_main_seh() + 0x5 bytes
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (331): terrame.exe!__scrt_common_main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_main.cpp (17): terrame.exe!mainCRTStartup()
    KERNEL32.DLL!BaseThreadInitThunk() + 0x22 bytes
    ntdll.dll!RtlUserThreadStart() + 0x34 bytes
  Data:
    C0 4F C3 F5    F6 7F 00 00                                   .O...... ........

---------- Block 6 at 0x0000000062FF3C20: 8 bytes ----------
  Leak Hash: 0xACC2623B, Count: 1, Total 8 bytes
  Call Stack (TID 14764):
    ucrtbased.dll!malloc()
    f:\dd\vctools\crt\vcstartup\src\heap\new_scalar.cpp (35): terrame.exe!operator new() + 0xA bytes
    d:\terrame\git\terrame\src\core\luna.h (48): terrame.exe!Luna<luaCellIndex>::getInstance() + 0x44 bytes
    d:\terrame\git\terrame\src\core\terramelua.cpp (134): terrame.exe!registerClasses() + 0x5 bytes
    d:\terrame\git\terrame\src\core\terramelua.cpp (401): terrame.exe!main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (79): terrame.exe!invoke_main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (288): terrame.exe!__scrt_common_main_seh() + 0x5 bytes
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (331): terrame.exe!__scrt_common_main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_main.cpp (17): terrame.exe!mainCRTStartup()
    KERNEL32.DLL!BaseThreadInitThunk() + 0x22 bytes
    ntdll.dll!RtlUserThreadStart() + 0x34 bytes
  Data:
    80 36 C5 F5    F6 7F 00 00                                   .6...... ........

---------- Block 9 at 0x0000000062FF3E50: 8 bytes ----------
  Leak Hash: 0x9C7FD5BC, Count: 1, Total 8 bytes
  Call Stack (TID 14764):
    ucrtbased.dll!malloc()
    f:\dd\vctools\crt\vcstartup\src\heap\new_scalar.cpp (35): terrame.exe!operator new() + 0xA bytes
    d:\terrame\git\terrame\src\core\luna.h (48): terrame.exe!Luna<luaCellularSpace>::getInstance() + 0x44 bytes
    d:\terrame\git\terrame\src\core\terramelua.cpp (143): terrame.exe!registerClasses() + 0x5 bytes
    d:\terrame\git\terrame\src\core\terramelua.cpp (401): terrame.exe!main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (79): terrame.exe!invoke_main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (288): terrame.exe!__scrt_common_main_seh() + 0x5 bytes
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (331): terrame.exe!__scrt_common_main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_main.cpp (17): terrame.exe!mainCRTStartup()
    KERNEL32.DLL!BaseThreadInitThunk() + 0x22 bytes
    ntdll.dll!RtlUserThreadStart() + 0x34 bytes
  Data:
    90 4F C3 F5    F6 7F 00 00                                   .O...... ........

---------- Block 10 at 0x0000000062FF3EA0: 8 bytes ----------
  Leak Hash: 0x0505C943, Count: 1, Total 8 bytes
  Call Stack (TID 14764):
    ucrtbased.dll!malloc()
    f:\dd\vctools\crt\vcstartup\src\heap\new_scalar.cpp (35): terrame.exe!operator new() + 0xA bytes
    d:\terrame\git\terrame\src\core\luna.h (48): terrame.exe!Luna<luaFlowCondition>::getInstance() + 0x44 bytes
    d:\terrame\git\terrame\src\core\terramelua.cpp (146): terrame.exe!registerClasses() + 0x5 bytes
    d:\terrame\git\terrame\src\core\terramelua.cpp (401): terrame.exe!main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (79): terrame.exe!invoke_main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (288): terrame.exe!__scrt_common_main_seh() + 0x5 bytes
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (331): terrame.exe!__scrt_common_main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_main.cpp (17): terrame.exe!mainCRTStartup()
    KERNEL32.DLL!BaseThreadInitThunk() + 0x22 bytes
    ntdll.dll!RtlUserThreadStart() + 0x34 bytes
  Data:
    30 38 C5 F5    F6 7F 00 00                                   08...... ........

---------- Block 15 at 0x0000000062FF3EF0: 8 bytes ----------
  Leak Hash: 0xF743E7D6, Count: 1, Total 8 bytes
  Call Stack (TID 14764):
    ucrtbased.dll!malloc()
    f:\dd\vctools\crt\vcstartup\src\heap\new_scalar.cpp (35): terrame.exe!operator new() + 0xA bytes
    d:\terrame\git\terrame\src\core\luna.h (48): terrame.exe!Luna<luaTimer>::getInstance() + 0x44 bytes
    d:\terrame\git\terrame\src\core\terramelua.cpp (153): terrame.exe!registerClasses() + 0x5 bytes
    d:\terrame\git\terrame\src\core\terramelua.cpp (401): terrame.exe!main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (79): terrame.exe!invoke_main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (288): terrame.exe!__scrt_common_main_seh() + 0x5 bytes
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (331): terrame.exe!__scrt_common_main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_main.cpp (17): terrame.exe!mainCRTStartup()
    KERNEL32.DLL!BaseThreadInitThunk() + 0x22 bytes
    ntdll.dll!RtlUserThreadStart() + 0x34 bytes
  Data:
    60 4F C3 F5    F6 7F 00 00                                   `O...... ........

---------- Block 4 at 0x0000000063001B70: 1072 bytes ----------
  Leak Hash: 0x820F9A84, Count: 1, Total 1072 bytes
  Call Stack (TID 14764):
    ucrtbased.dll!malloc()
    f:\dd\vctools\crt\vcstartup\src\heap\new_scalar.cpp (35): terrame.exe!operator new() + 0xA bytes
    c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.15.26726\include\xmemory0 (53): terrame.exe!std::_Default_allocate_traits::_Allocate()
    c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.15.26726\include\xmemory0 (190): terrame.exe!std::_Allocate<16,std::_Default_allocate_traits,0>() + 0xA bytes
    c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.15.26726\include\xmemory0 (998): terrame.exe!std::allocator<char>::allocate()
    c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.15.26726\include\xstring (3932): terrame.exe!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Reallocate_grow_by<<lambda_65e615be2a453ca0576c979606f46740>,char const *,unsigned __int64>() + 0x15 bytes
    c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.15.26726\include\xstring (2588): terrame.exe!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::append()
    c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.15.26726\include\xstring (2593): terrame.exe!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::append()
    d:\terrame\git\terrame\src\core\terramelua.cpp (362): terrame.exe!main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (79): terrame.exe!invoke_main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (288): terrame.exe!__scrt_common_main_seh() + 0x5 bytes
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (331): terrame.exe!__scrt_common_main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_main.cpp (17): terrame.exe!mainCRTStartup()
    KERNEL32.DLL!BaseThreadInitThunk() + 0x22 bytes
    ntdll.dll!RtlUserThreadStart() + 0x34 bytes
  Data:
    44 3A 5C 74    65 72 72 61    6D 65 5C 62    75 69 6C 64     D:\terra me\build
    2D 63 6D 61    6B 65 5C 69    6E 73 74 61    6C 6C 5C 62     -cmake\i nstall\b
    69 6E 3B 43    3A 5C 50 72    6F 67 72 61    6D 20 46 69     in;C:\Pr ogram.Fi
    6C 65 73 20    28 78 38 36    29 5C 43 6F    6D 6D 6F 6E     les.(x86 )\Common
    20 46 69 6C    65 73 5C 4F    72 61 63 6C    65 5C 4A 61     .Files\O racle\Ja
    76 61 5C 6A    61 76 61 70    61 74 68 3B    43 3A 5C 50     va\javap ath;C:\P
    72 6F 67 72    61 6D 20 46    69 6C 65 73    5C 50 79 74     rogram.F iles\Pyt
    68 6F 6E 33    35 5C 53 63    72 69 70 74    73 5C 3B 43     hon35\Sc ripts\;C
    3A 5C 50 72    6F 67 72 61    6D 20 46 69    6C 65 73 5C     :\Progra m.Files\
    50 79 74 68    6F 6E 33 35    5C 3B 43 3A    5C 50 72 6F     Python35 \;C:\Pro
    67 72 61 6D    44 61 74 61    5C 4F 72 61    63 6C 65 5C     gramData \Oracle\
    4A 61 76 61    5C 6A 61 76    61 70 61 74    68 3B 43 3A     Java\jav apath;C:
    5C 50 72 6F    67 72 61 6D    20 46 69 6C    65 73 20 28     \Program .Files.(
    78 38 36 29    5C 49 6E 74    65 6C 5C 69    43 4C 53 20     x86)\Int el\iCLS.
    43 6C 69 65    6E 74 5C 3B    43 3A 5C 50    72 6F 67 72     Client\; C:\Progr
    61 6D 20 46    69 6C 65 73    5C 49 6E 74    65 6C 5C 69     am.Files \Intel\i

---------- Block 5 at 0x0000000063006C50: 16 bytes ----------
  Leak Hash: 0x17390F8A, Count: 1, Total 16 bytes
  Call Stack (TID 14764):
    ucrtbased.dll!malloc()
    f:\dd\vctools\crt\vcstartup\src\heap\new_scalar.cpp (35): terrame.exe!operator new() + 0xA bytes
    d:\terrame\git\terrame\src\core\terramelua.cpp (365): terrame.exe!main() + 0xA bytes
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (79): terrame.exe!invoke_main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (288): terrame.exe!__scrt_common_main_seh() + 0x5 bytes
    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (331): terrame.exe!__scrt_common_main()
    f:\dd\vctools\crt\vcstartup\src\startup\exe_main.cpp (17): terrame.exe!mainCRTStartup()
    KERNEL32.DLL!BaseThreadInitThunk() + 0x22 bytes
    ntdll.dll!RtlUserThreadStart() + 0x34 bytes
  Data:
    78 34 C5 F5    F6 7F 00 00    80 D1 03 63    8D 00 00 00     x4...... ...c....

Visual Leak Detector detected 27 memory leaks (2700 bytes).
Largest number used: 2836 bytes.
Total allocations: 3004 bytes.
Visual Leak Detector is now exiting.