[gdal-dev] GDALClose

Frank Warmerdam warmerdam at pobox.com
Mon Jul 13 14:49:45 EDT 2009


Adeel Raza wrote:
> Hi Frank,
> 
> I recently called GDALClose() on a virtual dataset (created from 
> GDALAutoCreateWarpedVRT()), and it was causing writing violation errors 
> and privileged instruction errors on the line following the GDALClose() 
> call. Can you shed any light on this matter? Thanks.

Adeel,

Not really - at least not without further information about what your code
was doing.

One possibility is that you were explicitly closing the datasets referenced
by the virtual dataset and when it closed and tried to deallocate them a
double free occurred.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the gdal-dev mailing list