Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

From: Ferris McCormick (fmccor_at_[hidden])
Date: 2005-09-14 09:42:09


Here is a bit more on the sparc/linux SegFault from everything unless
configured with --enable-debug:

On Mon, 2005-09-12 at 13:34 -0500, Brian Barrett wrote:
> Ok, I see what's happening, although I'm not sure the two problems
> are actually related. The first is that the component to provide
> high resolution timer support on Linux is disabling itself because:
>
> .
>

> >
> > And here's a back-trace from ompi_info:
> > ==========================================
> > Program received signal SIGSEGV, Segmentation fault.
> > opal_output_close (output_id=1880710872) at opal_object.h:409
> > 409 for (i = 0; i < cls->cls_depth; i++) {
> > Current language: auto; currently c
> > (gdb) bt
> > #0 opal_output_close (output_id=1880710872) at opal_object.h:4
> > #1 0x700d8e00 in mca_topo_base_close () at topo_base_close.c:46
> > #2 0x00016aa4 in close_components () at components.cc:254
> > #3 0x00018bbc in main (argc=1, argv=0xefa253f4) at ompi_info.cc:251
> > =============================================
> > HOWEVER: If I configure with --enable-debug, two things happen:
> > 1. I have to build ompi/mca/rcache/rb by hand because of incorrect
> > CFLAGS;
> > 2. The SegFault disappears.

Here's a little more information on the Segfault. It is coming from
    OBJ_DESTRUCT(&verbose);
in
void opal_output_close(int output_id) (in opal/util/output.c)

Indeed, if I just comment out that OBJ_DESTRUCT line, everything runs
"normally," although that does not look like a very good fix.

Regards,
Ferris

-- 
Ferris McCormick (P44646, MI) <fmccor_at_[hidden]>
Developer, Gentoo Linux (Sparc, Devrel)