Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: [OMPI devel] C/R code: opal_list_item_destruct: Assertion
From: Adrian Reber (adrian_at_[hidden])
Date: 2013-12-21 16:05:10

Trying to run Open MPI with C/R enabled I get the following error
with --enable-debug:

[dcbz:20360] orte_rml_base_select: initializing rml component oob
[dcbz:20360] orte_rml_base_select: initializing rml component ftrm
[dcbz:20360] orte_rml_base_select: module ftrm unloaded
orterun: ../../opal/class/opal_list.c:69: opal_list_item_destruct: Assertion `0 == item->opal_list_item_refcount' failed.
[dcbz:20360] *** Process received signal ***
[dcbz:20360] Signal: Aborted (6)
[dcbz:20360] Signal code: (-6)

I fixed it like this:

diff --git a/orte/mca/rml/base/rml_base_frame.c b/orte/mca/rml/base/rml_base_frame.c
index 8759180..968884f 100644
--- a/orte/mca/rml/base/rml_base_frame.c
+++ b/orte/mca/rml/base/rml_base_frame.c
@@ -181,6 +181,7 @@ int orte_rml_base_select(void)
             mca_base_component_repository_release((mca_base_component_t *) component);
+ opal_list_remove_item(&orte_rml_base_framework.framework_components, item);
         item = next;

Is this the correct way to solve an error like this? And the
correct place.