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

Handle I/O failures with HDF5 #8

Open
jtebert opened this issue Nov 1, 2018 · 3 comments
Open

Handle I/O failures with HDF5 #8

jtebert opened this issue Nov 1, 2018 · 3 comments

Comments

@jtebert
Copy link
Owner

jtebert commented Nov 1, 2018

There are examples of using try/catch for this in the HDF5 tutorial examples.

These might also be the cause of some intermittent segfaults?

@jtebert
Copy link
Owner Author

jtebert commented Nov 1, 2018

(Segfaults might also be caused by unclosed files, or for that occasional segfault at the end, by something with shared pointers)

@jtebert
Copy link
Owner Author

jtebert commented Nov 16, 2018

Program segfaults at end if the H5 file did not exist before running the simulation. Everything seems to work and the data is correctly saved, though. I suspect it's somewhere in a destructor.

@jtebert
Copy link
Owner Author

jtebert commented Aug 27, 2019

Another one: if the folder for the logger doesn't exist, the programs fails with an error message and exists gracefully, but the error message isn't informative. (Generic HDF IO error, I think.)

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