[ITK] Segfault while running Examples/IO/ImageFileReader

Matt McCormick matt.mccormick at kitware.com
Wed Oct 29 11:31:05 EDT 2014


Hi Jan,

Does it help to configure both your ITK and your VTK to use the system HDF5?

Thanks,
Matt

On Wed, Oct 29, 2014 at 10:47 AM, Jan Dorazil <deu439 at gmail.com> wrote:
> Hello,
> after successfully building the example ImageFileReader I have encountered
> segmentation fault error while running the built binary.
> back trace:
> #0  0xb0c88175 in __GI__IO_default_xsputn () from /lib/libc.so.6
> #1  0xb0c58e73 in vfprintf () from /lib/libc.so.6
> #2  0xb0c82dc1 in vasprintf () from /lib/libc.so.6
> #3  0xb6614704 in vtk__H5E_printf_stack () from /usr/lib/libvtkhdf5-6.1.so.1
> #4  0xb67c7711 in vtk__H5I_inc_ref () from /usr/lib/libvtkhdf5-6.1.so.1
> #5  0xb66145ac in vtk__H5E_push_stack () from /usr/lib/libvtkhdf5-6.1.so.1
> #6  0xb661474c in vtk__H5E_printf_stack () from /usr/lib/libvtkhdf5-6.1.so.1
> #7  0xb67c7711 in vtk__H5I_inc_ref () from /usr/lib/libvtkhdf5-6.1.so.1
> #8  0xb66145ac in vtk__H5E_push_stack () from /usr/lib/libvtkhdf5-6.1.so.1
> #9  0xb661474c in vtk__H5E_printf_stack () from /usr/lib/libvtkhdf5-6.1.so.1
> #10 0xb67c7711 in vtk__H5I_inc_ref () from /usr/lib/libvtkhdf5-6.1.so.1
> #11 0xb66145ac in vtk__H5E_push_stack () from /usr/lib/libvtkhdf5-6.1.so.1
> #12 0xb661474c in vtk__H5E_printf_stack () from /usr/lib/libvtkhdf5-6.1.so.1
> #13 0xb67c7711 in vtk__H5I_inc_ref () from /usr/lib/libvtkhdf5-6.1.so.1
> #14 0xb66145ac in vtk__H5E_push_stack () from /usr/lib/libvtkhdf5-6.1.so.1
> #15 0xb661474c in vtk__H5E_printf_stack () from /usr/lib/libvtkhdf5-6.1.so.1
> ....
> ITK version 4.6.1
> built with:
>     -DBUILD_SHARED_LIBS=ON \
>     -DBUILD_DOCUMENTATION=ON \
>     -DITK_DOXYGEN_HTML=ON \
>     -DITK_DOXYGEN_ECLIPSEHELP=OFF \
>     -DModule_ITKVtkGlue=ON \
>     -DModule_ITKVideoBridgeOpenCV=ON \
>     -DITK_USE_SYSTEM_ZLIB=ON \
>     -DITK_USE_SYSTEM_JPEG=ON \
>     -DITK_USE_SYSTEM_TIFF=ON \
>     -DITK_USE_SYSTEM_PNG=ON \
>     -DITK_USE_SYSTEM_FFTW=ON \
>     -DCMAKE_INSTALL_PREFIX=/usr \
>     -DCMAKE_BUILD_TYPE=Release ..
>
>
> VTK version: 6.1.0
> built with:
>     -DCMAKE_INSTALL_PREFIX=/usr \
>     -DCMAKE_BUILD_TYPE=Release \
>     -DVTK_Group_Qt=ON \
>     -DBUILD_SHARED_LIBS=ON ..
>
> Could anybody help me please?
>
>
>
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/mailman/listinfo/community


More information about the Community mailing list