Segfault using dynamic linking in blacs-mpi

Bug #914769 reported by gbrandino@gmail.com
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
blacs-mpi (Debian)
Fix Released
Unknown
blacs-mpi (Ubuntu)
New
Undecided
Unassigned

Bug Description

I installed scalapack openmpi on my ubuntu oneric.
Description: Ubuntu 11.10
Release: 11.10

Packages:
- libblacs-mpi1 1.1-30
- libblacs-mpi-dev 1.1-30
- blacs-mpi-test 1.1-30

The parallel execution of my codes, compiled with dynamic linking, crashes with a segmentation fault when Cblacs_gridinit is invoked.

I run the tests included in 'blacs-mpi-test':

the results all
fblacs_test_shared-openmpi PASSED
fblacs_test_static-openmpi PASSED
cblacs_test_static-openmpi PASSED
cblacs_test_shared-openmpi segfault

The output is

pinupower@Drokhra:/usr/lib/blacs$ mpirun -np 4 cblacs_test_shared-openmpi
BLACS WARNING 'No need to set message ID range due to MPI communicator.'
from {-1,-1}, pnum=1, Contxt=-1, on line 18 of file 'blacs_set_.c'.

[Drokhra:05786] *** Process received signal ***
[Drokhra:05786] Signal: Segmentation fault (11)
[Drokhra:05786] Signal code: Address not mapped (1)
[Drokhra:05786] Failing at address: 0x87e2a78
BLACS WARNING 'No need to set message ID range due to MPI communicator.'
from {-1,-1}, pnum=2, Contxt=-1, on line 18 of file 'blacs_set_.c'.

[Drokhra:05787] *** Process received signal ***
[Drokhra:05787] Signal: Segmentation fault (11)
[Drokhra:05787] Signal code: Address not mapped (1)
[Drokhra:05787] Failing at address: 0x69ff9a78
[Drokhra:05786] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x36420) [0x2b2a09206420]
[Drokhra:05786] [ 1] /usr/lib/libmpi.so.0(PMPI_Comm_group+0x53) [0x2b2a0858a153]
[Drokhra:05786] [ 2] /usr/lib/libblacs-openmpi.so.1(BI_TransUserComm+0x16) [0x2b2a08315bd6]
[Drokhra:05786] [ 3] /usr/lib/libblacs-openmpi.so.1(Cblacs_gridmap+0xf6) [0x2b2a0832ee26]
[Drokhra:05786] [ 4] /usr/lib/libblacs-openmpi.so.1(Cblacs_gridinit+0x1d4) [0x2b2a0832ec24]
[Drokhra:05786] [ 5] cblacs_test_shared-openmpi() [0x46b264]
[Drokhra:05786] [ 6] cblacs_test_shared-openmpi() [0x46bbfc]
[Drokhra:05786] [ 7] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x2b2a091f130d]
[Drokhra:05786] [ 8] cblacs_test_shared-openmpi() [0x403199]
[Drokhra:05786] *** End of error message ***
BLACS WARNING 'No need to set message ID range due to MPI communicator.'
from {-1,-1}, pnum=0, Contxt=-1, on line 18 of file 'blacs_set_.c'.

[Drokhra:05785] *** Process received signal ***
[Drokhra:05785] Signal: Segmentation fault (11)
[Drokhra:05785] Signal code: Address not mapped (1)
[Drokhra:05785] Failing at address: 0x22554a78
[Drokhra:05787] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x36420) [0x2b9f6aa1d420]
[Drokhra:05787] [ 1] /usr/lib/libmpi.so.0(PMPI_Comm_group+0x53) [0x2b9f69da1153]
[Drokhra:05787] [ 2] /usr/lib/libblacs-openmpi.so.1(BI_TransUserComm+0x16) [0x2b9f69b2cbd6]
[Drokhra:05787] [ 3] /usr/lib/libblacs-openmpi.so.1(Cblacs_gridmap+0xf6) [0x2b9f69b45e26]
[Drokhra:05787] [ 4] /usr/lib/libblacs-openmpi.so.1(Cblacs_gridinit+0x1d4) [0x2b9f69b45c24]
[Drokhra:05787] [ 5] cblacs_test_shared-openmpi() [0x46b264]
[Drokhra:05787] [ 6] cblacs_test_shared-openmpi() [0x46bbfc]
[Drokhra:05787] [ 7] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x2b9f6aa0830d]
[Drokhra:05787] [ 8] cblacs_test_shared-openmpi() [0x403199]
[Drokhra:05787] *** End of error message ***
--------------------------------------------------------------------------
mpirun noticed that process rank 2 with PID 5787 on node Drokhra exited on signal 11 (Segmentation fault).
--------------------------------------------------------------------------
[Drokhra:05785] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x36420) [0x2ad322f78420]
[Drokhra:05785] [ 1] /usr/lib/libmpi.so.0(PMPI_Comm_group+0x53) [0x2ad3222fc153]
[Drokhra:05785] [ 2] /usr/lib/libblacs-openmpi.so.1(BI_TransUserComm+0x16) [0x2ad322087bd6]
[Drokhra:05785] [ 3] /usr/lib/libblacs-openmpi.so.1(Cblacs_gridmap+0xf6) [0x2ad3220a0e26]
[Drokhra:05785] [ 4] /usr/lib/libblacs-openmpi.so.1(Cblacs_gridinit+0x1d4) [0x2ad3220a0c24]
[Drokhra:05785] [ 5] cblacs_test_shared-openmpi() [0x46b264]
[Drokhra:05785] [ 6] cblacs_test_shared-openmpi() [0x46bbfc]
[Drokhra:05785] [ 7] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x2ad322f6330d]
[Drokhra:05785] [ 8] cblacs_test_shared-openmpi() [0x403199]
[Drokhra:05785] *** End of error message ***

Changed in blacs-mpi (Debian):
status: Unknown → New
Changed in blacs-mpi (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.