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

Fix race condition with parallel HDF5 calls #345

Merged
merged 8 commits into from
Jun 28, 2021
Merged

Conversation

dweindl
Copy link
Member

@dweindl dweindl commented Jun 28, 2021

Fixes segfaults with some versions of the HDF5 library

@sonarqubecloud
Copy link

@dweindl dweindl merged commit eb33a10 into develop Jun 28, 2021
@dweindl dweindl deleted the fix_hdf5_locking branch June 28, 2021 20:15
dweindl added a commit that referenced this pull request Jul 13, 2021
* Fix race condition with parallel HDF5 calls

Add some locks, in particular for H5Location::nameExists.
Also remove some unnecessary H5File::getId calls.

* Safely close HDF5 files

* Check pthread_create retval

* cleanup
@dweindl dweindl mentioned this pull request Jul 13, 2021
dweindl added a commit that referenced this pull request Jul 13, 2021
* Fix race condition with parallel HDF5 calls

Add some locks, in particular for H5Location::nameExists.
Also remove some unnecessary H5File::getId calls.

* Safely close HDF5 files

* Check pthread_create retval

* cleanup
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

Successfully merging this pull request may close these issues.

1 participant