1
1

OSHMEM: Fixes issue with recent segfault in finalize related to mca_base_group_unselect.

We need to explicitly call mca_base_group_unselect in finalize
for each group that are not freed with oshmem_group_cache_list_free before we unloading scoll framework.

Refs trac:3763

This commit was SVN r30311.

The following Trac tickets were found above:
  Ticket 3763 --> https://svn.open-mpi.org/trac/ompi/ticket/3763
Этот коммит содержится в:
Mike Dubman 2014-01-17 16:57:12 +00:00
родитель 2af0f878bc
Коммит 0d8424e0a6

Просмотреть файл

@ -105,8 +105,10 @@ static int _shmem_finalize(void)
if (OSHMEM_SUCCESS != (ret = oshmem_group_cache_list_free())) {
return ret;
}
/* this is a special group which is not cached. We can only release its collectives at this point */
/* We need to call mca_scoll_base_group_unselect explicitly for each group
* that are not freed by oshmem_group_cache_list_free. We can only release its collectives at this point */
mca_scoll_base_group_unselect(oshmem_group_all);
mca_scoll_base_group_unselect(oshmem_group_self);
/* Close down MCA modules */