MantisBT - VTK | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0012986 | VTK | (No Category) | public | 2012-03-09 10:47 | 2014-10-06 11:20 |
| Reporter | Marc Ferland | ||||
| Assigned To | Ben Boeckel (Kitware) | ||||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | ||
| Platform | OS | OS Version | |||
| Product Version | 5.8.0 | ||||
| Target Version | Fixed in Version | ||||
| Project | TBD | ||||
| Type | crash | ||||
| Summary | 0012986: Crash in vtkChartXY::RemovePlot | ||||
| Description | The following call to RemovePlotInstance crashes because of a NULL pointer dereference in vtkChartXY::RemovePlot():996 #include <vtkChartXY.h> #include <vtkContextScene.h> #include <vtkContextView.h> #include <vtkPlotLine.h> int main() { vtkChartXY *chart = vtkChartXY::New(); vtkPlot *line = vtkPlotLine::New(); chart->AddPlot(line); chart->RemovePlotInstance(line); line->Delete(); chart->Delete(); return EXIT_SUCCESS; } I'm attaching a patch that fixes it for me (based on tag v5.8.0). | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://www.vtk.org/Bug/file/9130/0001-Check-the-Scene-pointer-before-dereferencing.patch | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2012-03-09 10:47 | Marc Ferland | New Issue | |||
| 2012-03-09 10:47 | Marc Ferland | File Added: 0001-Check-the-Scene-pointer-before-dereferencing.patch | |||
| 2012-03-09 10:50 | Marcus D. Hanwell | Assigned To | => Marcus D. Hanwell | ||
| 2012-03-09 10:50 | Marcus D. Hanwell | Status | backlog => tabled | ||
| 2012-03-09 13:30 | Marcus D. Hanwell | Note Added: 0028349 | |||
| 2012-03-09 13:56 | Marc Ferland | Note Added: 0028351 | |||
| 2012-03-09 14:22 | Marc Ferland | Note Added: 0028353 | |||
| 2013-07-22 20:02 | Dave DeMarle | Status | tabled => backlog | ||
| 2013-07-22 20:02 | Dave DeMarle | Note Added: 0031253 | |||
| 2014-10-02 11:47 | Ben Boeckel (Kitware) | Assigned To | Marcus D. Hanwell => Ben Boeckel (Kitware) | ||
| 2014-10-02 12:55 | Ben Boeckel (Kitware) | Note Added: 0033484 | |||
| 2014-10-02 12:55 | Ben Boeckel (Kitware) | Status | backlog => gerrit review | ||
| 2014-10-06 11:20 | Ben Boeckel (Kitware) | Note Added: 0033597 | |||
| 2014-10-06 11:20 | Ben Boeckel (Kitware) | Status | gerrit review => closed | ||
| 2014-10-06 11:20 | Ben Boeckel (Kitware) | Resolution | open => fixed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||