[vtk-developers] Segfaults in TestMPIController on bubbles OSMesa build
Kevin H. Hobbs
hobbsk at ohio.edu
Thu Jan 6 10:23:34 EST 2011
I did :
$ /usr/lib64/openmpi/bin/mpiexec "-np" "2" xterm
and in each xterm I did :
$ gdb "/home/kevin/kitware/VTK_OSMesa_Build/bin/./TestMPIController"
run
The first time I tried it got a segfault but I had missing debuginfo
packages so I reran after installing the debuginfo packages.
I reran the test in the debuggers several times but didn't get the
segfault...
Eventually I got the segfault :
***************************
* Output from one process *
***************************
[kevin at bubbles VTK_OSMesa_Build]$ gdb
"/home/kevin/kitware/VTK_OSMesa_Build/bin/./TestMPIController"
GNU gdb (GDB) Fedora (7.1-34.fc13)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from
/home/kevin/kitware/VTK_OSMesa_Build/bin/TestMPIController...done.
(gdb) run
Starting program:
/home/kevin/kitware/VTK_OSMesa_Build/bin/TestMPIController
[Thread debugging using libthread_db enabled]
**** Random Seed = 1294325161 ****
Exercising vtkMPIController, 2 processes
---- Exercising Int32
Source Arrays:
-5 -12 -1 14 11 -15 -9 -3
0 -3 -15 3 -12 12 10 -12
Basic send and receive.
Broadcast
Gather
All Gather
Vector Gather
Vector All Gather
Scatter
Vector Scatter
Reduce
Custom Reduce
All Reduce
Custom All Reduce
Basic send and receive with vtkDataArray.
Send and receive vtkDataArray with ANY_SOURCE as source.
Broadcast with vtkDataArray
Gather with vtkDataArray
Vector Gather with vtkDataArray
Vector Gather with vtkDataArray (automatic receive sizes)
All Gather with vtkDataArray
Vector All Gather with vtkDataArray
Vector All Gather with vtkDataArray (automatic receive sizes)
Scatter with vtkDataArray
Reduce with vtkDataArray
Custom Reduce with vtkDataArray
All Reduce with vtkDataArray
Custom All Reduce with vtkDataArray
---- Exercising UInt64
Source Arrays:
18446744073709551613 14 14 13
01844674407370955161118446744073709551606 8
418446744073709551603 2 8 6
41844674407370955160518446744073709551608
Basic send and receive.
Broadcast
Gather
All Gather
Vector Gather
Vector All Gather
Scatter
Vector Scatter
Reduce
Custom Reduce
All Reduce
Custom All Reduce
Basic send and receive with vtkDataArray.
Send and receive vtkDataArray with ANY_SOURCE as source.
Broadcast with vtkDataArray
Gather with vtkDataArray
Vector Gather with vtkDataArray
Vector Gather with vtkDataArray (automatic receive sizes)
All Gather with vtkDataArray
Vector All Gather with vtkDataArray
Vector All Gather with vtkDataArray (automatic receive sizes)
Scatter with vtkDataArray
Reduce with vtkDataArray
Custom Reduce with vtkDataArray
All Reduce with vtkDataArray
Custom All Reduce with vtkDataArray
---- Exercising Int8
Source Arrays:
-4 6 -15 7 -11 2 15 7
10 -15 -15 -6 8 2 6 -10
Basic send and receive.
Broadcast
Gather
All Gather
Vector Gather
Vector All Gather
Scatter
Vector Scatter
Custom Reduce
Custom All Reduce
Basic send and receive with vtkDataArray.
Send and receive vtkDataArray with ANY_SOURCE as source.
Broadcast with vtkDataArray
Gather with vtkDataArray
Vector Gather with vtkDataArray
Vector Gather with vtkDataArray (automatic receive sizes)
All Gather with vtkDataArray
Vector All Gather with vtkDataArray
Vector All Gather with vtkDataArray (automatic receive sizes)
Scatter with vtkDataArray
Custom Reduce with vtkDataArray
Custom All Reduce with vtkDataArray
---- Exercising UInt8
Source Arrays:
244 1 254 14 252 250 10 12
10 12 253 11 246 247 255 2
Basic send and receive.
Broadcast
Gather
All Gather
Vector Gather
Vector All Gather
Scatter
Vector Scatter
Custom Reduce
Custom All Reduce
Basic send and receive with vtkDataArray.
Send and receive vtkDataArray with ANY_SOURCE as source.
Broadcast with vtkDataArray
Gather with vtkDataArray
Vector Gather with vtkDataArray
Vector Gather with vtkDataArray (automatic receive sizes)
All Gather with vtkDataArray
Vector All Gather with vtkDataArray
Vector All Gather with vtkDataArray (automatic receive sizes)
Scatter with vtkDataArray
Custom Reduce with vtkDataArray
Custom All Reduce with vtkDataArray
---- Exercising Float32
Source Arrays:
-14.8511 -2.06374 2.70966 5.17427 -12.1208 -1.65927 -15.2997 9.18565
-2.15045 -14.6697 5.59758 -1.4983 2.01314 10.8771 -5.2339 1.81105
Basic send and receive.
Broadcast
Gather
All Gather
Vector Gather
Vector All Gather
Scatter
Vector Scatter
Reduce
Custom Reduce
All Reduce
Custom All Reduce
Basic send and receive with vtkDataArray.
Send and receive vtkDataArray with ANY_SOURCE as source.
Broadcast with vtkDataArray
Gather with vtkDataArray
Vector Gather with vtkDataArray
Vector Gather with vtkDataArray (automatic receive sizes)
All Gather with vtkDataArray
Vector All Gather with vtkDataArray
Vector All Gather with vtkDataArray (automatic receive sizes)
Scatter with vtkDataArray
Reduce with vtkDataArray
Custom Reduce with vtkDataArray
All Reduce with vtkDataArray
Custom All Reduce with vtkDataArray
---- Exercising Float64
Source Arrays:
0.901673 -13.5814 -7.2373 -5.23631 -6.66092 -14.0948 4.86103 3.38893
1.26451 4.58674 1.38195 -5.55309 13.1843 -11.6008 1.13943 14.3363
Basic send and receive.
Broadcast
Gather
All Gather
Vector Gather
Vector All Gather
Scatter
Vector Scatter
Reduce
Custom Reduce
All Reduce
Custom All Reduce
Basic send and receive with vtkDataArray.
Send and receive vtkDataArray with ANY_SOURCE as source.
Broadcast with vtkDataArray
Gather with vtkDataArray
Vector Gather with vtkDataArray
Vector Gather with vtkDataArray (automatic receive sizes)
All Gather with vtkDataArray
Vector All Gather with vtkDataArray
Vector All Gather with vtkDataArray (automatic receive sizes)
Scatter with vtkDataArray
Reduce with vtkDataArray
Custom Reduce with vtkDataArray
All Reduce with vtkDataArray
Custom All Reduce with vtkDataArray
---- Exercising Int64
Source Arrays:
7 6 1 9 -7 -14 8 2
10 -2 10 -3 -13 5 7 11
Basic send and receive.
Broadcast
Gather
All Gather
Vector Gather
Vector All Gather
Scatter
Vector Scatter
Reduce
Custom Reduce
All Reduce
Custom All Reduce
Basic send and receive with vtkDataArray.
Send and receive vtkDataArray with ANY_SOURCE as source.
Broadcast with vtkDataArray
Gather with vtkDataArray
Vector Gather with vtkDataArray
Vector Gather with vtkDataArray (automatic receive sizes)
All Gather with vtkDataArray
Vector All Gather with vtkDataArray
Vector All Gather with vtkDataArray (automatic receive sizes)
Scatter with vtkDataArray
Reduce with vtkDataArray
Custom Reduce with vtkDataArray
All Reduce with vtkDataArray
Custom All Reduce with vtkDataArray
---- Exercising vtkImageData
Basic send and receive with vtkDataObject.
Send and receive vtkDataObject with ANY_SOURCE as source.
Broadcast with vtkDataObject
---- Exercising vtkPolyData
Basic send and receive with vtkDataObject.
Send and receive vtkDataObject with ANY_SOURCE as source.
Broadcast with vtkDataObject
Program received signal SIGSEGV, Segmentation fault.
ompi_dpm_base_mark_dyncomm (comm=0x8b5f30) at base/dpm_base_common_fns.c:245
245 thisjobid = proc->proc_name.jobid;
(gdb) bt
#0 ompi_dpm_base_mark_dyncomm (comm=0x8b5f30)
at base/dpm_base_common_fns.c:245
#1 0x000000344d821cc2 in ompi_comm_set (ncomm=0x7fffffffd478,
oldcomm=0x344daab220, local_size=0, local_ranks=0x0, remote_size=0,
remote_ranks=0x0, attr=0x0, errh=0x8ab420, topocomponent=0x0,
local_group=0x344dab0ce0, remote_group=0x0) at communicator/comm.c:148
#2 0x000000344d8229d3 in ompi_comm_create (comm=0x344daab220,
group=0x344dab0ce0, newcomm=0x8cfe10) at communicator/comm.c:315
#3 0x000000344d84fef5 in PMPI_Comm_create (comm=0x344daab220,
group=0x344dab0ce0, newcomm=0x8cfe10) at pcomm_create.c:62
#4 0x00007ffff7d5691b in vtkMPICommunicator::Initialize (this=0x8b5ec0,
group=
0x8d1970) at /home/kevin/kitware/VTK/Parallel/vtkMPICommunicator.cxx:531
#5 0x00007ffff7d5bde2 in vtkMPIController::CreateSubController (
this=0x8ab320, group=0x8d1970)
at /home/kevin/kitware/VTK/Parallel/vtkMPIController.cxx:311
#6 0x00000000004286cd in ExerciseMultiProcessController
(controller=0x8ab320)
at
/home/kevin/kitware/VTK/Parallel/Testing/Cxx/ExerciseMultiProcessController.cxx:1149
#7 0x00000000004223d8 in main (argc=1, argv=0x7fffffffd7c8)
at /home/kevin/kitware/VTK/Parallel/Testing/Cxx/MPIController.cxx:40
(gdb)
*********************************
* Output from the other process *
*********************************
[kevin at bubbles VTK_OSMesa_Build]$ gdb
"/home/kevin/kitware/VTK_OSMesa_Build/bin/./TestMPIController"
GNU gdb (GDB) Fedora (7.1-34.fc13)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from
/home/kevin/kitware/VTK_OSMesa_Build/bin/TestMPIController...done.
(gdb) run
Starting program:
/home/kevin/kitware/VTK_OSMesa_Build/bin/TestMPIController
[Thread debugging using libthread_db enabled]
Program received signal SIGSEGV, Segmentation fault.
ompi_dpm_base_mark_dyncomm (comm=0x8b1cd0) at base/dpm_base_common_fns.c:245
245 thisjobid = proc->proc_name.jobid;
(gdb) bt
#0 ompi_dpm_base_mark_dyncomm (comm=0x8b1cd0)
at base/dpm_base_common_fns.c:245
#1 0x000000344d821cc2 in ompi_comm_set (ncomm=0x7fffffffd478,
oldcomm=0x344daab220, local_size=0, local_ranks=0x0, remote_size=0,
remote_ranks=0x0, attr=0x0, errh=0x8ab430, topocomponent=0x0,
local_group=0x344dab0ce0, remote_group=0x0) at communicator/comm.c:148
#2 0x000000344d8229d3 in ompi_comm_create (comm=0x344daab220,
group=0x344dab0ce0, newcomm=0x8c65e0) at communicator/comm.c:315
#3 0x000000344d84fef5 in PMPI_Comm_create (comm=0x344daab220,
group=0x344dab0ce0, newcomm=0x8c65e0) at pcomm_create.c:62
#4 0x00007ffff7d5691b in vtkMPICommunicator::Initialize (this=0x8b1c60,
group=
0x8e54d0) at /home/kevin/kitware/VTK/Parallel/vtkMPICommunicator.cxx:531
#5 0x00007ffff7d5bde2 in vtkMPIController::CreateSubController (
this=0x8ab330, group=0x8e54d0)
at /home/kevin/kitware/VTK/Parallel/vtkMPIController.cxx:311
#6 0x00000000004286cd in ExerciseMultiProcessController
(controller=0x8ab330)
at
/home/kevin/kitware/VTK/Parallel/Testing/Cxx/ExerciseMultiProcessController.cxx:1149
#7 0x00000000004223d8 in main (argc=1, argv=0x7fffffffd7c8)
at /home/kevin/kitware/VTK/Parallel/Testing/Cxx/MPIController.cxx:40
(gdb)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20110106/824e52d1/attachment.sig>
More information about the vtk-developers
mailing list