Ticket #4554 (closed defect: fixed)
gdalwarp does not properly close datasets in error conditions, can output errors in shared library unloading
| Reported by: | hsumanto | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Utilities | Version: | unspecified |
| Severity: | normal | Keywords: | netcdf |
| Cc: | etourigny, jluis, rouault, warmerdam |
Description (last modified by etourigny) (diff)
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"
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

