<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hello,<div><br></div><div>Those all look like HDF5 related issues.</div><div><br></div><div>Do you have a small test which demonstrates this leak?</div><div><br></div><div>It may be just that we have an older/buggy version of HDF5. There is the option to build against a system HDF5, if you can compile a newer version.</div><div><br></div><div>Brad</div><div><br><div><div>On Feb 13, 2014, at 1:35 AM, Mikael Brudfors <<a href="mailto:brudfors@gmail.com">brudfors@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div lang="SV" link="blue" vlink="purple" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div class="WordSection1" style="page: WordSection1;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="">Hello,<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span style=""> </span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US" style="">I have built an application using ITK for reading Ultrasound volumes. When I use Visual Leak Detector on it, through Visual Studio 2010, it shows massive memory leaks and a huge output. Looking at the output the message below repeats for different blocks. I don't feel totally at home with construction/destruction of objects in ITK yet and I am thinking maybe it is something wrong with Visual Leak Detector. Maybe someone can clarify by looking at the below text if I have a memory leakage or not.<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US" style=""> </span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US" style="">Thank you,<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US" style=""> </span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US" style="">Mikael<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US" style=""> </span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas;">---------- Block 245701 at 0x0000000007B14ED0: 88 bytes ----------<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas;">  Call Stack:<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas;">    c:\builds\src\insighttoolkit-4.5.0\modules\thirdparty\hdf5\src\itkhdf5\src\h5fl.c (201): extractBoneProbability.exe!H5FL_malloc + 0xB bytes<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas;">    c:\builds\src\insighttoolkit-4.5.0\modules\thirdparty\hdf5\src\itkhdf5\src\h5fl.c (401): extractBoneProbability.exe!H5FL_reg_malloc + 0xE bytes<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas;">    c:\builds\src\insighttoolkit-4.5.0\modules\thirdparty\hdf5\src\itkhdf5\src\h5pint.c (966): extractBoneProbability.exe!H5P_create_prop + 0xC bytes<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas;">    c:\builds\src\insighttoolkit-4.5.0\modules\thirdparty\hdf5\src\itkhdf5\src\h5pint.c (1905): extractBoneProbability.exe!H5P_register_real + 0x7E bytes<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas;">    c:\builds\src\insighttoolkit-4.5.0\modules\thirdparty\hdf5\src\itkhdf5\src\h5pocpl.c (147): extractBoneProbability.exe!H5P_ocrt_reg_prop + 0x61 bytes<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas;">    c:\builds\src\insighttoolkit-4.5.0\modules\thirdparty\hdf5\src\itkhdf5\src\h5pint.c (401): extractBoneProbability.exe!H5P_init_interface + 0x1C bytes<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas;">    c:\builds\src\insighttoolkit-4.5.0\modules\thirdparty\hdf5\src\itkhdf5\src\h5pint.c (329): extractBoneProbability.exe!H5P_init + 0x20 bytes<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas;">    c:\builds\src\insighttoolkit-4.5.0\modules\thirdparty\hdf5\src\itkhdf5\src\h5.c (172): extractBoneProbability.exe!H5_init_library + 0x5 bytes<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas;">    c:\builds\src\insighttoolkit-4.5.0\modules\thirdparty\hdf5\src\itkhdf5\src\h5i.c (1131): extractBoneProbability.exe!H5Iget_type + 0x20 bytes<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas;">    c:\builds\src\insighttoolkit-4.5.0\modules\thirdparty\hdf5\src\itkhdf5\c++\src\h5idcomponent.cpp (317): extractBoneProbability.exe!H5::IdComponent::p_valid_id + 0x9 bytes<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas;">    c:\builds\src\insighttoolkit-4.5.0\modules\thirdparty\hdf5\src\itkhdf5\c++\src\h5datatype.cpp (784): extractBoneProbability.exe!H5::DataType::close + 0x10 bytes<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas;">    c:\builds\src\insighttoolkit-4.5.0\modules\thirdparty\hdf5\src\itkhdf5\c++\src\h5datatype.cpp (809): extractBoneProbability.exe!H5::DataType::~DataType + 0xD bytes<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas;">    c:\builds\src\insighttoolkit-4.5.0\modules\thirdparty\hdf5\src\itkhdf5\c++\src\h5atomtype.cpp (293): extractBoneProbability.exe!H5::AtomType::~AtomType + 0x37 bytes<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas;">    c:\builds\src\insighttoolkit-4.5.0\modules\thirdparty\hdf5\src\itkhdf5\c++\src\h5predtype.cpp (301): extractBoneProbability.exe!H5::PredType::~PredType + 0x37 bytes<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas;">    0x000000003FE3EE21 (File and line number not available): extractBoneProbability.exe!`dynamic atexit destructor for 'H5::PredType::NotAtexit'' + 0x21 bytes<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas;">    f:\dd\vctools\crt_bld\self_64_amd64\crt\src\crt0dat.c (567): MSVCR100D.dll!doexit<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas;">    f:\dd\vctools\crt_bld\self_64_amd64\crt\src\crt0dat.c (394): MSVCR100D.dll!exit<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas;">    f:\dd\vctools\crt_bld\self_64_amd64\crt\src\crtexe.c (568): extractBoneProbability.exe!__tmainCRTStartup<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas;">    f:\dd\vctools\crt_bld\self_64_amd64\crt\src\crtexe.c (371): extractBoneProbability.exe!mainCRTStartup<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas;">    0x00000000775B652D (File and line number not available): kernel32.dll!BaseThreadInitThunk + 0xD bytes<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas;">    0x00000000777EC541 (File and line number not available): ntdll.dll!RtlUserThreadStart + 0x21 bytes<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas;">  Data:<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas;">    F0 F1 AD 07    00 00 00 00    01 00 00 00    00 00 00 00     ........ ........<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas;">    A0 F2 AD 07    00 00 00 00    02 00 00 00    00 00 00 00     ........ ........<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas;">    00 00 00 00    00 00 00 00    00 00 00 00    00 00 00 00     ........ ........<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas;">    00 00 00 00    00 00 00 00    00 00 00 00    00 00 00 00     ........ ........<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas;">    00 00 00 00    00 00 00 00    86 25 5A 3F    01 00 00 00     ........ .%Z?....<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas;">    00 00 00 00    00 00 00 00                                   ........ ........<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas;"> </span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas;"> </span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas;">Visual Leak Detector detected 1759 memory leaks (259177 bytes).<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas;">Largest number used: 140512177 bytes.<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas;">Total allocations: 153177251 bytes.<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas;">Visual Leak Detector is now exiting.<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US" style="font-size: 9pt; font-family: Consolas;">The program '[10236] extractBoneProbability.exe: Native' has exited with code 0 (0x0).<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US" style=""> </span></div></div>_____________________________________<br>Powered by<span class="Apple-converted-space"> </span><a href="http://www.kitware.com/" style="color: purple; text-decoration: underline;">www.kitware.com</a><br><br>Visit other Kitware open-source projects at<br><a href="http://www.kitware.com/opensource/opensource.html" style="color: purple; text-decoration: underline;">http://www.kitware.com/opensource/opensource.html</a><br><br>Kitware offers ITK Training Courses, for more information visit:<br><a href="http://www.kitware.com/products/protraining.php" style="color: purple; text-decoration: underline;">http://www.kitware.com/products/protraining.php</a><br><br>Please keep messages on-topic and check the ITK FAQ at:<br><a href="http://www.itk.org/Wiki/ITK_FAQ" style="color: purple; text-decoration: underline;">http://www.itk.org/Wiki/ITK_FAQ</a><br><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.itk.org/mailman/listinfo/insight-users" style="color: purple; text-decoration: underline;">http://www.itk.org/mailman/listinfo/insight-users</a></div></blockquote></div><br></div></body></html>