Skip to content

Unexpected memory access error when changing PARTICIPANT_START_ID to 1 #26

Description

@shinya1983

Unexpected memory access error when changing PARTICIPANT_START_ID to 1.

I am getting an error below process.
https://github.com/embedded-software-laboratory/embeddedRTPS/blob/master/src/entities/Domain.cpp#L60

Shouldn't the PARTICIPANT_START_ID be subtracted in this process?
Or do you intend not to subtract?

I think the process should be the same as below.
https://github.com/embedded-software-laboratory/embeddedRTPS/blob/master/src/entities/Domain.cpp#L83

https://github.com/embedded-software-laboratory/embeddedRTPS/blob/master/src/entities/Domain.cpp#L94

sorry if i use it wrong.
I wrote an issue for the first time. sorry if i broke the rules.

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