[vtk-developers] [VTK 0012229]: vtkImageAppend does not work correctly with multiple threads
Mantis Bug Tracker
mantis at public.kitware.com
Fri May 27 07:19:25 EDT 2011
The following issue has been SUBMITTED.
======================================================================
http://www.vtk.org/Bug/view.php?id=12229
======================================================================
Reported By: Dominik Szczerba
Assigned To:
======================================================================
Project: VTK
Issue ID: 12229
Category: (No Category)
Reproducibility: always
Severity: crash
Priority: normal
Status: new
======================================================================
Date Submitted: 2011-05-27 07:19 EDT
Last Modified: 2011-05-27 07:19 EDT
======================================================================
Summary: vtkImageAppend does not work correctly with multiple
threads
Description:
vtkImageAppend only works correctly with one thread. With more
it crashes reporting incorrect input/output pointers.
Steps to Reproduce:
append = vtkImageAppend()
append.SetPreserveExtents(1)
# append.SetNumberOfThreads(1) # uncomment to prevent the crash
for i in range(NINPUTS):
filename = args[i]
reader = vtkXMLImageDataReader()
reader.SetFileName(filename)
reader.Update()
dataset = vtkImageData()
dataset.DeepCopy(reader.GetOutput())
append.AddInput(dataset)
append.Update()
Result:
ERROR: In /home/domel/pack/vtk-5.6.1/Filtering/vtkImageData.cxx, line 2094
vtkImageData (0x2c246a0): GetPointer: Pixel (0, 0, 269) not in current extent:
(0, 575, 0, 447, 101, 220)
ERROR: In /home/domel/pack/vtk-5.6.1/Filtering/vtkImageData.cxx, line 2094
vtkImageData (0x2c246a0): GetPointer: Pixel (0, 0, 245) not in current extent:
(0, 575, 0, 447, 101, 220)
ERROR: In /home/domel/pack/vtk-5.6.1/Filtering/vtkImageData.cxx, line 2094
vtkImageData (0x2c246a0): GetPointer: Pixel (0, 0, 221) not in current extent:
(0, 575, 0, 447, 101, 220)
Segmentation fault
Additional Information:
See the vtk mailing list thread "vtkImageAppend does not work correctly with
multiple threads"
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2011-05-27 07:19 Dominik SzczerbaNew Issue
2011-05-27 07:19 Dominik SzczerbaFile Added: data.tar.bz2
======================================================================
More information about the vtk-developers
mailing list