Skip to content

MPI_T_finalize() gets SEGV when called #374

@rolfv

Description

@rolfv

This problem happens on the master only. Issue is not seen on 1.8 series.

[rvandevaart@drossetti-ivy5 nv]$ mpicc -Wall -g simplest_tool.c -o simplest_tool
[rvandevaart@drossetti-ivy5 nv]$ gdb ./simplest_tool
GNU gdb (GDB) Red Hat Enterprise Linux (7.2-60.el6_4.1)
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 /ivylogin/home/rvandevaart/tests/ompi-tests-git/nv/simplest_tool...done.
(gdb) run
Starting program: /ivylogin/home/rvandevaart/tests/ompi-tests-git/nv/simplest_tool 
[Thread debugging using libthread_db enabled]
[drossetti-ivy5.nvidia.com:27022] [[INVALID],INVALID] ORTE_ERROR_LOG: Error in file ../../../../../orte/mca/ess/pmi/ess_pmi_component.c at line 83
[New Thread 0x7ffff53db700 (LWP 27025)]
[New Thread 0x7fffeb2e2700 (LWP 27027)]
MPI_T_init_thread() ret=0, provided=0
MPI_T_cvar_get_num ret=0, num_cvar=1210
MPI_T_pvar_get_num ret=0, num_pvar=2
[Thread 0x7fffeb2e2700 (LWP 27027) exited]
[Thread 0x7fffec2e3700 (LWP 27026) exited]
[Thread 0x7ffff53db700 (LWP 27025) exited]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6f1dce4 in var_destructor (var=0x6ed260) at ../../../../opal/mca/base/mca_base_var.c:1735
1735            NULL != var->mbv_storage->stringval) {
(gdb) where
#0  0x00007ffff6f1dce4 in var_destructor (var=0x6ed260) at ../../../../opal/mca/base/mca_base_var.c:1735
#1  0x00007ffff6f19901 in opal_obj_run_destructors (object=0x6ed260) at ../../../../opal/class/opal_object.h:446
#2  0x00007ffff6f1bc41 in mca_base_var_finalize () at ../../../../opal/mca/base/mca_base_var.c:1041
#3  0x00007ffff6edb550 in opal_finalize_util () at ../../opal/runtime/opal_finalize.c:83
#4  0x00007ffff7ad3258 in ompi_mpi_finalize () at ../../ompi/runtime/ompi_mpi_finalize.c:443
#5  0x00007ffff7afbda5 in PMPI_Finalize () at pfinalize.c:46
#6  0x0000000000400820 in main (argc=1, argv=0x7fffffffe548) at simplest_tool.c:27
(gdb) 

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions