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

hdf5 bug for segarray with nan and empty segments #3658

Closed
stress-tess opened this issue Aug 13, 2024 · 0 comments · Fixed by #3660
Closed

hdf5 bug for segarray with nan and empty segments #3658

stress-tess opened this issue Aug 13, 2024 · 0 comments · Fixed by #3660
Assignees
Labels
bug Something isn't working File IO Arkouda file IO capabilities

Comments

@stress-tess
Copy link
Member

Running TestHDF5::test_read_and_write_with_dict with multilocale and runtime checks, I found the following error:

arkouda//src/HDF5Msg.chpl:1229: error: halt reached - Can't create a C pointer for an array with 0 elements.

I was able to narrow this down to column 8 which is a float segarray containing NaNs and empty segments

Reproducer:

ARKOUDA_RUNNING_MODE=CLIENT python3 -m pytest PROTO_tests/tests/io_test.py::TestHDF5::test_read_and_write_with_dict
@stress-tess stress-tess added bug Something isn't working File IO Arkouda file IO capabilities labels Aug 13, 2024
@stress-tess stress-tess self-assigned this Aug 13, 2024
@stress-tess stress-tess changed the title hdf5 bug for float segarray in io_test hdf5 bug for float segarray with nan and empty segments in io_test Aug 13, 2024
@stress-tess stress-tess changed the title hdf5 bug for float segarray with nan and empty segments in io_test hdf5 bug for float segarray with nan and empty segments Aug 13, 2024
@stress-tess stress-tess changed the title hdf5 bug for float segarray with nan and empty segments hdf5 bug for segarray with nan and empty segments Aug 13, 2024
stress-tess added a commit to stress-tess/arkouda that referenced this issue Aug 14, 2024
This PR (closes Bears-R-Us#3658) fixes a bug when using hdf5 to write a segarray with nans and empty segments
github-merge-queue bot pushed a commit that referenced this issue Aug 14, 2024
This PR (closes #3658) fixes a bug when using hdf5 to write a segarray with nans and empty segments

Co-authored-by: Tess Hayes <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working File IO Arkouda file IO capabilities
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant