Skip to content

Segfault when using MPI_Type_create_struct #465

@dariomnz

Description

@dariomnz

Description: A Segmentation Fault occurs when defining a custom datatype using MPI_Type_create_struct and subsequently using it in communication calls.

Root Cause: The issue is caused by incorrect type casting in the record-replay mechanism:

record-replay.h:440

MPI_Datatype *oldtypes = (MPI_Datatype*)(intptr_t)rec->args(3);

record-replay.cpp:309

MPI_Datatype *types = (MPI_Datatype*)(intptr_t)rec.args(3);

I will address this in an upcoming Merge Request including a new regression test.

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