[Gdal-dev] crash ( access violation ) in GDAL when trying to
read a TIFF
Stephane Routelous
route at cae.com
Wed Sep 1 14:10:01 EDT 2004
here is the content of tiffvers.h :
#define TIFFLIB_VERSION_STR "LIBTIFF, Version 3.6.1\nCopyright (c) 1988-1996
Sam Leffler\nCopyright (c) 1991-1996 Silicon Graphics, Inc."
/*
* This define can be used in code that requires
* compilation-related definitions specific to a
* version or versions of the library. Runtime
* version checking should be done based on the
* string returned by TIFFGetVersion.
*/
#define TIFFLIB_VERSION 20031226
thx,
Stephane
-----Original Message-----
From: gdal-dev-bounces at xserve.flids.com
[mailto:gdal-dev-bounces at xserve.flids.com]On Behalf Of Andrey Kiselev
Sent: Wednesday, September 01, 2004 1:32 PM
To: 'gdal-dev at remotesensing.org'
Subject: Re: [Gdal-dev] crash ( access violation ) in GDAL when trying
to read a TIFF
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
_______________________________________________
Gdal-dev mailing list
Gdal-dev at xserve.flids.com
http://xserve.flids.com/mailman/listinfo/gdal-dev
More information about the Gdal-dev
mailing list