Hi everyone,
I am seeing a SegV with NetCDF 4.8.1 and HDF5 1.10.8 (note that the crash does not happen with NetCDF 4.8.1 and HDF 1.8.12) when trying to open and read a string variable twice while using different file handles. Please see the attached script that would create a .nc (NetCDF4) file and would try to read data from it. I had to rename it to main.txt from main.c otherwise I was unable to attach it.
I can see the crash on Windows and Linux.
Stack trace on Windows from my application:
[ 0] 0x00007ff83b968dcf H5F_addr_decode+00000111 at hdf5.dll+953807 (no debugging symbols found)
[ 1] 0x00007ff83bb7f01b H5T__vlen_set_loc+00001243 at hdf5.dll+3141659 (no debugging symbols found)
[ 2] 0x00007ff83bb72fee H5T__conv_vlen+00001454 at hdf5.dll+3092462 (no debugging symbols found)
[ 3] 0x00007ff83bb05537 H5T_convert+00000391 at hdf5.dll+2643255 (no debugging symbols found)
[ 4] 0x00007ff83b928826 H5D_get_create_plist+00001398 at hdf5.dll+690214 (no debugging symbols found)
[ 5] 0x00007ff83b8f45ab H5Dget_create_plist+00000299 at hdf5.dll+476587 (no debugging symbols found)
[ 6] 0x00007ff8470ddc14 nc4_H5Fopen+00000356 at netcdf.dll+384020 (no debugging symbols found)
[ 7] 0x00007ff8470dbd18 NC4_put_vlen_element+00003000 at netcdf.dll+376088 (no debugging symbols found)
[ 8] 0x00007ff8470dfd0c NC4_HDF5_inq_var_all+00000092 at netcdf.dll+392460 (no debugging symbols found)
[ 9] 0x00007ff84708d79d nc_inq_var+00000189 at netcdf.dll+55197 (no debugging symbols found)
Can you please confirm if this workflow is not supported or this crash is indeed a bug?
Thanks,
Nalini
main.txt
Hi everyone,
I am seeing a SegV with NetCDF 4.8.1 and HDF5 1.10.8 (note that the crash does not happen with NetCDF 4.8.1 and HDF 1.8.12) when trying to open and read a string variable twice while using different file handles. Please see the attached script that would create a .nc (NetCDF4) file and would try to read data from it. I had to rename it to main.txt from main.c otherwise I was unable to attach it.
I can see the crash on Windows and Linux.
Stack trace on Windows from my application:
[ 0] 0x00007ff83b968dcf H5F_addr_decode+00000111 at hdf5.dll+953807 (no debugging symbols found)
[ 1] 0x00007ff83bb7f01b H5T__vlen_set_loc+00001243 at hdf5.dll+3141659 (no debugging symbols found)
[ 2] 0x00007ff83bb72fee H5T__conv_vlen+00001454 at hdf5.dll+3092462 (no debugging symbols found)
[ 3] 0x00007ff83bb05537 H5T_convert+00000391 at hdf5.dll+2643255 (no debugging symbols found)
[ 4] 0x00007ff83b928826 H5D_get_create_plist+00001398 at hdf5.dll+690214 (no debugging symbols found)
[ 5] 0x00007ff83b8f45ab H5Dget_create_plist+00000299 at hdf5.dll+476587 (no debugging symbols found)
[ 6] 0x00007ff8470ddc14 nc4_H5Fopen+00000356 at netcdf.dll+384020 (no debugging symbols found)
[ 7] 0x00007ff8470dbd18 NC4_put_vlen_element+00003000 at netcdf.dll+376088 (no debugging symbols found)
[ 8] 0x00007ff8470dfd0c NC4_HDF5_inq_var_all+00000092 at netcdf.dll+392460 (no debugging symbols found)
[ 9] 0x00007ff84708d79d nc_inq_var+00000189 at netcdf.dll+55197 (no debugging symbols found)
Can you please confirm if this workflow is not supported or this crash is indeed a bug?
Thanks,
Nalini
main.txt