MantisBT - ParaView | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0007453 | ParaView | (No Category) | public | 2008-08-05 18:03 | 2009-05-13 13:46 |
Reporter | olesen | ||||
Assigned To | Zhanping Liu | ||||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | 3.6 | Fixed in Version | |||
Project | |||||
Topic Name | |||||
Type | |||||
Summary | 0007453: Ensight measured data crash paraview. | ||||
Description | Reading ensight gold with measured data in ASCII format crashes paraview while attempting to assign the points: vtkEnSightGoldReader::ReadMeasuredGeometryFile() { ... vtkDebugMacro("assign points"); geom->SetPoints(newPoints); // CRASH! vtkDebugMacro("assigned points"); newPoints->Delete(); vtkDebugMacro("newPoints->Deleted"); ... } NOTE: in the prev code snippet, I already had to replace the geom->InsertNextCell(VTK_VERTEX, 1, &id); with vtkCellArray *newCells = vtkCellArray::New(); newCells->Allocate(this->NumberOfMeasuredPoints); ... for (...) { newCells->InsertNextCell(1, &id); } to avoid another crash. Reading in binary files fails differently. Here the culprit is apparently from re-using the same block: Debug: In .../VTK/IO/vtkEnSightGoldBinaryReader.cxx, line 1145 vtkEnSightGoldBinaryReader (0x17b6060): read measured data - add to block ERROR: In .../VTK/IO/vtkEnSightReader.cxx, line 2145 vtkEnSightGoldBinaryReader (0x17b6060): Block already has a vtkDataSet assigned to it. Debug: In .../VTK/IO/vtkEnSightGoldBinaryReader.cxx, line 1152 vtkEnSightGoldBinaryReader (0x17b6060): added to block Looking at the code in vtkEnSightGoldBinaryReader.cxx, line 1150 this->AddToBlock(output, this->NumberOfGeometryParts, pd); It looks like the last geometry part is getting reused. In the ReadMeasuredGeometryFile() there is no signs of the output dataset being incremented. The attached cases are a minimal set of data that reproduces the problem. | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | ![]() https://www.vtk.org/Bug/file/6650/ensightMeasuredData.tar.bz2 ![]() https://www.vtk.org/Bug/file/7137/Patch7453.txt | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2008-08-05 18:03 | olesen | New Issue | |||
2008-08-05 18:03 | olesen | File Added: ensightMeasuredData.tar.bz2 | |||
2008-08-21 13:55 | Utkarsh Ayachit | Status | backlog => tabled | ||
2008-08-21 13:55 | Utkarsh Ayachit | Assigned To | => Berk Geveci | ||
2009-02-18 09:04 | Utkarsh Ayachit | Category | 3.4 => 3.6 | ||
2009-03-18 13:36 | Berk Geveci | Assigned To | Berk Geveci => Zhanping Liu | ||
2009-03-23 13:25 | Zhanping Liu | Note Added: 0015764 | |||
2009-03-23 13:27 | Zhanping Liu | Note Added: 0015765 | |||
2009-03-23 13:28 | Zhanping Liu | File Added: Patch7453.txt | |||
2009-03-23 13:29 | Zhanping Liu | Status | tabled => @80@ | ||
2009-03-23 19:44 | Alan Scott | Note Added: 0015770 | |||
2009-03-23 19:44 | Alan Scott | Status | @80@ => closed | ||
2009-03-23 19:44 | Alan Scott | Resolution | open => fixed | ||
2009-05-13 13:46 | Utkarsh Ayachit | Target Version | => 3.6 | ||
2011-06-16 13:10 | Zack Galbreath | Category | => (No Category) |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|