Hi,
When using the carto/file module with a syntactically incorrect carto
file, we get stuck into opal_carto_base_select().
The attached trivial patch fixes the issue.
Regards,
Nadia
--
nadia.derbey <[email protected]>
Fix a hang in carto_base_select if carto_module_init fails
diff -r 94299d729b95 opal/mca/carto/base/carto_base_select.c
--- a/opal/mca/carto/base/carto_base_select.c Sat Jun 25 17:37:37 2011 +0000
+++ b/opal/mca/carto/base/carto_base_select.c Mon Jun 27 16:51:27 2011 +0200
@@ -66,7 +66,6 @@ cleanup:
if (NULL != opal_carto_base_module) {
if (OPAL_SUCCESS != (ret = opal_carto_base_module->carto_module_init()) ) {
exit_status = ret;
- goto cleanup;
}
}