From a4bdcb4faac017e548f467a9b5278fa0154a0051 Mon Sep 17 00:00:00 2001 From: Andrew Friedley Date: Mon, 13 Nov 2006 20:12:51 +0000 Subject: [PATCH] Fix a segfault that turned up in more MPI_THREAD_MULTIPLE testing. Same sort of problem and fix as described in r12323 - mca_pml_ob1_recv_frag_progress() was segfaulting due to a NULL req_proc pointer. The path leading to this was through the mca_pml_ob1_check_cantmatch_for_match() function, where we can match a frag using the same macros as mca_pml_ob1_frag_match() and never initialize the req_proc pointer. This commit was SVN r12582. The following SVN revision numbers were found above: r12323 --> open-mpi/ompi@c752502deeed9301f7504f6c81e0e620ca2d66a5 --- ompi/mca/pml/ob1/pml_ob1_recvfrag.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ompi/mca/pml/ob1/pml_ob1_recvfrag.c b/ompi/mca/pml/ob1/pml_ob1_recvfrag.c index 0489f4d3dc..0bcae70df3 100644 --- a/ompi/mca/pml/ob1/pml_ob1_recvfrag.c +++ b/ompi/mca/pml/ob1/pml_ob1_recvfrag.c @@ -737,6 +737,7 @@ rematch: /* if match found, process data */ if (match) { + match->req_recv.req_base.req_proc = proc->ompi_proc; /* * If this was a probe need to queue fragment on unexpected list