Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2007-07-29 08:34:11


It looks like an explicit check for MPI_GROUP_EMPTY was removed from
group_free.c in r2623 by Edgar. I suspect that there is some subtle
reason for this.

Edgar: do you have any recollection why this is? And how we can
otherwise avoid the segv?

On Jul 28, 2007, at 6:40 PM, Lisandro Dalcin wrote:

> A simple test trying to free GROUP_EMPTY failed with the following
> trace.
>
> a.out: ../opal/class/opal_object.h:403: opal_obj_run_destructors:
> Assertion `((void *)0) != object->obj_class' failed.
> [trantor:19821] *** Process received signal ***
> [trantor:19821] Signal: Aborted (6)
> [trantor:19821] Signal code: (-6)
> [trantor:19821] [ 0] [0xcf5440]
> [trantor:19821] [ 1] /lib/libc.so.6(abort+0x101) [0x4fe3c591]
> [trantor:19821] [ 2] /lib/libc.so.6(__assert_fail+0xfb) [0x4fe3438b]
> [trantor:19821] [ 3] /usr/local/openmpi/dev/lib/libmpi.so.0 [0xe554e2]
> [trantor:19821] [ 4]
> /usr/local/openmpi/dev/lib/libmpi.so.0(ompi_group_finalize+0x66)
> [0xe55b69]
> [trantor:19821] [ 5]
> /usr/local/openmpi/dev/lib/libmpi.so.0(ompi_mpi_finalize+0x37a)
> [0xe62ab6]
> [trantor:19821] [ 6]
> /usr/local/openmpi/dev/lib/libmpi.so.0(PMPI_Finalize+0x5f) [0xe9ca6f]
> [trantor:19821] [ 7] a.out(main+0x2f) [0x804877d]
> [trantor:19821] [ 8] /lib/libc.so.6(__libc_start_main+0xdc)
> [0x4fe27f2c]
> [trantor:19821] [ 9] a.out [0x8048661]
> [trantor:19821] *** End of error message ***
> Aborted
>
>
> --
> Lisandro Dalcín
> ---------------
> Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
> Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
> Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
> PTLC - Güemes 3450, (3000) Santa Fe, Argentina
> Tel/Fax: +54-(0)342-451.1594
>
> _______________________________________________
> devel mailing list
> devel_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/devel

-- 
Jeff Squyres
Cisco Systems