[ITK-users] ITK Ver 4.5 memory leak in HDF5 library
tejas9090
tejasm at gmail.com
Wed Mar 4 14:40:33 EST 2015
Hi,
Apologies if this topic has been posted before but I could not find an
answer for this.
I am using Visual Leak Detector with my VC++/VS2012 code which uses ITK 4.5.
The output shows some memory leaks at program exit in the HDF5 library.
Sample memory leak output from VLD shown below.
Does anyone know if this is a genuine leak and if there is way to fix this?
Thank you in advance,
TJ
Visual Visual Leak Detector Version 2.4RC2 installed.
Outputting the report to the debugger and to
C:\MyProject\Algorithm\AlgorithmBuild\Driver\memory_leak_report.txt
WARNING: Visual Leak Detector detected memory leaks!
---------- Block 1035319 at 0x0069C2C0: 8 bytes ----------
Leak Hash: 0x83CD32EA, Count: 1, Total 8 bytes
Call Stack (TID 296):
f:\dd\vctools\crt_bld\self_x86\crt\src\dbgmalloc.c (55):
MSVCR110D.dll!malloc
C:\MyProject\tp\itk4_5\modules\thirdparty\hdf5\src\itkhdf5\src\h5fl.c
(241): (Module name unavailable)!H5FL_reg_init + 0xA bytes
C:\MyProject\tp\itk4_5\modules\thirdparty\hdf5\src\itkhdf5\src\h5fl.c
(382): (Module name unavailable)!H5FL_reg_malloc + 0x9 bytes
C:\MyProject\tp\itk4_5\modules\thirdparty\hdf5\src\itkhdf5\src\h5fl.c
(458): (Module name unavailable)!H5FL_reg_calloc + 0x9 bytes
C:\MyProject\tp\itk4_5\modules\thirdparty\hdf5\src\itkhdf5\src\h5e.c
(464): (Module name unavailable)!H5E_register_class + 0xA bytes
C:\MyProject\tp\itk4_5\modules\thirdparty\hdf5\src\itkhdf5\src\h5e.c
(238): (Module name unavailable)!H5E_init_interface + 0x16 bytes
C:\MyProject\tp\itk4_5\modules\thirdparty\hdf5\src\itkhdf5\src\h5e.c
(147): (Module name unavailable)!H5E_init + 0x1F bytes
C:\MyProject\tp\itk4_5\modules\thirdparty\hdf5\src\itkhdf5\src\h5.c
(170): (Module name unavailable)!H5_init_library + 0x5 bytes
C:\MyProject\tp\itk4_5\modules\thirdparty\hdf5\src\itkhdf5\src\h5i.c
(1131): (Module name unavailable)!H5Iget_type + 0x1F bytes
C:\MyProject\tp\itk4_5\modules\thirdparty\hdf5\src\itkhdf5\c++\src\h5idcomponent.cpp
(317): (Module name unavailable)!H5::IdComponent::p_valid_id + 0x9 bytes
C:\MyProject\tp\itk4_5\modules\thirdparty\hdf5\src\itkhdf5\c++\src\h5dataspace.cpp
(608): (Module name unavailable)!H5::DataSpace::close + 0xC bytes
C:\MyProject\tp\itk4_5\modules\thirdparty\hdf5\src\itkhdf5\c++\src\h5dataspace.cpp
(633): (Module name unavailable)!H5::DataSpace::~DataSpace + 0x8 bytes
0x108DE98D (File and line number not available): (Module name
unavailable)!`dynamic atexit destructor for 'H5::DataSpace::ALL'' + 0xD
bytes
f:\dd\vctools\crt_bld\self_x86\crt\src\crtdll.c (416): (Module name
unavailable)!_CRT_INIT
f:\dd\vctools\crt_bld\self_x86\crt\src\crtdll.c (522): (Module name
unavailable)!__DllMainCRTStartup + 0x11 bytes
f:\dd\vctools\crt_bld\self_x86\crt\src\crtdll.c (472): (Module name
unavailable)!_DllMainCRTStartup + 0x11 bytes
0x772999A0 (File and line number not available):
ntdll.dll!RtlQueryEnvironmentVariable + 0x241 bytes
0x772BAD1E (File and line number not available):
ntdll.dll!LdrRemoveLoadAsDataTable + 0x5D5 bytes
0x772A12D1 (File and line number not available): ntdll.dll!LdrUnloadDll
+ 0x4A bytes
0x76CF2D2C (File and line number not available):
KERNELBASE.dll!FreeLibrary + 0x15 bytes
C:\MyProject\Algorithm\driver\loadccmdll_w.cpp (112):
Driver.exe!ATMAlgo_W::FreeDll + 0x12 bytes
C:\MyProject\Algorithm\driver\loadruncc_w.cpp (28): Driver.exe!Clean
C:\MyProject\Algorithm\driver\main.cpp (207): Driver.exe!main
f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c (536):
Driver.exe!__tmainCRTStartup + 0x19 bytes
f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c (377):
Driver.exe!mainCRTStartup
0x764A338A (File and line number not available):
kernel32.dll!BaseThreadInitThunk + 0x12 bytes
0x77299F72 (File and line number not available):
ntdll.dll!RtlInitializeExceptionChain + 0x63 bytes
0x77299F45 (File and line number not available):
ntdll.dll!RtlInitializeExceptionChain + 0x36 bytes
Data:
C0 CA BF 10 00 00 00 00
--
View this message in context: http://itk-insight-users.2283740.n2.nabble.com/ITK-Ver-4-5-memory-leak-in-HDF5-library-tp7586961.html
Sent from the ITK Insight Users mailing list archive at Nabble.com.
More information about the Insight-users
mailing list