From b46e15535aaaa1e8e3e582736e91e53ef52a5bfc Mon Sep 17 00:00:00 2001 From: Howard Pritchard Date: Fri, 4 Jan 2019 11:04:13 -0700 Subject: [PATCH] orte: shutdown be more careful about closing framewworks as part of orte_finalize. Owing to recent restructuring in opal to handle finalize in a more general fashion, the missing framework closes were causing meltdowns as the mca vars subsystem was cleaning itself up. This problem was recently reported by Siegmar: https://www.mail-archive.com/users@lists.open-mpi.org//msg32946.html Signed-off-by: Howard Pritchard --- orte/mca/ess/base/ess_base_std_orted.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/orte/mca/ess/base/ess_base_std_orted.c b/orte/mca/ess/base/ess_base_std_orted.c index 164099ade4d..a55c5115876 100644 --- a/orte/mca/ess/base/ess_base_std_orted.c +++ b/orte/mca/ess/base/ess_base_std_orted.c @@ -12,7 +12,7 @@ * Copyright (c) 2009 Institut National de Recherche en Informatique * et Automatique. All rights reserved. * Copyright (c) 2011 Cisco Systems, Inc. All rights reserved. - * Copyright (c) 2011-2013 Los Alamos National Security, LLC. All rights + * Copyright (c) 2011-2019 Los Alamos National Security, LLC. All rights * reserved. * Copyright (c) 2013-2018 Intel, Inc. All rights reserved. * Copyright (c) 2017 IBM Corporation. All rights reserved. @@ -675,6 +675,8 @@ int orte_ess_base_orted_finalize(void) (void) mca_base_framework_close(&orte_plm_base_framework); /* make sure our local procs are dead */ orte_odls.kill_local_procs(NULL); + (void) mca_base_framework_close(&orte_regx_base_framework); + (void) mca_base_framework_close(&orte_rmaps_base_framework); (void) mca_base_framework_close(&orte_rtc_base_framework); (void) mca_base_framework_close(&orte_odls_base_framework); (void) mca_base_framework_close(&orte_routed_base_framework);