This commit seems to have broken the tools. If I use orte-ps then on finalize I get an abort() with the following stack:

shell$ orte-ps
...
(gdb) bt
#0  0x00002aaaabcee155 in raise () from /lib64/libc.so.6
#1  0x00002aaaabcefbf0 in abort () from /lib64/libc.so.6
#2  0x00002aaaabce75d6 in __assert_fail () from /lib64/libc.so.6
#3 0x00002aaaaaf734e1 in opal_evsignal_dealloc (base=0x609f50) at signal.c:295 #4 0x00002aaaaaf73f36 in poll_dealloc (base=0x609f50, arg=0x60a9a0) at poll.c:390 #5 0x00002aaaaaf70667 in opal_event_base_free (base=0x609f50) at event.c:530
#6  0x00002aaaaaf70519 in opal_event_fini () at event.c:390
#7 0x00002aaaaaf5f624 in opal_finalize () at runtime/opal_finalize.c: 117
#8  0x00002aaaaacd4fc4 in orte_finalize () at runtime/orte_finalize.c:84
#9 0x000000000040196a in main (argc=1, argv=0x7fffffffdf38) at orte- ps.c:275

Any thoughts on why this is happening for only the tools case?

-- Josh

On Feb 14, 2009, at 4:51 PM, bosi...@osl.iu.edu wrote:

Author: bosilca
Date: 2009-02-14 16:51:09 EST (Sat, 14 Feb 2009)
New Revision: 20562
URL: https://svn.open-mpi.org/trac/ompi/changeset/20562

Log:
Release the default base on finalize.

Text files modified:
  trunk/opal/event/event.c |     4 ++++
  1 files changed, 4 insertions(+), 0 deletions(-)

Modified: trunk/opal/event/event.c
= = = = = = = = ======================================================================
--- trunk/opal/event/event.c    (original)
+++ trunk/opal/event/event.c 2009-02-14 16:51:09 EST (Sat, 14 Feb 2009)
@@ -386,6 +386,10 @@
    if (NULL != opal_event_module_include) {
        opal_argv_free(opal_event_module_include);
    }
+    if( NULL != opal_current_base ) {
+        event_base_free(opal_current_base);
+        opal_current_base = NULL;
+    }
    return OPAL_SUCCESS;
}

_______________________________________________
svn mailing list
s...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/svn

Reply via email to