-
Notifications
You must be signed in to change notification settings - Fork 900
segv in type_dup_fn_* Fortran tests #6346
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
Comments
@ggouaillardet @bosilca Can you please investigate? |
@jsquyres will do ! |
ggouaillardet
added a commit
to ggouaillardet/ompi
that referenced
this issue
Feb 1, 2019
Reset ptypes when cloning a datatype in order to prevent a double free() in the opal_datatype_t destructor. This fixes a bug introduced in open-mpi/ompi@7c938f0 Fixes open-mpi#6346 Signed-off-by: Gilles Gouaillardet <[email protected]>
ggouaillardet
added a commit
to jsquyres/ompi
that referenced
this issue
Feb 1, 2019
Reset ptypes when cloning a datatype in order to prevent a double free() in the opal_datatype_t destructor. This fixes a bug introduced in open-mpi/ompi@7c938f0 Fixes open-mpi#6346 Signed-off-by: Gilles Gouaillardet <[email protected]> (cherry picked from commit open-mpi/ompi@b395342)
hppritcha
pushed a commit
to hppritcha/ompi
that referenced
this issue
Mar 19, 2019
Reset ptypes when cloning a datatype in order to prevent a double free() in the opal_datatype_t destructor. This fixes a bug introduced in open-mpi/ompi@7c938f0 Fixes open-mpi#6346 Signed-off-by: Gilles Gouaillardet <[email protected]>
bosilca
pushed a commit
to bosilca/ompi
that referenced
this issue
Sep 13, 2019
Reset ptypes when cloning a datatype in order to prevent a double free() in the opal_datatype_t destructor. This fixes a bug introduced in open-mpi/ompi@7c938f0 Fixes open-mpi#6346 Signed-off-by: Gilles Gouaillardet <[email protected]> (cherry picked from commit open-mpi/ompi@b395342)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On master head, I see that the IBM tests for duplicating datatypes are consistently segv'ing:
This happens in all 3 of the Fortran tests (
type_dup_fn_[mpih|usempi|usempif08]
). It does not seem to happen in the C version of this same test (type_dup_fn
), which is... weird.Here's a stack trace from a resulting corefile:
I notice that a
free()
is failing because it appears to be freeingdatatype->ptypes
, which appears to be a non-malloc'ed pointer somehow:@bosilca I tried to dig into this but couldn't figure out where
ptypes
came from...The text was updated successfully, but these errors were encountered: