[gdal-dev] gdalwarp crash when reading

Andrew Brooks arb at sat.dundee.ac.uk
Fri Sep 19 06:19:12 EDT 2008

On Fri, 19 Sep 2008 10:01:02 +0100, Andrew Brooks <arb at sat.dundee.ac.uk> wrote:
> gdalwarp is crashing and dumping core
> <VRTDataset rasterXSize="2048" rasterYSize="1021">
>    <VRTRasterBand dataType="UInt16" band="1" subClass="VRTRawRasterBand">
>      <SourceFilename relativetoVRT="1">input.dat.ch1</SourceFilename>
>      <ImageOffset>0</ImageOffset>
>      <PixelOffset>0</PixelOffset>
>      <LineOffset>0</LineOffset>
>    </VRTRasterBand>
> </VRTDataset>

It turns out that the PixelOffset value of zero caused the crash.  I set them
to zero for testing something but I am surprised that PixelOffset=0 would cause
such a crash!


More information about the gdal-dev mailing list