Fix segfault when creating two participant with same fixed id [18051]#3443
Merged
Fix segfault when creating two participant with same fixed id [18051]#3443
Conversation
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
MiguelCompany
requested changes
Apr 10, 2023
Co-authored-by: Miguel Company <miguelcompany@eprosima.com>
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
MiguelCompany
requested changes
Apr 10, 2023
Co-authored-by: Miguel Company <miguelcompany@eprosima.com>
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
MiguelCompany
previously approved these changes
Apr 11, 2023
Member
|
@richiprosima Please test this |
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
Member
|
@richiprosima Please test this |
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
Member
Author
|
@richiprosima Please test this |
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
Member
Author
|
@richiprosima Please test this |
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
Member
Author
|
@richiprosima Please test this |
Member
|
@richiprosima Please test windows |
Member
Author
|
@richiprosima Please test windows |
Contributor
|
@Mergifyio backport 2.9.x 2.6.x |
Contributor
✅ Backports have been createdDetails
|
mergify bot
pushed a commit
that referenced
this pull request
Jun 27, 2023
* Refs #18050. Add regression test Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev> * Refs #18050. Fix segfault Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev> * Apply suggestions from code review Co-authored-by: Miguel Company <miguelcompany@eprosima.com> * Refs #18050. Apply suggestions Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev> * Refs #18050. improvement regression test Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev> * Apply suggestions from code review Co-authored-by: Miguel Company <miguelcompany@eprosima.com> * Refs #18051. Apply suggestions. Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev> * Refs #18051. Fix mock Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev> * Refs #18051. Fix statistics mock Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev> * Refs #18051. Fix uncrustify Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev> * Refs #18051. Fix memory leak Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev> --------- Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev> Co-authored-by: Miguel Company <miguelcompany@eprosima.com> (cherry picked from commit 3a168ed) # Conflicts: # src/cpp/rtps/RTPSDomain.cpp # src/cpp/rtps/RTPSDomainImpl.hpp
mergify bot
pushed a commit
that referenced
this pull request
Jun 27, 2023
* Refs #18050. Add regression test Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev> * Refs #18050. Fix segfault Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev> * Apply suggestions from code review Co-authored-by: Miguel Company <miguelcompany@eprosima.com> * Refs #18050. Apply suggestions Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev> * Refs #18050. improvement regression test Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev> * Apply suggestions from code review Co-authored-by: Miguel Company <miguelcompany@eprosima.com> * Refs #18051. Apply suggestions. Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev> * Refs #18051. Fix mock Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev> * Refs #18051. Fix statistics mock Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev> * Refs #18051. Fix uncrustify Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev> * Refs #18051. Fix memory leak Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev> --------- Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev> Co-authored-by: Miguel Company <miguelcompany@eprosima.com> (cherry picked from commit 3a168ed) # Conflicts: # src/cpp/fastdds/domain/DomainParticipantImpl.cpp # src/cpp/rtps/RTPSDomain.cpp # src/cpp/rtps/RTPSDomainImpl.hpp
This was referenced Jun 27, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
"
Description
Second participant creation fails, but when its
DomainParticipantImplwill be removed from the factory, the code remove the one of the first participant. This is because they share the same GUID.Contributor Checklist
versions.mdfile (if applicable).Reviewer Checklist
"