[Insight-developers] HDF5 test failing : potential suspect

Luis Ibanez luis.ibanez at kitware.com
Fri Jun 3 11:44:58 EDT 2011


Hi Kent,

The following Valgrind report may be pointing
to a potential suspect on the HDF5 tests failures.

The problem is in the HDF5 operations:

* File Close : H5F_close (H5F.c:1761)
* File Flush : H5F_flush (H5F.c:1690)


which seems to be consistent with the
fact that the problem is related to the
stages of closing a file and opening it
later for verification.


    Luis


----------------------
==21745== ERROR SUMMARY: 3 errors from 1 contexts (suppressed: 4 from 4)
==21745==
==21745== 3 errors in context 1 of 1:
==21745== Syscall param write(buf) points to uninitialised byte(s)
==21745==    at 0x4E38010: __write_nocancel (in /lib/libpthread-2.10.1.so)
==21745==    by 0x93E045: H5FD_sec2_write (H5FDsec2.c:849)
==21745==    by 0x92CD3D: H5FD_write (H5FDint.c:184)
==21745==    by 0x9043B8: H5F_accum_flush (H5Faccum.c:673)
==21745==    by 0x8FA920: H5F_flush (H5F.c:1690)
==21745==    by 0x8F67E5: H5F_dest (H5F.c:994)
==21745==    by 0x8FB6D1: H5F_try_close (H5F.c:1909)
==21745==    by 0x8FAD50: H5F_close (H5F.c:1761)
==21745==    by 0xCC40BF: H5I_dec_ref (H5I.c:1500)
==21745==    by 0x8FBD61: H5Fclose (H5F.c:1970)
==21745==    by 0x84398C: H5::H5File::close() (H5File.cpp:770)
==21745==    by 0x713F45: itk::HDF5ImageIO::~HDF5ImageIO()
(itkHDF5ImageIO.cxx:52)
==21745==  Address 0x7095509 is 793 bytes inside a block of size 16,392 alloc'd
==21745==    at 0x4C25153: malloc (vg_replace_malloc.c:195)
==21745==    by 0xCDDB49: H5MM_malloc (H5MM.c:64)
==21745==    by 0xCB4D3F: H5FL_malloc (H5FL.c:201)
==21745==    by 0xCB6C5F: H5FL_blk_malloc (H5FL.c:887)
==21745==    by 0xCB76B1: H5FL_blk_realloc (H5FL.c:1109)
==21745==    by 0x902568: H5F_accum_adjust (H5Faccum.c:296)
==21745==    by 0x902B3E: H5F_accum_write (H5Faccum.c:370)
==21745==    by 0x904EF0: H5F_block_write (H5Fio.c:162)
==21745==    by 0xD290F0: H5B_flush (H5Bcache.c:266)
==21745==    by 0xCB2F7D: H5C_flush_single_entry (H5C.c:7941)
==21745==    by 0xC9EE9B: H5C_flush_cache (H5C.c:1387)
==21745==    by 0x88B7F3: H5AC_flush (H5AC.c:941)


More information about the Insight-developers mailing list