[FWTools] GDALOpen craches the second time it is called....

Frank Warmerdam warmerdam at pobox.com
Thu May 15 00:41:53 EDT 2008


Kolberg Sjur A wrote:
> I managed to isolate the call that make the next GDALOpen() crash.
> 
> Consider this code and ignore the details of the CreateTransformedGrid()
> call, neither its parameters nor its result is relevant here. The first
> GDALOpen() call works OK, the second is identical, but crashes. Does anyone
> have a clue to how the CreateTransformedGrid() call can cause this ?

Sjur,

The obvious conclusion is that the CreateTransformedGrid() function is
doing something wrong, possibly corrupting the heap.  So i don't think it
is fair to ask us to ignore what CreateTransformedGrid() does but still
expect suggestions on what might be causing the problem.

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    | President OSGeo, http://osgeo.org



More information about the FWTools mailing list