Undefined Behavior in examples
Steps to reproduce: Compile with -fsanitize=address -fsanitize=undefined
and run:
build_vtkm ./examples/contour_tree/ContourTreeMesh2D ../vtk-m/data/sample.cosmotools
ContourTreeMesh2D Example
vtk-m/vtkm/exec/serial/internal/TaskTiling.h:201:5: runtime error: call to function void vtkm::exec::serial::internal::TaskTilingSetErrorBuffer<vtkm::worklet::contourtree::Mesh2D_DEM_VertexStarter<float> const>(void*, vtkm::exec::internal::ErrorMessageBuffer const&) through pointer to incorrect function type 'void (*)(void *, const vtkm::exec::internal::ErrorMessageBuffer &)'
TaskTiling.h:31: note: void vtkm::exec::serial::internal::TaskTilingSetErrorBuffer<vtkm::worklet::contourtree::Mesh2D_DEM_VertexStarter<float> const>(void*, vtkm::exec::internal::ErrorMessageBuffer const&) defined here
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior vtk-m/vtkm/exec/serial/internal/TaskTiling.h:201:5