Skip to content

MPI_Type_free still called for bool #178

Description

@ventrebd

c5270b0 added an explicit MPI_Type_free for the MPI_Type_commit on bool.
When the bool type was converted to a built-in type (MPI_CXX_BOOL/MPI_C_BOOL), the explicit free was not removed.

My debugger found this with a __debugbreak() throw in Kernel32 in a debug build with MSMPI 10.1.3 and boost 1.91.0 when destructing boost::mpi::environment & calling mpi_datatype_map::clear.
Release builds seem to run ok, but that may be just because the program is already headed down and this is one of the last destructors to run.

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