Skip to content

Possible memory leak of UCX object #7

Description

@dalcinl

Software stack:

Open MPI, PMIx, and UCX from Fedora 34 system packages.

$ rpm -qa openmpi pmix ucx
openmpi-4.0.5-1.fc33.x86_64
pmix-3.2.3-1.fc33.x86_64
ucx-1.10.1-1.fc33.x86_64

OSSS-UCX Configuration:

./configure --prefix=/home/devel/shmem/osss --with-ucx --with-pmix --enable-debug --enable-logging

Reproducer:

#include <assert.h>
#include <shmem.h>

int main() {
  shmem_ctx_t ctx = SHMEM_CTX_INVALID;
  shmem_init();
  shmem_ctx_create(0, &ctx);
  assert(ctx != SHMEM_CTX_INVALID);
  shmem_ctx_destroy(ctx);
  shmem_finalize();
}
$ oshcc test.c
$ oshrun -n 1 ./a.out 
[1621928778.081496] [localhost:153709:0]          mpool.c:43   UCX  WARN  object 0xea0dc0 was not returned to mpool ucp_requests

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions