-
Notifications
You must be signed in to change notification settings - Fork 7
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
heap corruption caused by tst_type_setvalue for MPI_TYPE_MIX_LB_UB #8
Comments
I can also reproduce this on Fedora 37 with gcc 12.2.1:
There is a bug in |
I ran into this problem, too, on AWS Graviton3 with ACFL 23.10 and OMPI branch v5.0.x. My observation from gdb and code is that there is problem with types whose Line 93 in 109d071
malloc(zero) , and then some tst_type_setvalue() functions, called by loops in the testssuite, come and write data to these zero-malloc-ed pointers as if they were valid addresses.
This issue may be the same as issue #7 as well. @BenWibking I applied your patch #11 but the segfault still occurs (maybe somewhere after). |
The MPI_TYPE_MIX_LB_UB does not have the lb or ub set to zero. According to OMPI datatype description we are looking at:
|
I get an out-of-bounds write detected when running (built with Clang's AddressSanitizer against OpenMPI 4.1.4):
Full log: mpi_test_suite_heap_corruption.txt
The text was updated successfully, but these errors were encountered: