gdalwarp does not properly close datasets in error conditions, can output errors in shared library unloading
|Reported by:||hsumanto||Owned by:||warmerdam|
|Cc:||etourigny, jluis, Even Rouault, warmerdam|
Description (last modified by )
I have two netcdf files containing multiple datasets. The netCDF driver produces some HDF5-DIAG error message on the first file but on the second file, the driver handles it without any error.
gdalwarp -of netCDF multipledataset1.nc dataset1.nc Warning 1: No UNIDATA NC_GLOBAL:Conventions attribute Input file multipledataset1.nc has no raster bands. HDF5-DIAG: Error detected in HDF5 (1.8.8) thread 0: #000: H5T.c line 1721 in H5Tclose(): not a datatype major: Invalid arguments to routine minor: Inappropriate type gdalwarp -of netCDF multipledataset2.nc dataset2.nc2 Input file multipledataset2.nc has no raster bands.
Previous summary was "HDF5-DIAG Error detected when processing netcdf file with multiple datasets"
Change History (11)
comment:10 by , 10 years ago
|Component:||default → Utilities|
|Status:||new → closed|
|Summary:||HDF5-DIAG Error detected when processing netcdf file with multiple datasets → gdalwarp does not properly close datasets in error conditions, can output errors in shared library unloading|