Skip to content

datatype unpack: potential incorrect assert #8466

@hoopoepg

Description

@hoopoepg

Thank you for taking the time to submit an issue!

Background information

During debugging of issue #8442 we found strange assert, details below

What version of Open MPI are you using? (e.g., v3.0.5, v4.0.2, git branch name and hash, etc.)

Found at least in 4.1.x and master branches

Details of the problem

there is assert at

assert( 0 == (cando_count % _elem->blocklen) ); /* no partials here */

but call from
UNPACK_PREDEFINED_DATATYPE( pConvertor, pElem, count_desc,

is unpack_partial_blocklen(... count_desc=1, ...)
because
size_t count_desc = 1;

which produces assert shot in any case on this call path.

is this issue or I missed something in this world? :)

@jsquyres could it be artefact of some refactoring?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions