From f3b36fdf6ed10b1a1f2c7e7e8e01d8eed48f729a Mon Sep 17 00:00:00 2001 From: Gilles Gouaillardet Date: Fri, 14 Nov 2014 16:17:28 +0900 Subject: [PATCH] orted/pmix: fix pmix_server_release when several jobids are running on the same node --- orte/orted/pmix/pmix_server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orte/orted/pmix/pmix_server.c b/orte/orted/pmix/pmix_server.c index 5a8bb5b017..01f25d6d35 100644 --- a/orte/orted/pmix/pmix_server.c +++ b/orte/orted/pmix/pmix_server.c @@ -816,7 +816,7 @@ static void pmix_server_release(int status, proc_peer = orte_get_proc_object(&peer->name); /* check if peer has an access to the shared memory dstore segment. * If not, just send a reply with all data. */ - if (!ORTE_FLAG_TEST(proc_peer, ORTE_PROC_FLAG_SM_ACCESS)) { + if (NULL == proc_peer || !ORTE_FLAG_TEST(proc_peer, ORTE_PROC_FLAG_SM_ACCESS)) { OBJ_RETAIN(reply); PMIX_SERVER_QUEUE_SEND(peer, lcl->tag, reply); } else {