vtkPMaskPoints crashes application on exit
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
ParaView 3.98.0 RC2 crashes when I do: Sources->Point Source, Apply. Filters->Alphabetical->Mask Points, Apply. Quit ParaView.
with a gdb backtrace:
#0 0x0000000104a9df4c in vtkProcessModule::Finalize () #1 0x000000010389e3de in vtkInitializationHelper::Finalize () #2 0x0000000100e1ce41 in pqApplicationCore::~pqApplicationCore () #3 0x0000000100760257 in pqPVApplicationCore::~pqPVApplicationCore () #4 0x00000001000278a8 in pqparaviewInitializer::~pqparaviewInitializer () #5 0x0000000100027717 in main ()
Looking at the constructor/destructor of vtkPMaskPoints.cxx //---------------------------------------------------------------------------- vtkPMaskPoints::vtkPMaskPoints() { this->Controller = 0; this->SetController(vtkMultiProcessController::GetGlobalController()); if(!this->Controller) { this->SetController(vtkDummyController::New()); } }
vtkPMaskPoints::~vtkPMaskPoints() { this->Controller->Delete(); this->SetController(NULL); }
//---------------------------------------------------------------------------- if the application has a global controller, it gets deleted by the destructor whereas it should not be.