Draft: This one core dumps for me
I didn't check on the text file workaround yet. Just "test.sh > /dev/null" and relaunch it a few times if it doesn't die soon. Spinning on the root index might help to get crashes more often. The error was in: H5G_iterate () from /lib/x86_64-linux-gnu/libhdf5_openmpi.so.103, H5Literate_by_name, ...
Sorry ...