View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008997ParaView(No Category)public2009-05-11 11:462011-01-13 17:00
ReporterKen Moreland 
Assigned ToUtkarsh Ayachit 
PrioritynormalSeveritycrashReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target Version3.6Fixed in Version3.6 
Summary0008997: Crash when deleting viewed object in line plot
DescriptionWhen you are showing something in a line plot and you delete the object you are looking at in the pipeline browser, you get a crash. To replicate, do the following.

1. Create a Wavelet source.
2. Add a plot over line filter. Apply.
3. With the plot view still active, delete the plot over line filter. Crash.
TagsNo tags attached.
Project
Topic Name
Type
Attached Files? file icon PlotCrash.tiff [^] (282,558 bytes) 2009-05-12 18:40

 Relationships
related to 0009025closedUtkarsh Ayachit Crash when plots attaches to two files 

  Notes
(0016376)
Utkarsh Ayachit (administrator)
2009-05-11 12:48

Unable to reproduce. May have been fixed by the following commit that was committed a short while ago.

Author: Utkarsh Ayachit <utkarsh.ayachit@kitware.com>
Date: Mon May 11 14:00:45 2009 +0000

    BUG: Invalid superclass. Fixed that.

diff --git a/Servers/ServerManager/vtkSMChartRepresentationProxy.h b/Servers/ServerMan
index d4ddab2..2049ddb 100644
--- a/Servers/ServerManager/vtkSMChartRepresentationProxy.h
+++ b/Servers/ServerManager/vtkSMChartRepresentationProxy.h
@@ -30,7 +30,8 @@ class VTK_EXPORT vtkSMChartRepresentationProxy : public vtkSMClientD
 {
 public:
   static vtkSMChartRepresentationProxy* New();
- vtkTypeRevisionMacro(vtkSMChartRepresentationProxy, vtkSMChartRepresentationProxy);
+ vtkTypeRevisionMacro(vtkSMChartRepresentationProxy,
+ vtkSMClientDeliveryRepresentationProxy);
   void PrintSelf(ostream& os, vtkIndent indent);
 
   // Description:
(0016381)
Alan Scott (manager)
2009-05-11 19:39

I couldn't replicate the bug either.

Tested client/ remote server.
(0016410)
Ken Moreland (manager)
2009-05-12 18:42

Nope it is still crashing for me. And it is definitely not fixed by that checkin. (I noticed that problem earlier and had other problems with it. It was after updating with that fix did I notice this new problem.)

The problem might be specific to Mac. I was not able to replicate it on Linux. I have attached a stack trace.
(0016446)
Utkarsh Ayachit (administrator)
2009-05-14 15:38

BUG: Attempting to fix BUG 0008997. vtkQtLineChart::layoutNeeded() may have been fired as a consequence of the series being added/removed. In that case the obsolete CurrentSeries data structure may be invalid (even have invalid indices). Since layoutChart() is called "eventually" by the vtkQtChartArea, in some cases it's possible the this->paint() gets called before the layoutChart(). If that happens, the the paint method may try to access invalid series. Hence we ensure that the CurrentSeries datastructure is cleared here. It will be repopulated in layoutChart().
    
BUG: When all series were removed from the chart, the chart would not rebuild the locator tree. Consequently it would segfault when all series were removed and the user hovers over the plot. Fixed that as well.


/cvsroot/ParaView3/ParaView3/VTK/GUISupport/Qt/Chart/vtkQtLineChart.cxx,v <-- VTK/GUISupport/Qt/Chart/vtkQtLineChart.cxx
new revision: 1.18; previous revision: 1.17
/cvsroot/ParaView3/ParaView3/VTK/GUISupport/Qt/Chart/vtkQtLineChart.h,v <-- VTK/GUISupport/Qt/Chart/vtkQtLineChart.h
new revision: 1.9; previous revision: 1.8
(0016447)
Ken Moreland (manager)
2009-05-14 15:49

It looks like that fixed it.

 Issue History
Date Modified Username Field Change
2009-05-11 11:46 Ken Moreland New Issue
2009-05-11 11:46 Ken Moreland Status backlog => tabled
2009-05-11 11:46 Ken Moreland Assigned To => Utkarsh Ayachit
2009-05-11 12:48 Utkarsh Ayachit Note Added: 0016376
2009-05-11 12:48 Utkarsh Ayachit Status tabled => @80@
2009-05-11 12:48 Utkarsh Ayachit Resolution open => unable to reproduce
2009-05-11 19:39 Alan Scott Note Added: 0016381
2009-05-11 19:39 Alan Scott Status @80@ => closed
2009-05-12 18:40 Ken Moreland File Added: PlotCrash.tiff
2009-05-12 18:42 Ken Moreland Note Added: 0016410
2009-05-12 18:42 Ken Moreland Status closed => @20@
2009-05-12 18:42 Ken Moreland Resolution unable to reproduce => reopened
2009-05-13 13:44 Utkarsh Ayachit Target Version => 3.6
2009-05-14 09:22 Ken Moreland Relationship added related to 0009025
2009-05-14 15:38 Utkarsh Ayachit Note Added: 0016446
2009-05-14 15:38 Utkarsh Ayachit Status @20@ => @80@
2009-05-14 15:38 Utkarsh Ayachit Fixed in Version => 3.6
2009-05-14 15:38 Utkarsh Ayachit Resolution reopened => fixed
2009-05-14 15:49 Ken Moreland Note Added: 0016447
2009-05-14 15:49 Ken Moreland Status @80@ => closed
2011-01-13 17:00 Source_changeset_attached => VTK master a2bd8391
2011-01-13 17:00 Source_changeset_attached => VTK master 020ef709
2011-06-16 13:10 Zack Galbreath Category => (No Category)


Copyright © 2000 - 2018 MantisBT Team