Easily reproducible segfault with vtkImageChangeInformation (related to Executives)
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
Connecting some input to vtkImageChangeInformation, calling Update() on its output, disconnecting its input and then calling PropagateUpdateExtent() on its output causes a segfault.
To reproduce this, run the small Python sample I've made available: http://visualisation.tudelft.nl/~cpbotha/files/kitware/vtkChangeImageInformationBreakage.py (I'll also attache it to the bug report)
From the backtrace, the problem occurs somewhere in the new vtkInformation framework (which I don't understand yet) and thus seems to be related to the new pipeline system.
Here is the backtrace: #0 0x407287e3 in vtkInformation::GetAsObjectBase (this=0x0, key=0x817a340) at /home/cpbotha/DoNotBackup/build/VTK/Filtering/vtkInformation.cxx:99 99 { (gdb) bt #0 0x407287e3 in vtkInformation::GetAsObjectBase (this=0x0, key=0x817a340) at /home/cpbotha/DoNotBackup/build/VTK/Filtering/vtkInformation.cxx:99 #1 0x4072ea45 in vtkInformationKey::GetAsObjectBase (this=0x817a340, info=0x0) at /home/cpbotha/DoNotBackup/build/VTK/Filtering/vtkInformationKey.cxx:33 #2 0x4072dba5 in vtkInformationIntegerVectorKey::Set (this=0x817a340, info=0x0, value=0xbfffef94, length=6) at /home/cpbotha/DoNotBackup/build/VTK/Filtering/vtkInformationIntegerVectorKey.cxx:86 #3 0x40729148 in vtkInformation::Set (this=0x0, key=0x817a340, value=0xbfffef94, length=6) at /home/cpbotha/DoNotBackup/build/VTK/Filtering/vtkInformation.cxx:265 #4 0x40f65428 in vtkImageChangeInformation::RequestUpdateExtent ( this=0x814ed38, inputVector=0x8179f80, outputVector=0x825ec48) at /home/cpbotha/DoNotBackup/build/VTK/Imaging/vtkImageChangeInformation.cxx:253 #5 0x407043a3 in vtkImageAlgorithm::ProcessRequest (this=0x814ed38, request=0x8264708, inputVector=0x8179f80, outputVector=0x825ec48) at /home/cpbotha/DoNotBackup/build/VTK/Filtering/vtkImageAlgorithm.cxx:165 #6 0x406d8eae in vtkExecutive::CallAlgorithm (this=0x825d2a0, request=0x82646c8, direction=0) at /home/cpbotha/DoNotBackup/build/VTK/Filtering/vtkExecutive.cxx:616 #7 0x40788117 in vtkStreamingDemandDrivenPipeline::ProcessRequest ( this=0x825d2a0, request=0x8264430) ---Type <return> to continue, or q <return> to quit--- at /home/cpbotha/DoNotBackup/build/VTK/Filtering/vtkStreamingDemandDrivenPipeline.cxx:107 #8 0x407891fa in vtkStreamingDemandDrivenPipeline::PropagateUpdateExtent ( this=0x825d2a0, outputPort=0) at /home/cpbotha/DoNotBackup/build/VTK/Filtering/vtkStreamingDemandDrivenPipeline.cxx:433 #9 (closed) 0x406c539c in vtkDataObject::PropagateUpdateExtent (this=0x825ed28) at /home/cpbotha/DoNotBackup/build/VTK/Filtering/vtkDataObject.cxx:601 #10 0x4048846f in PyvtkDataObject_PropagateUpdateExtent (self=0x825d250, args=0x81000a4) at /home/cpbotha/DoNotBackup/build/VTK-gcc/Filtering/vtkDataObjectPython.cxx:718