[vtk-developers] [VTK 0013659]: vtkPMaskPoints crashes application on exit

Mantis Bug Tracker mantis at public.kitware.com
Wed Nov 14 21:15:03 EST 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://www.vtk.org/Bug/view.php?id=13659 
====================================================================== 
Reported By:                Takuya OSHIMA
Assigned To:                
====================================================================== 
Project:                    VTK
Issue ID:                   13659
Category:                   (No Category)
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     backlog
Project:                    TBD 
Type:                       crash 
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2012-11-14 21:14 EST
Last Modified:              2012-11-14 21:14 EST
====================================================================== 
Summary:                    vtkPMaskPoints crashes application on exit
Description: 
ParaView 3.98.0 RC2 crashes when I do:
Sources->Point Source, Apply.
Filters->Alphabetical->Mask Points, Apply.
Quit ParaView.

with a gdb backtrace:

http://www.vtk.org/Bug/view.php?id=0  0x0000000104a9df4c in
vtkProcessModule::Finalize ()
http://www.vtk.org/Bug/view.php?id=1  0x000000010389e3de in
vtkInitializationHelper::Finalize ()
http://www.vtk.org/Bug/view.php?id=2  0x0000000100e1ce41 in
pqApplicationCore::~pqApplicationCore ()
http://www.vtk.org/Bug/view.php?id=3  0x0000000100760257 in
pqPVApplicationCore::~pqPVApplicationCore ()
http://www.vtk.org/Bug/view.php?id=4  0x00000001000278a8 in
pqparaviewInitializer::~pqparaviewInitializer ()
http://www.vtk.org/Bug/view.php?id=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.

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-11-14 21:14 Takuya OSHIMA  New Issue                                    
======================================================================




More information about the vtk-developers mailing list