Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Check allocation of requester and replier #60

Merged
merged 1 commit into from
Aug 26, 2020

Conversation

brawner
Copy link
Contributor

@brawner brawner commented Aug 26, 2020

This bug was found with the new fault injection tests in rcl (ros2/rcl#727). If _allocator fails to allocate, there's an invalid read/write during the RequesterType constructor. The new rcl tests were only for the client, and not the service so the replier didn't have a similar segfault, but the issue still exists there too.

Fixes ros2/rcl#767

Signed-off-by: Stephen Brawner brawner@gmail.com

Signed-off-by: Stephen Brawner <brawner@gmail.com>
@brawner
Copy link
Contributor Author

brawner commented Aug 26, 2020

Testing connext only (`--packages-select rosidl_typesupport_connext_cpp rcl)

  • Linux Build Status
  • macOS Build Status
  • Windows Build Status

@dirk-thomas
Copy link
Member

@brawner Is there a reason why this patch is not added to the Eloquent project board?

@brawner
Copy link
Contributor Author

brawner commented Aug 26, 2020

I keep forgetting it's a 1 year release, sorry. Will backport to all three

@brawner
Copy link
Contributor Author

brawner commented Aug 26, 2020

The CI builds all pass, so this should be good.

@brawner brawner merged commit 69953a2 into master Aug 26, 2020
@delete-merged-branch delete-merged-branch bot deleted the brawner/check-requester-allocation branch August 26, 2020 20:53
brawner added a commit that referenced this pull request Aug 26, 2020
Signed-off-by: Stephen Brawner <brawner@gmail.com>
brawner added a commit that referenced this pull request Aug 26, 2020
Signed-off-by: Stephen Brawner <brawner@gmail.com>
brawner added a commit that referenced this pull request Aug 26, 2020
Signed-off-by: Stephen Brawner <brawner@gmail.com>
brawner added a commit that referenced this pull request Aug 26, 2020
Signed-off-by: Stephen Brawner <brawner@gmail.com>
brawner added a commit that referenced this pull request Aug 27, 2020
Signed-off-by: Stephen Brawner <brawner@gmail.com>
brawner added a commit that referenced this pull request Aug 27, 2020
Signed-off-by: Stephen Brawner <brawner@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

test_client failing with Connext
2 participants