[vtk-developers] segfault when vtkXMLMultiBlockDataReader reads a .vtm binary mode - bug?
Tanaka Simon
tanakas at gmx.ch
Mon Nov 3 05:19:27 EST 2014
Dear Developers,
Hello VTK users and developers,
I attached a simple program which segfaults. please also have a look at
the comments in the code.
i want to:
1) write a vtkMultiBlockDataSet to a file
2) load it
it only segfaults if the writer is set to binary mode, and only if the
data exceeds a certain size. in ascii mode, everything is fine.
this might be related:
http://www.paraview.org/Bug/print_bug_page.php?bug_id=13294
can you confirm that behaviour? what am i doing wrong? and if it is a
bug, how can i work around?
thank you very much
simon
-------------- next part --------------
cmake_minimum_required(VERSION 2.8)
PROJECT(vtk_weird_segfault)
find_package(VTK REQUIRED)
include(${VTK_USE_FILE})
add_executable(vtk_weird_segfault MACOSX_BUNDLE vtk_weird_segfault)
if(VTK_LIBRARIES)
target_link_libraries(vtk_weird_segfault ${VTK_LIBRARIES})
else()
target_link_libraries(vtk_weird_segfault vtkHybrid vtkWidgets)
endif()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vtk_weird_segfault.cxx
Type: text/x-c++src
Size: 3347 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20141103/1cb81a6c/attachment.cxx>
More information about the vtk-developers
mailing list