Hello,

some more info thanks to Mark Hymers:

the culprit seems to be in NetCDF, netcdf/libsrc4/nc4file.c, line 2770:

   if (!numfiles)
   {      
      /* If all files have been closed, close he HDF5 library. This will
       * clean up some stuff that HDF5 is leaving open. */
      if ((retval = H5close()) < 0)
         return NC_EHDFERR;

      /* Reset the ncid numbers. */
      last_file_id = 0;
   }

Indeed, if in my test case I keep a file open during the whole time, the
error doesn't happen.

According to http://www.hdfgroup.org/HDF5/doc/RM/RM_H5.html#Library-Close,
there is no need for that function to be called, since it's already
hooked into exit().

I'm now reassigning the bug to src:netcdf.


Ciao,

Enrico

-- 
GPG key: 4096R/E7AD5568 2009-05-08 Enrico Zini <enr...@enricozini.org>

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to