Skip to content

coll/xhc not sessions friendly #13013

@hppritcha

Description

@hppritcha

If I run the ompi-tests/ibm/sessions/sessions_init_twice.c test with the xhc module enabled there's a segfault in the second initialization of MPI:

 0 0x0000000000012cf0 __funlockfile()  :0
 1 0x00000000000cbe35 __strlen_avx2()  :0
 2 0x000000000009f682 __GI___strdup()  :0
 3 0x00000000001ff74c mca_coll_xhc_read_op_config()  /home/hpritchard/ompi-er2/ompi/mca/coll/xhc/coll_xhc.c:390
 4 0x0000000000206ac1 mca_coll_xhc_module_enable()  /home/hpritchard/ompi-er2/ompi/mca/coll/xhc/coll_xhc_module.c:209
 5 0x0000000000170240 mca_coll_base_comm_select()  /home/hpritchard/ompi-er2/ompi/mca/coll/base/coll_base_comm_select.c:257
 6 0x00000000000757e7 ompi_comm_activate_complete()  /home/hpritchard/ompi-er2/ompi/communicator/comm_cid.c:912
 7 0x0000000000076645 ompi_comm_activate_nb_complete()  /home/hpritchard/ompi-er2/ompi/communicator/comm_cid.c:1108
 8 0x0000000000079d26 ompi_comm_request_progress()  /home/hpritchard/ompi-er2/ompi/communicator/comm_request.c:154
 9 0x0000000000027115 opal_progress()  /home/hpritchard/ompi-er2/opal/runtime/opal_progress.c:224
10 0x0000000000072d48 ompi_request_wait_completion()  /home/hpritchard/ompi-er2/ompi/../ompi/request/request.h:493
11 0x0000000000075ff7 ompi_comm_activate()  /home/hpritchard/ompi-er2/ompi/communicator/comm_cid.c:1042
12 0x000000000006f255 ompi_comm_create_from_group()  /home/hpritchard/ompi-er2/ompi/communicator/comm.c:1595
13 0x00000000000db42d PMPI_Comm_create_from_group()  /home/hpritchard/ompi-er2/ompi/mpi/c/comm_create_from_group.c:106
14 0x00000000004011d2 main()  /home/hpritchard/ompi-tests/ibm/sessions/sessions_init_twice.c:135
15 0x000000000003ad85 __libc_start_main()  ???:0
16 0x0000000000400c4e _start()  ???:0

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions