MantisBT - VTK | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0015525 | VTK | (No Category) | public | 2015-06-09 09:32 | 2015-08-07 08:19 |
| Reporter | Cory Quammen | ||||
| Assigned To | T.J. Corona | ||||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | ||
| Platform | OS | OS Version | |||
| Product Version | 6.3.0 | ||||
| Target Version | Fixed in Version | 6.3.0 | |||
| Project | TBD | ||||
| Type | crash | ||||
| Summary | 0015525: Crash when point arrays are repeated in VTK unstructured grid XML files | ||||
| Description | Load the attached file with a vtkXMLUnstructuredGridReader. You should get a crash in vtkAbstractArray::GetNumberOfComponents() because the array instance is NULL. This is because vtkXMLDataReader::ReadPieceData() accesses point data arrays by index, and the maximum index is found by looking at how many point data arrays are defined in the XML file. When a data file has more than one data array with the same name, the XML reader counts all of them. However, vtkPointData can have only one array of a particular name. This leads to the array being requested by index being invalid, hence NULL is returned, hence a crash. The same likely happens for repeat cell arrays. | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://www.vtk.org/Bug/file/9813/RepeatArrayNameCrash.vtu | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2015-06-09 09:32 | Cory Quammen | New Issue | |||
| 2015-06-09 09:32 | Cory Quammen | File Added: RepeatArrayNameCrash.vtu | |||
| 2015-08-05 10:23 | Utkarsh Ayachit | Assigned To | => T.J. Corona | ||
| 2015-08-06 18:23 | T.J. Corona | Note Added: 0034912 | |||
| 2015-08-06 18:23 | T.J. Corona | Status | backlog => closed | ||
| 2015-08-06 18:23 | T.J. Corona | Resolution | open => fixed | ||
| 2015-08-06 18:23 | T.J. Corona | Fixed in Version | => 6.3.0 | ||
| 2015-08-06 22:21 | Cory Quammen | Note Added: 0034918 | |||
| 2015-08-07 08:19 | T.J. Corona | Note Added: 0034921 | |||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||