Crash in RedistributeDataForOrderedCompositing when transparency is used.
archive: bugOrderCompos.tgz
Description
I have a crash using pvbatch. Trying to save a screenshot of a contour computed on a data set, shown with transparency, the execution exit with:
terminate called after throwing an instance of 'std::runtime_error'
what(): -1 2.77602 2.79778
Loguru caught a signal: SIGABRT
The stacktrace include the following lines:
30 0x154b839eb2d6 vtkPVRenderView::StillRender() + 258
29 0x154b839ebb0e vtkPVRenderView::Render(bool, bool) + 1666
28 0x154b839f8692 vtkPVRenderViewDataDeliveryManager::RedistributeDataForOrderedCompositing(bool) + 1616
27 0x154b8082ca23 vtkDIYKdTreeUtilities::GenerateCuts(std::vector<vtkDataObject*> const&, int, bool, vtkMultiProcessController*, double const*) + 609
26 0x154b8082d469 vtkDIYKdTreeUtilities::GenerateCuts(std::vector<vtkSmartPointer<vtkPoints>, std::allocator<vtkSmartPointer<vtkPoints> > > const&, int, vtkMultiProcessController*, double const*) + 1627
25 0x154b8082f94d /home/charles/Software/install/paraview/bin/../lib/libvtkFiltersParallelDIY2-pv5.8.so.1(+0x2a94d) [0x154b8082f94d]
Here is the full version
From GDB, the last interesting context is on the following line: paraview/VTK/ThirdParty/diy2/vtkdiy2/include/vtkdiy2/detail/algorithms/kdtree.hpp
380 if (loc < 0)
>381 throw std::runtime_error(fmt::format("{} {} {}", loc, x, link->core().min[dim]));
Step to reproduce
- Extract the archive given in the first line of this issue
- Execute:
mpirun -np 2 pvbatch kitwareScriptContour.py
The bug occurs only in specific conditions:
- The script is executed using pvbatch
- MPI is set up to use 2 cores (also bug with 5)
- Transparency is used (see the content of
kitwareScriptContour.py
)
System
- Linux
- Gcc 10.1.0
- ParaView master
@utkarsh.ayachit can you help me with this one ?
@jpouderoux FYI
Edited by Mathieu Westphal (Kitware)