[Gdal-dev] crash ( access violation ) in GDAL when trying to read a TIFF

Andrey Kiselev dron at ak4719.spb.edu
Wed Sep 1 13:31:51 EDT 2004


On Wed, Sep 01, 2004 at 11:26:24AM -0400, Stephane Routelous wrote:
> I'm using gdal1.2.1 on Windows.
> When I'm reading a tif file (for example the cramps-tile.tif file from the
> libtiff test images), I got a crash on windows (VisualC++ 6.0) using
> BoundChecker.
> If I run the test in debug without Boundchecker or in release without
> boundchecker, it works fine.
> 
> The code is simply :
> 	GDALAllRegister();
> 	GDALDataset* m_gdalDataSet = (GDALDataset *) GDALOpen(
> "C:\\TestDB\\cramps-tile.tif", GA_ReadOnly ); //crash here
> 	GDALClose(m_gdalDataSet);
> 
> the error is reported to occur in tif_dirinfo.c line 292 :

The first question is: what libtiff version do you use?

						Andrey

-- 
Andrey V. Kiselev
Home phone:  +7 812 5274898  ICQ# 26871517



More information about the Gdal-dev mailing list