MantisBT - VTK
View Issue Details
0014170VTK(No Category)public2013-07-15 06:472013-09-25 02:39
John Biddiscombe 
John Biddiscombe 
normalminorhave not tried
closedfixed 
6.0.0 
 
TBD
crash
0014170: Segfault in vtkSmartVolumeMapper
Bad code causes segfault. Patch attached
No tags attached.
patch 0001-Fix-a-segfault-in-setting-of-GPU-resampler-input.patch (1,052) 2013-07-15 06:47
https://www.vtk.org/Bug/file/9478/0001-Fix-a-segfault-in-setting-of-GPU-resampler-input.patch
Issue History
2013-07-15 06:47John BiddiscombeNew Issue
2013-07-15 06:47John BiddiscombeFile Added: 0001-Fix-a-segfault-in-setting-of-GPU-resampler-input.patch
2013-09-24 18:24David ColeNote Added: 0031618
2013-09-25 02:39John BiddiscombeNote Added: 0031622
2013-09-25 02:39John BiddiscombeStatusbacklog => closed
2013-09-25 02:39John BiddiscombeAssigned To => John Biddiscombe
2013-09-25 02:39John BiddiscombeResolutionopen => fixed

Notes
(0031618)
David Cole   
2013-09-24 18:24   
I ran into this one today, too. Thanks for posting the patch.

It appears to be fixed in 'master' already, but like this, instead of using the attached patch:

    // make sure we not create a shallow copy each time to avoid
    // performance penalty.
    input2=vtkImageData::New();
    f->SetInputDataObject(input2);
    input2->Delete();
    needShallowCopy=true;

Perhaps this bug should be marked as "resolved" in VTK 'master'...?
(0031622)
John Biddiscombe   
2013-09-25 02:39   
Original patch was reviewed and a better fix using the more up to date pipeline set/get mechanism was used. Issue is now closed