[Pkg-openmpi-maintainers] Bug#435581: Bug#435581: openmpi-bin: Segfault on Debian GNU/kFreeBSD

Dirk Eddelbuettel edd at debian.org
Wed Aug 1 19:34:41 UTC 2007


Hi Uwe,

Thanks also for the previous patch which I'll plan to aplly.

On Wed, Aug 01, 2007 at 09:15:17PM +0200, Uwe Hermann wrote:
> Package: openmpi-bin
> Version: 1.2.3-1
> Severity: important
> Tags: patch
> User: glibc-bsd-devel at lists.alioth.debian.org
> Usertags: kfreebsd
> 
> Hi,
> 
> openmpi segfaults on kFreeBSD, I'm not sure where the problem lies.

Neither are we, and upstreeam doesn't have access to kFreeBSD, so I'm
afraid we will have rely on you for debugging.  I can relay to the
(rather active) upstream mailing list, or you could subscribe. That
may in fact be the best and fastest way as I am very very tied up
with a few other things right now.
 
> My openmpi is built from source on i386 kFreeBSD using the patch from
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=435573
> 
> $ cat a.c
> #include <stdio.h>
> #include <mpi.h>
> 
> int main(int argc, char *argv[])
> {
>         unsigned int rank;
> 
>         MPI_Init(&argc, &argv);
>         MPI_Comm_rank(MPI_COMM_WORLD, &rank);
>         printf("Hello world, I'm process %d\n", rank);
>         MPI_Finalize();
> }
> $ mpicc a.c

And you're sure you don;t have any of the other MPI's installed?

> $ mpirun -np 1 ./a.out 
> [debian:10755] *** Process received signal ***
> [debian:10755] Signal: Segmentation fault (11)
> [debian:10755] Signal code:  (1)
> [debian:10755] Failing at address: (nil)
> [debian:10755] [ 0] /lib/i686/cmov/libpthread.so.0 [0x28170c9c]
> [debian:10755] [ 1] [0xbfbfffb4]
> [debian:10755] [ 2] /lib/ld.so.1 [0x28060aa0]
> [debian:10755] [ 3] /lib/ld.so.1 [0x2805c7ab]
> [debian:10755] [ 4] /lib/ld.so.1 [0x280600ee]
> [debian:10755] [ 5] /lib/i686/cmov/libdl.so.2 [0x28120b99]
> [debian:10755] [ 6] /lib/ld.so.1 [0x2805c7ab]
> [debian:10755] [ 7] /lib/i686/cmov/libdl.so.2 [0x2812124c]
> [debian:10755] [ 8] /lib/i686/cmov/libdl.so.2(dlopen+0x41) [0x28120ad1]
> [debian:10755] [ 9] /usr/lib/libopen-pal.so.0 [0x280daaf2]
> [debian:10755] [10] /usr/lib/libopen-pal.so.0 [0x280d901b]
> [debian:10755] [11] /usr/lib/libopen-pal.so.0 [0x280d924a]
> [debian:10755] [12] /usr/lib/libopen-pal.so.0 [0x280d9a79]
> [debian:10755] [13] /usr/lib/libopen-pal.so.0(lt_dlopenext+0xc6) [0x280d9ed6]
> [debian:10755] [14] /usr/lib/libopen-pal.so.0 [0x280e09e1]
> [debian:10755] [15] /usr/lib/libopen-pal.so.0(mca_base_component_find+0x2fb) [0x280e145b]
> [debian:10755] [16] /usr/lib/libopen-pal.so.0(mca_base_components_open+0x11d) [0x280e1e1d]
> [debian:10755] [17] /usr/lib/libopen-rte.so.0(orte_gpr_base_open+0x64d) [0x28097b6d]
> [debian:10755] [18] /usr/lib/libopen-rte.so.0(orte_init_stage1+0x218) [0x28088d28]
> [debian:10755] [19] /usr/lib/libopen-rte.so.0(orte_system_init+0x1f) [0x2808c2ff]
> [debian:10755] [20] /usr/lib/libopen-rte.so.0(orte_init+0x70) [0x280889c0]
> [debian:10755] [21] mpirun(orterun+0x141) [0x804a185]
> [debian:10755] [22] mpirun(main+0x1e) [0x804a036]
> [debian:10755] [23] /lib/i686/cmov/libc.so.0.1(__libc_start_main+0xab) [0x2819197b]
> [debian:10755] [24] mpirun [0x8049fa1]
> [debian:10755] *** End of error message ***
> Segmentation fault (core dumped)

Those are the right libs...

On x86:

edd at ron:~/src/progs/C> cat mpitest.c

#include <stdio.h>
#include <mpi.h>

int main(int argc, char *argv[])
{
        unsigned int rank;
        MPI_Init(&argc, &argv);
        MPI_Comm_rank(MPI_COMM_WORLD, &rank);
        printf("Hello world, I'm process %d\n", rank);
        MPI_Finalize();
}

edd at ron:~/src/progs/C> mpicc.openmpi -o mpitest mpitest.c
edd at ron:~/src/progs/C> ./mpitest
Hello world, I'm process 0
edd at ron:~/src/progs/C>                  
 
> Please let me know if/how I can provide more information.

I think someone with knowledge of kFreeBSD (ie you :) needs to talk to upstream.

Dirk

> 
> 
> Thanks, Uwe.
> -- 
> http://www.hermann-uwe.de  | http://www.holsham-traders.de
> http://www.crazy-hacks.org | http://www.unmaintained-free-software.org



> _______________________________________________
> Pkg-openmpi-maintainers mailing list
> Pkg-openmpi-maintainers at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-openmpi-maintainers


-- 
Three out of two people have difficulties with fractions.





More information about the Pkg-openmpi-maintainers mailing list