-
Notifications
You must be signed in to change notification settings - Fork 791
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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>
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>
Co-authored-by: Miguel Company <miguelcompany@eprosima.com>
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
@richiprosima Please test this |
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
@richiprosima Please test this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with green CI
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
@richiprosima Please test this |
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
@richiprosima Please test this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with green CI
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
@richiprosima Please test this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with green CI
@richiprosima Please test windows |
@richiprosima Please test windows |
@Mergifyio backport 2.9.x 2.6.x |
✅ Backports have been created
|
* 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
* 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
"
Description
Second participant creation fails, but when its
DomainParticipantImpl
will 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.md
file (if applicable).Reviewer Checklist
"