| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
| 0015350 | Xdmf | (No Category) | public | 2015-01-14 10:37 | 2015-09-10 07:36 | ||||||||
| Reporter | Felipe Bordeu | ||||||||||||
| Assigned To | Joachim Pouderoux | ||||||||||||
| Priority | high | Severity | crash | Reproducibility | always | ||||||||
| Status | confirmed | Resolution | open | ||||||||||
| Platform | OS | OS Version | |||||||||||
| Summary | 0015350: crash when writting data with string arrays | ||||||||||||
| Description | Paraview chashes when trying to save data with string arrays in xdmf format. patch to solve the problem diff --git a/IO/Xdmf3/vtkXdmf3DataSet.cxx b/IO/Xdmf3/vtkXdmf3DataSet.cxx index f680b3e..cc5b707 100644 --- a/IO/Xdmf3/vtkXdmf3DataSet.cxx +++ b/IO/Xdmf3/vtkXdmf3DataSet.cxx @@ -663,6 +663,11 @@ void vtkXdmf3DataSet::VTKToXdmfAttributes( for (int cc=0; cc < numArrays; cc++) { vtkDataArray *vArray = fieldData->GetArray(cc); + if (!vArray) + { + cerr << "Skipping not a vtkDataArray array." << endl; + continue; + } std::string attrName = vArray->GetName(); if (attrName.length() == 0) { | ||||||||||||
| Steps To Reproduce | - load the NonOrthogonalSource plugin - create a ShearedWavelet - select the Enable Axis Titles - apply - save data into xmf | ||||||||||||
| Additional Information | using latest paraview sources v4.3.1 | ||||||||||||
| Tags | No tags attached. | ||||||||||||
| Attached Files | |||||||||||||
| Relationships | |
| Relationships |
| Notes | |
|
(0039385) Joachim Pouderoux (developer) 2015-09-10 07:07 |
Thanks. I will patch that. |
|
(0039388) Joachim Pouderoux (developer) 2015-09-10 07:36 |
https://gitlab.kitware.com/vtk/vtk/merge_requests/646 [^] |
| Notes |
| Issue History | |||
| Date Modified | Username | Field | Change |
| 2015-01-14 10:37 | Felipe Bordeu | New Issue | |
| 2015-09-10 07:07 | Joachim Pouderoux | Note Added: 0039385 | |
| 2015-09-10 07:36 | Joachim Pouderoux | Assigned To | => Joachim Pouderoux |
| 2015-09-10 07:36 | Joachim Pouderoux | Status | new => confirmed |
| 2015-09-10 07:36 | Joachim Pouderoux | Note Added: 0039388 | |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |