View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0012371 | ParaView | (No Category) | public | 2011-07-15 12:51 | 2016-08-12 09:58 | ||||
Reporter | Sven Buijssen | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
Status | closed | Resolution | moved | ||||||
Platform | OS | OS Version | |||||||
Product Version | 3.10.1 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0012371: Programmable Filter: segfault on python code invalid for selected output data set type | ||||||||
Description | Sources - Time Source - Apply Filters - Programmable Filter Script: out = self.GetOutput() newPoint = vtk.vtkPoints() newPoint.InsertPoint(0, 0,0,0) out.SetPoints(newPoint) newCell = vtk.vtkCellArray() vertex = vtk.vtkVertex() vertex.GetPointIds().SetId(0,0) newCell.InsertNextCell(vertex) out.SetVerts(newCell) Apply => An error is raised "AttributeError: SetVerts" and subsequently ParaView segfaults: Program received signal SIGSEGV, Segmentation fault. 0x00007fffdf13a87e in vtkDataSetSurfaceFilter::InsertQuadInHash (this=0x33d42a0, a=2, b=6, c=7, d=3, sourceId=0) at ParaView.git/VTK/Graphics/vtkDataSetSurfaceFilter.cxx:1644 1644 if (quad->numPts == 4 && c == quad->ptArray[2]) Admittedly, the user is at fault by not changing "Output Data Set Type" to "vtkPolyData" prior to hitting Apply, but ParaView should not segfault for "Same as Input"/"vtkUnstructuredGrid". Indeed, ParaView does handle the related case properly: run the same script as ProgrammableSource and select "vtkUnstructuredGrid" as "Output Data Set Type". Above's error message is raised, but no segfault is caused. Tested with ParaView 3.10.1 official binary release for Linux 64bit and own Linux 64bit build of git master branch as of now. | ||||||||
Tags | No tags attached. | ||||||||
Project | TBD | ||||||||
Topic Name | |||||||||
Type | crash | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0038008) Kitware Robot (administrator) 2016-08-12 09:58 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current ParaView Issues page linked in the banner at the top of this page. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2011-07-15 12:51 | Sven Buijssen | New Issue | |
2016-08-12 09:58 | Kitware Robot | Note Added: 0038008 | |
2016-08-12 09:58 | Kitware Robot | Status | backlog => closed |
2016-08-12 09:58 | Kitware Robot | Resolution | open => moved |
2016-08-12 09:58 | Kitware Robot | Assigned To | => Kitware Robot |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |