Skip to content

Memory Leak in MPI_Get_elements_x #6291

@ax3l

Description

@ax3l

Background information

What version of Open MPI are you using? (e.g., v1.10.3, v2.1.0, git branch name and hash, etc.)

master as of 352b667

Describe how Open MPI was installed (e.g., from a source/distribution tarball, from a git clone, from an operating system distribution package, etc.)

From source via spack.

Please describe the system on which you are running

  • Operating system/version: Debian 9
  • Computer hardware: ThinkPad
  • Network type: Local

Details of the problem

The function opal_datatype_compute_ptypes in

opal_datatype_compute_ptypes(&datatype->super);
allocates datatypes in
datatype->ptypes = (size_t*)calloc(OPAL_DATATYPE_MAX_SUPPORTED, sizeof(size_t));
that don't seem to be freed.

Seen while running a small MPI-I/O example with HDF5 develop: https://forum.hdfgroup.org/t/hdf5bug-h5fd-mpio-collective-chunking/5279

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions