Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

H5Iget_name(): can't retrieve object location #102

Open
schwehr opened this issue Oct 1, 2018 · 0 comments
Open

H5Iget_name(): can't retrieve object location #102

schwehr opened this issue Oct 1, 2018 · 0 comments

Comments

@schwehr
Copy link

schwehr commented Oct 1, 2018

In upgrading to hdf5 807187e2f200e63, I am running into a bunch of failures with torch-hdf5 at head built with bazel on linux. hdf5_test_reference passes, but the rest fail.

hdf5_test_data:

1/7 testDoubleTensor .................................................... [WAIT]HDF5-DIAG: Error detected in HDF5 (1.9.234) thread 140294485233664:
  #000: third_party/hdf5/src/H5I.c line 2049 in H5Iget_name(): can't retrieve object location
    major: Object atom
    minor: Can't get value
  #001: third_party/hdf5/src/H5Gloc.c line 253 in H5G_loc(): invalid object ID
    major: Invalid arguments to routine
    minor: Bad value
1/7 testDoubleTensor .................................................... [ERROR]
2/7 testLongTensor ...................................................... [WAIT]HDF5-DIAG: Error detected in HDF5 (1.9.234) thread 140294485233664:
  #000: third_party/hdf5/src/H5I.c line 2049 in H5Iget_name(): can't retrieve object location
    major: Object atom
    minor: Can't get value
  #001: third_party/hdf5/src/H5Gloc.c line 253 in H5G_loc(): invalid object ID
    major: Invalid arguments to routine
    minor: Bad value
2/7 testLongTensor ...................................................... [ERROR]
3/7 testShortTensor ..................................................... [WAIT]HDF5-DIAG: Error detected in HDF5 (1.9.234) thread 140294485233664:
  #000: third_party/hdf5/src/H5I.c line 2049 in H5Iget_name(): can't retrieve object location
    major: Object atom
    minor: Can't get value
  #001: third_party/hdf5/src/H5Gloc.c line 253 in H5G_loc(): invalid object ID
    major: Invalid arguments to routine
    minor: Bad value
3/7 testShortTensor ..................................................... [ERROR]
4/7 testIntTensor ....................................................... [WAIT]HDF5-DIAG: Error detected in HDF5 (1.9.234) thread 140294485233664:
  #000: third_party/hdf5/src/H5I.c line 2049 in H5Iget_name(): can't retrieve object location
    major: Object atom
    minor: Can't get value
  #001: third_party/hdf5/src/H5Gloc.c line 253 in H5G_loc(): invalid object ID
    major: Invalid arguments to routine
    minor: Bad value
4/7 testIntTensor ....................................................... [ERROR]
5/7 testFloatTensor ..................................................... [WAIT]HDF5-DIAG: Error detected in HDF5 (1.9.234) thread 140294485233664:
  #000: third_party/hdf5/src/H5I.c line 2049 in H5Iget_name(): can't retrieve object location
    major: Object atom
    minor: Can't get value
  #001: third_party/hdf5/src/H5Gloc.c line 253 in H5G_loc(): invalid object ID
    major: Invalid arguments to routine
    minor: Bad value
5/7 testFloatTensor ..................................................... [ERROR]
6/7 testByteTensor ...................................................... [WAIT]HDF5-DIAG: Error detected in HDF5 (1.9.234) thread 140294485233664:
  #000: third_party/hdf5/src/H5I.c line 2049 in H5Iget_name(): can't retrieve object location
    major: Object atom
    minor: Can't get value
  #001: third_party/hdf5/src/H5Gloc.c line 253 in H5G_loc(): invalid object ID
    major: Invalid arguments to routine
    minor: Bad value
6/7 testByteTensor ...................................................... [ERROR]
7/7 testNonContiguous ................................................... [WAIT]HDF5-DIAG: Error detected in HDF5 (1.9.234) thread 140294485233664:
  #000: third_party/hdf5/src/H5I.c line 2049 in H5Iget_name(): can't retrieve object location
    major: Object atom
    minor: Can't get value
  #001: third_party/hdf5/src/H5Gloc.c line 253 in H5G_loc(): invalid object ID
    major: Invalid arguments to routine
    minor: Bad value
7/7 testNonContiguous ................................................... [ERROR]
Completed 0 asserts in 7 tests with 0 failures and 7 errors and 1 warning

and

	third_party/lua/hdf5/hdf5/ffi.lua:353: in function '_getObjectType'
	third_party/lua/hdf5/hdf5/ffi.lua:368: in function '_describeObject'
	third_party/lua/hdf5/hdf5/file.lua:45: in function 'tostring'
	third_party/lua/hdf5/hdf5/file.lua:17: in function '__init'

Looks to be the same as:

https://stackoverflow.com/questions/39220312/use-torch-hdf5-to-save-tensor-to-hdf5/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant