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

Unwelcome and unexpected output for tst_files6.c #1181

Closed
edhartnett opened this issue Nov 7, 2018 · 4 comments
Closed

Unwelcome and unexpected output for tst_files6.c #1181

edhartnett opened this issue Nov 7, 2018 · 4 comments

Comments

@edhartnett
Copy link
Contributor

nc_test4/tst_files6 has some nasty-looking output:

begin tst_files6.log
HDF5-DIAG: Error detected in HDF5 (1.10.4) thread 0:
  #000: H5O.c line 120 in H5Oopen(): unable to open object
    major: Object header
    minor: Can't open object
  #001: H5Oint.c line 596 in H5O__open_name(): unable to open object
    major: Object header
    minor: Can't open object
  #002: H5Oint.c line 551 in H5O_open_name(): object not found
    major: Object header
    minor: Object not found
  #003: H5Gloc.c line 422 in H5G_loc_find(): can't find object
    major: Symbol table
    minor: Object not found
  #004: H5Gtraverse.c line 851 in H5G_traverse(): internal path traversal failed
    major: Symbol table
    minor: Object not found
  #005: H5Gtraverse.c line 603 in H5G__traverse_real(): special link traversal failed
    major: Links
    minor: Link traversal failure
  #006: H5Gtraverse.c line 396 in H5G__traverse_special(): symbolic link traversal failed
    major: Links
    minor: Link traversal failure
  #007: H5Gtraverse.c line 327 in H5G__traverse_slink(): unable to follow symbolic link
    major: Symbol table
    minor: Object not found
  #008: H5Gtraverse.c line 627 in H5G__traverse_real(): traversal operator failed
    major: Symbol table
    minor: Callback failed
  #009: H5Gtraverse.c line 132 in H5G__traverse_slink_cb(): component not found
    major: Symbol table
    minor: Object not found
HDF5-DIAG: Error detected in HDF5 (1.10.4) thread 0:
  #000: H5L.c line 1138 in H5Literate(): link iteration failed
    major: Links
    minor: Iteration failed
  #001: H5L.c line 3440 in H5L__iterate(): link iteration failed
    major: Links
    minor: Iteration failed
  #002: H5Gint.c line 893 in H5G_iterate(): error iterating over links
    major: Symbol table
    minor: Iteration failed
  #003: H5Gobj.c line 698 in H5G__obj_iterate(): can't iterate over symbol table
    major: Symbol table
    minor: Iteration failed
  #004: H5Gstab.c line 557 in H5G__stab_iterate(): iteration operator failed
    major: Symbol table
    minor: Can't move to next iterator location
  #005: H5B.c line 1211 in H5B_iterate(): B-tree iteration failed
    major: B-Tree node
    minor: Iteration failed
  #006: H5B.c line 1167 in H5B__iterate_helper(): B-tree iteration failed
    major: B-Tree node
    minor: Iteration failed
  #007: H5Gnode.c line 1015 in H5G__node_iterate(): iteration operator failed
    major: Symbol table
    minor: Can't move to next iterator location
  #008: H5O.c line 120 in H5Oopen(): unable to open object
    major: Object header
    minor: Can't open object
  #009: H5Oint.c line 596 in H5O__open_name(): unable to open object
    major: Object header
    minor: Can't open object
  #010: H5Oint.c line 551 in H5O_open_name(): object not found
    major: Object header
    minor: Object not found
  #011: H5Gloc.c line 422 in H5G_loc_find(): can't find object
    major: Symbol table
    minor: Object not found
  #012: H5Gtraverse.c line 851 in H5G_traverse(): internal path traversal failed
    major: Symbol table
    minor: Object not found
  #013: H5Gtraverse.c line 603 in H5G__traverse_real(): special link traversal failed
    major: Links
    minor: Link traversal failure
  #014: H5Gtraverse.c line 396 in H5G__traverse_special(): symbolic link traversal failed
    major: Links
    minor: Link traversal failure
  #015: H5Gtraverse.c line 327 in H5G__traverse_slink(): unable to follow symbolic link
    major: Symbol table
    minor: Object not found
  #016: H5Gtraverse.c line 627 in H5G__traverse_real(): traversal operator failed
    major: Symbol table
    minor: Callback failed
  #017: H5Gtraverse.c line 132 in H5G__traverse_slink_cb(): component not found
    major: Symbol table
    minor: Object not found

*** Testing netcdf file functions some more.
*** testing Jeff Whitaker's test...ok.
*** testing HDF5 file with circular group structure...ok.
*** Tests successful!
end tst_files6.log
PASS: tst_files6

It's really fine, the test is correctly rejecting a HDF5 file with circular group links. But I'm not sure why we are seeing the HDF5 error messages. I will investigate.

@DennisHeimbigner
Copy link
Collaborator

I assume it means that somewhere, the nc_log level is set to 0 or greater.

@edhartnett
Copy link
Contributor Author

Yes, just have to figure out what is going on and fix it. ;-)

@DennisHeimbigner
Copy link
Collaborator

Set a breakpoint in set_auto and see what the stack looks like.

@edhartnett
Copy link
Contributor Author

OK, this was caused because of a special test I was doing calling H5close(). This causes HDF5 to forget the state of error printing. Fixed in a PR that's up now.

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

2 participants