Crash when copying a group with references to another file #3429
Labels
Component - C Library
Core C library issues (usually in the src directory)
Component - Tools
Command-line tools like h5dump, includes high-level tools
Priority - 1. High 🔼
These are important issues that should be resolved in the next release
Type - Bug / Bugfix
Please report security issues to [email protected] instead of creating an issue on GitHub
Milestone
Describe the bug
HDF5 crashes when copy "/composite_cae/Meshes/M1/Element_Types" of the linked file at the end of this report. The crash occurs with hdf5 1.12 and 1.14 when using the c++ API, h5py or the hdf5 tools.
"C:\Program Files\HDF_Group\HDF5\1.14.1\bin\h5copy.exe" -v -f ref -i "D:\tmp\input_mech.h5" -s "/composite_cae/" -o "D:\tmp\output.h5" -d "/copy"
The crash occurs also when using c++ H5OCopy.
Expected behavior
The group is copied to the file and the references are updated correctly
Platform (please complete the following information)
Additional context
The crash disappears if the mesh (number of elements and nodes) is smaller.
Attachements
Linked file
The text was updated successfully, but these errors were encountered: