Attempted null pointer dereference for Particle Tracer with grouped lines sources
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
4.0.1 + git/master, Linux x86_64 debug build, builtin mode
Sources - Line - P1: (0,0,1), P2: (1,0,1) - Apply Sources - Line - P2: (0,0,1), P2: (0,1,1) - Apply Mark both line sources. Filters - Alphabetical - Group Datasets Sources - Time Source - Apply Filters - Alphabetical - Random Vectors - Apply Filters - Alphabetical - ParticleTracer - Input: RandomVectors1, Seed Source: GroupDatasets1 - Ok - Apply
=> Program received signal SIGSEGV, Segmentation fault. 0x00007ffff09daa55 in vtkPVPostFilter::RequestData (this=0x404b890, inputVector=0x404e750, outputVector=0x404d780) at /ParaView.git/ParaViewCore/VTKExtensions/Core/vtkPVPostFilter.cxx:270 270 csOutput->CopyStructure(csInput); (gdb) print csOutput $1 = (vtkCompositeDataSet *) 0x0
Either the if-condition in ParaViewCore/VTKExtensions/Core/vtkPVPostFilter.cxx:263
if (!csInput && !csOutput)
or the else-condition in line 268 clearly needs some tweaking to ensure csOutput does not get dereferenced if it is a null pointer.
(To work around the bug, use filter AppendGeometry instead of GroupDatasets.)