[vtkusers] [Paraview] 64 bit bug in vtkImageData

Mike Jackson imikejackson at gmail.com
Fri Mar 21 16:51:01 EDT 2008


.. And vtkDatasetSurfaceFilter::ExecuteFaceQuads() ..

On Fri, Mar 21, 2008 at 2:06 PM, Berk Geveci <berk.geveci at kitware.com> wrote:
> I will commit a fix next week. After this fix, is everything else working well?
>
>  -berk
>
>
>
>  On 3/21/08, Mike Jackson <imikejackson at gmail.com> wrote:
>  > While working with a rather large data set (5GB) I cam across a bug in
>  >  the vtkImageData.cxx file.
>  >
>  >  In the void vtkImageData::AllocateScalars(); method the following
>  >  should be used:
>  >
>  >   vtkIdType extent[6] ={ this->Extent[0], this->Extent[1], this->Extent[2],
>  >                          this->Extent[3], this->Extent[4], this->Extent[5]};
>  >
>  >  instead of
>  >   const int* extent = this->Extent;
>  >
>  >  The second version will lead to over flow errors if the extents are
>  >  large enough. (1800x1800x1800 in our case).
>  >
>  >  Should I file a bug or can someone with cvs access get this reviewed
>  >  and committed to cvs.
>  >  --
>  >  Mike Jackson
>  >  imikejackson _at_ gee-mail dot com
>  >
>  >  PS: Sorry for the cross post, but I wasn't sure which list to post to.
>  >  I was using the vtk from the ParaView CVS Head when i found the bug.
>  >  _______________________________________________
>  >  ParaView mailing list
>  >  ParaView at paraview.org
>  >  http://www.paraview.org/mailman/listinfo/paraview
>  >
>



-- 
Mike Jackson
imikejackson _at_ gee-mail dot com



More information about the vtkusers mailing list