[Gdal-dev] Null-Pointer in GDALOpen?

Tom Kazimiers 2voodoo at gmx.de
Mon Oct 22 10:00:05 EDT 2007


Hello there,

by playing around with GDAL I got some times the following error:

Errorcode: 0xc0000005
Erroradress: 0x011058a8
Read: 0x00000000

Looks like Null-Pointer for me.

The code producing this is the following:

GDALDataset *poDataset = (GDALDataset *) GDALOpen("a.tif", GA_ReadOnly );


The file "a.tif" exists and I have openend it several times until it
suddenly stopped working.
I tryed with a SVN build from today and got the same results.

What could cause such a failure in GDALOpen?

I am using Visual Studio 2005 and devolpe for Windows CE.

Thanks
Tom




More information about the Gdal-dev mailing list