crashes due to interactions between OMPIO, HDF5, and Darshan
OpenMPI applications (4.0.5 and 4.1.0 tested) that generate zero-length file views and also use Darshan MPI-IO instrumentation (versions 3.2.0+) will crash in a call to
MPI_File_get_byte_offset() made by Darshan wrappers.
This access pattern can be triggered by creating zero-length dataspaces in HDF5, as well, which prompted the initial bug report.
Bug appears to be in OpenMPI's OMPIO driver, and they are currently investigating. The ROMIO driver works fine.
We will investigate whether we can disable the
MPI_File_get_byte_offset() calls for OpenMPI applications to help protect against this.
See for more details (and a reproducer not relying on Darshan or HDF5 code):