-
Notifications
You must be signed in to change notification settings - Fork 901
[5.0.0rc10] oshmem segfault in mca_memheap_modex_recv_all() #11430
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
Labels
Milestone
Comments
The segfault occurs because the send_buffer address is corrupted due to the size incorrect data type. |
Incomplete but illustrative patch is
|
Closed
rzambre
added a commit
to rzambre/ompi
that referenced
this issue
Mar 23, 2023
Fixes segfaults during shmem_init() reported in open-mpi#11430 and Signed-off-by: Rohit Zambre <[email protected]>
rzambre
added a commit
to rzambre/ompi
that referenced
this issue
Mar 23, 2023
Fixes segfaults during shmem_init() reported in open-mpi#11430 and Signed-off-by: Rohit Zambre <[email protected]>
@janjust Ping |
I'll close when PR goes in |
rzambre
added a commit
to rzambre/ompi
that referenced
this issue
Mar 31, 2023
Fixes segfaults during shmem_init() reported in open-mpi#11430 and Signed-off-by: Rohit Zambre <[email protected]>
rzambre
added a commit
to rzambre/ompi
that referenced
this issue
Mar 31, 2023
Fixes segfaults during shmem_init() reported in open-mpi#11430 and Signed-off-by: Rohit Zambre <[email protected]>
rzambre
added a commit
to rzambre/ompi
that referenced
this issue
Mar 31, 2023
Fixes segfaults during shmem_init() reported in open-mpi#11430 and open-mpi#11524. Signed-off-by: Rohit Zambre <[email protected]>
rzambre
added a commit
to rzambre/ompi
that referenced
this issue
Mar 31, 2023
Fixes segfaults during shmem_init() reported in open-mpi#11430 and open-mpi#11524. Signed-off-by: Rohit Zambre <[email protected]> (cherry picked from commit 974f0c3)
fixed with #11550 |
yli137
pushed a commit
to yli137/ompi
that referenced
this issue
Jan 10, 2024
Fixes segfaults during shmem_init() reported in open-mpi#11430 and Signed-off-by: Rohit Zambre <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you for taking the time to submit an issue!
Background information
What version of Open MPI are you using? (e.g., v3.0.5, v4.0.2, git branch name and hash, etc.)
5.0.0rc10 with ucx 1.13.1
Describe how Open MPI was installed (e.g., from a source/distribution tarball, from a git clone, from an operating system distribution package, etc.)
Source tarball
If you are building/installing from a git clone, please copy-n-paste the output from
git submodule status
.Please describe the system on which you are running
Details of the problem
The following oshmem program crashes in
mca_memheap_modex_recv_all()
inmemheap_base_mkey.c
. This is due to a type mismatch in the (third)size
argument to thePMIX_DATA_BUFFER_UNLOAD()
call, which expects size_t* but is given int*. There is an assert() in the preceding lines guarding against this scenario which appears outdated.A compiler type mismatch warning is also given for the char** vs. void** of the (second)
send_buffer
argument, though this is not a cause of the segfault.The text was updated successfully, but these errors were encountered: