The data-check compile-time option seems poorly debugged.
1. Compile IMB-MPI1 with data-check enabled (-DCHECK)
2. Create a msg_lengths file (for L in `seq 0 100`; do echo $L >> msg_len.txt; done)
3. Run with your favorite MPI implementation using two processes, the simples possible way, with the following arguments to IMB-MPI1:
-msglen msg_len.txt -iter 1 Exchange
and terrible things happens.
For example, with Open MPI and the command line: