View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013659ParaView(No Category)public2012-11-14 21:142015-01-09 14:06
ReporterTakuya OSHIMA 
Assigned ToUtkarsh Ayachit 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version3.98.0 
Summary0013659: vtkPMaskPoints crashes application on exit
DescriptionParaView 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.
TagsNo tags attached.
ProjectTBD
Topic Name13659_fix_pmaskpoints
Typecrash
Attached Files

 Relationships

  Notes
(0029727)
Utkarsh Ayachit (administrator)
2012-11-15 14:19

commit 23e12c3b68e3a0f9343f87c8cc2ea2284243ba8a
Author: Utkarsh Ayachit <utkarsh.ayachit@kitware.com>
Date: Thu Nov 15 14:15:22 2012 -0500

    BUG 0013659. Fix segfault in vtkPMaskPoints.
    
    Cleaning up the logic in contructor/destructor that lead to invalid reference
    count updates in certain cases.
    
    Change-Id: If149d6aecac8ca5142ceedd3294c3162ca62af35
(0029767)
Kyle Lutz (viewer)
2012-11-20 12:16

Merged into ParaView-master (if applicable)
(0030033)
Alan Scott (manager)
2013-01-08 21:56

Tested local server, Linux, master.

 Issue History
Date Modified Username Field Change
2012-11-14 21:14 Takuya OSHIMA New Issue
2012-11-15 14:14 Utkarsh Ayachit Project VTK => ParaView
2012-11-15 14:14 Utkarsh Ayachit Assigned To => Utkarsh Ayachit
2012-11-15 14:19 Utkarsh Ayachit Topic Name => 13659_fix_pmaskpoints
2012-11-15 14:19 Utkarsh Ayachit Note Added: 0029727
2012-11-15 14:19 Utkarsh Ayachit Status backlog => gatekeeper review
2012-11-15 14:19 Utkarsh Ayachit Fixed in Version => git-next
2012-11-15 14:19 Utkarsh Ayachit Resolution open => fixed
2012-11-20 12:16 Kyle Lutz Status gatekeeper review => customer review
2012-11-20 12:16 Kyle Lutz Note Added: 0029767
2012-11-20 16:01 Utkarsh Ayachit Fixed in Version git-next => git-master
2012-11-23 11:34 Utkarsh Ayachit Fixed in Version git-master => 3.98.0
2013-01-08 21:56 Alan Scott Note Added: 0030033
2013-01-08 21:56 Alan Scott Status customer review => closed
2015-01-09 14:04 Kyle Lutz Source_changeset_attached => VTK master 8d098410
2015-01-09 14:05 Utkarsh Ayachit Source_changeset_attached => VTK master c9a9520e
2015-01-09 14:06 Utkarsh Ayachit Source_changeset_attached => VTK master 23e12c3b


Copyright © 2000 - 2018 MantisBT Team