View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004404 | Slicer4 | Core: MRML | public | 2017-07-31 14:34 | 2017-08-05 08:33 |
Reporter | moselhy | Assigned To | lassoan | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0004404: new vtkStringArray get/set methods crash Slicer | ||||
Description | Hello, Slicer crashes when a vtkStringArray is queried for a value that is out of bounds. I feel like this should just throw an error instead of crashing all of Slicer... | ||||
Steps To Reproduce | Run the following code in a new instance of Slicer. import vtk or: import vtk | ||||
Tags | No tags attached. | ||||
Updated documentation to clarify that this is the expected behavior for wrapped C++ objects: |
|
I've also reported this to VTK developer list: http://vtk.1045678.n5.nabble.com/Safer-item-access-in-Python-wrapped-VTK-arrays-td5744288.html It seems there is a chance that VTK wrappers will be made smarter and safer in the future. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2017-07-31 14:34 | moselhy | New Issue | |
2017-07-31 14:34 | moselhy | Status | new => assigned |
2017-07-31 14:34 | moselhy | Assigned To | => alexy |
2017-08-03 16:21 | lassoan | Assigned To | alexy => lassoan |
2017-08-03 16:21 | lassoan | Status | assigned => resolved |
2017-08-03 16:21 | lassoan | Resolution | open => no change required |
2017-08-03 16:21 | lassoan | Note Added: 0015008 | |
2017-08-05 08:32 | lassoan | Note Added: 0015025 | |
2017-08-05 08:33 | lassoan | Status | resolved => closed |