[Gdal-dev] Error opening HDF file

Frank Warmerdam warmerdam at pobox.com
Thu May 31 12:48:05 EDT 2007


Miguel wrote:
> Hello,
> 
> I have a gdal compilation (release 1.4.0) with HDF4, HDF5 and Grass 
> support. I have a test program that opens and closes some HDF4 image 
> many times. The problem is when I have an HDF image wich has many 
> subdatasets, Gdal crashes when is trying to open the image for the 31st 
> time. That's the source code of my test program:
>

Miguel,

I suspect you are running into:

   http://trac.osgeo.org/gdal/ticket/1485

This fix was done after the 1.4.1 release, but should be available in the
nightly svn-stable snaphots.

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 Gdal-dev mailing list