Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] MPI_Win_unlock error
From: Robert Kubrick (robertkubrick_at_[hidden])
Date: 2008-09-19 00:26:35


I have a crash on a call to PMPI_Win_unlock(). My program runs with
openmpi 1.2.7 on Ubuntu.
Are there any known issues in 1.2.7 with RMA window calls?

Linux local 2.6.24-19-generic #1 SMP Wed Jun 18 14:43:41 UTC 2008
i686 GNU/Linux

[local:27767] *** Process received signal ***
[local:27767] Signal: Segmentation fault (11)
[local:27767] Signal code: Address not mapped (1)
[local:27767] Failing at address: 0x20
[local:27767] [ 0] [0xb7fb1440]
[local:27767] [ 1] /usr/local/openmpi-1.2.7/lib/openmpi/
mca_osc_pt2pt.so [0xb5e20d5f]
[local:27767] [ 2] /usr/local/openmpi-1.2.7/lib/openmpi/
mca_osc_pt2pt.so(ompi_osc_pt2pt_progress+0x103) [0xb5e20743]
[local:27767] [ 3] /usr/local/openmpi/lib/libopen-pal.so.0
(opal_progress+0x6a) [0xb6b295ca]
[local:27767] [ 4] /usr/local/openmpi-1.2.7/lib/openmpi/
mca_osc_pt2pt.so(ompi_osc_pt2pt_passive_unlock+0xb5) [0xb5e25c75]
[local:27767] [ 5] /usr/local/openmpi-1.2.7/lib/openmpi/
mca_osc_pt2pt.so [0xb5e20f7c]
[local:27767] [ 6] /usr/local/openmpi-1.2.7/lib/openmpi/
mca_osc_pt2pt.so(ompi_osc_pt2pt_progress+0x103) [0xb5e20743]
[local:27767] [ 7] /usr/local/openmpi/lib/libopen-pal.so.0
(opal_progress+0x6a) [0xb6b295ca]
[local:27767] [ 8] /usr/local/openmpi-1.2.7/lib/openmpi/
mca_osc_pt2pt.so(ompi_osc_pt2pt_module_unlock+0x2c5) [0xb5e26095]
[local:27767] [ 9] /usr/local/openmpi/lib/libmpi.so.0(PMPI_Win_unlock
+0x11a) [0xb6c2a2aa]
[local:27767] [10] myprog(_ZNK3MPI3Win6UnlockEi+0x1b) [0x81023f7]
[local:27767] [11] myprog
(_ZN8RMAQueueIN3NS3DST5QuoteEE13__put_elementEjRKS2_+0x94) [0x81331ac]
[local:27767] [12] myprog(_ZN8RMAQueueIN3NS3DST5QuoteEE3putERKS2_
+0xca) [0x8138bda]
[local:27767] [13] myprog
(_ZN3NS6Master13_processEventERKNS_3DST5QuoteE+0x16e) [0x812b9bc]
[local:27767] [14] myprog(_ZN3NS6Master3runEv+0x836) [0x812cb9a]
[local:27767] [15] myprog(main+0xefa) [0x80f3bda]
[local:27767] [16] /lib/tls/i686/cmov/libc.so.6(__libc_start_main
+0xe0) [0xb6887450]
[local:27767] [17] myprog(_ZN9wxAppBase8MainLoopEv+0x49) [0x80f2ae1]
[local:27767] *** End of error message ***

(gdb) frame 10
#10 0x081023f7 in MPI::Win::Unlock (this=0xbfbc44d4, rank=0)
     at /usr/local/openmpi-1.2.7/include/openmpi/ompi/mpi/cxx/
win_inln.h:163
163 (void) MPI_Win_unlock(rank, mpi_win);
Current language: auto; currently c++
(gdb) print rank
$1 = 0
(gdb) print mpi_win
$2 = (MPI_Win) 0x83bf498
(gdb) print *mpi_win
$3 = {w_base = {obj_class = 0xb6c3d0e0, obj_reference_count = 1},
w_lock = {super = {obj_class = 0xb6b50d00,
       obj_reference_count = 1}, m_lock_pthread = {__data = {__lock =
0, __count = 0, __owner = 0, __kind = 0,
         __nusers = 0, {__spins = 0, __list = {__next = 0x0}}},
__size = '\0' <repeats 23 times>, __align = 0},
     m_lock_atomic = {u = {lock = 0, sparc_lock = 0 '\0', padding =
"\000\000\000"}}},
   w_name = "quoteQ", '\0' <repeats 57 times>, w_group = 0x83a61d8,
w_flags = 0, w_keyhash = 0x83bf538, w_f_to_c_index = 6,
   error_handler = 0xb6c430a0, errhandler_type =
OMPI_ERRHANDLER_TYPE_WIN, w_disp_unit = 53, w_baseptr = 0x83b2090,
   w_size = 54272, w_mode = 131, w_osc_module = 0x83bf7b8}
(gdb)
$4 = {w_base = {obj_class = 0xb6c3d0e0, obj_reference_count = 1},
w_lock = {super = {obj_class = 0xb6b50d00,
       obj_reference_count = 1}, m_lock_pthread = {__data = {__lock =
0, __count = 0, __owner = 0, __kind = 0,
         __nusers = 0, {__spins = 0, __list = {__next = 0x0}}},
__size = '\0' <repeats 23 times>, __align = 0},
     m_lock_atomic = {u = {lock = 0, sparc_lock = 0 '\0', padding =
"\000\000\000"}}},
   w_name = "quoteQ", '\0' <repeats 57 times>, w_group = 0x83a61d8,
w_flags = 0, w_keyhash = 0x83bf538, w_f_to_c_index = 6,
   error_handler = 0xb6c430a0, errhandler_type =
OMPI_ERRHANDLER_TYPE_WIN, w_disp_unit = 53, w_baseptr = 0x83b2090,
   w_size = 54272, w_mode = 131, w_osc_module = 0x83bf7b8}