View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014435VTK(No Category)public2013-11-30 01:292013-12-17 15:44
ReporterRaine 
Assigned ToDave DeMarle 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version6.0.0 
Target Version6.1.0Fixed in Version6.1.0 
Summary0014435: vtkHyperStreamline seg fault when input data has no scalar array
DescriptionBelow is the relevant code in Filters/General/vtkHyperStreamline.cxx:

vtkDataArray *inScalars = NULL;

inScalars = pd->GetScalars(); //pd has no scalar, so inScalars is NULL

cellScalars = vtkDataArray::CreateDataArray(inScalars->GetDataType()); //Seg faults


A patch for it is attached.
TagsNo tags attached.
ProjectTBD
Typecrash
Attached Filespatch file icon 4497-Fix-vtkHyperStreamline-from-seg-faulting-when-input-.patch [^] (1,382 bytes) 2013-11-30 01:29 [Show Content]

 Relationships
duplicate of 0005040closedWill Schroeder inScalar/inTensor usage without NULL pointer check 

  Notes
(0031887)
Raine (reporter)
2013-11-30 01:32

Same bug as one reported in 2007: http://www.vtk.org/Bug/view.php?id=5040 [^]
(0031966)
Dave DeMarle (administrator)
2013-12-16 18:25
edited on: 2013-12-17 12:42

http://review.source.kitware.com/#/t/3739/ [^]

(0031987)
Dave DeMarle (administrator)
2013-12-17 15:44

merged into repository

 Issue History
Date Modified Username Field Change
2013-11-30 01:29 Raine New Issue
2013-11-30 01:29 Raine File Added: 4497-Fix-vtkHyperStreamline-from-seg-faulting-when-input-.patch
2013-11-30 01:32 Raine Note Added: 0031887
2013-12-16 18:25 Dave DeMarle Note Added: 0031966
2013-12-16 18:25 Dave DeMarle Assigned To => Dave DeMarle
2013-12-16 18:25 Dave DeMarle Status backlog => gerrit review
2013-12-16 18:26 Dave DeMarle Target Version => 6.1.0
2013-12-16 18:26 Dave DeMarle Relationship added duplicate of 0005040
2013-12-17 12:42 Dave DeMarle Note Edited: 0031966
2013-12-17 15:44 Dave DeMarle Note Added: 0031987
2013-12-17 15:44 Dave DeMarle Status gerrit review => closed
2013-12-17 15:44 Dave DeMarle Resolution open => fixed
2013-12-17 15:44 Dave DeMarle Fixed in Version => 6.1.0


Copyright © 2000 - 2018 MantisBT Team