-
Notifications
You must be signed in to change notification settings - Fork 434
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(Executor): Fix segfault if callback group is deleted during rmw_wait #2682
Conversation
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 style fixups
7795931
to
009a7b0
Compare
I think we should push to get this fix in, but it would be nice to have a regression test for this case if we can manage it. I know it's hard with races like this, but still it would be good. |
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.
maybe we can work on #2683 1st and then backport the fix to jazzy
including unit tests? it's been there already for a while, i think we can go along with normal procedure?
That's also fine with me, I'm not sure about the urgency. |
I was not aware of this bug until yesterday. To me, this is is worst bug from a user perspective. You do an allowed operation, |
I confirm that it fixes the segfault in my sample code, thanks! |
@jmachowinski that is true, and we just missed it... so probably what we do here is,
@msplr thanks! |
009a7b0
to
e5f6dcc
Compare
Added a test, fixed the same bug in the StaticSingleThreadedExecutor.... |
This PR is the backport of #2683 to Jazzy... |
Signed-off-by: Janosch Machowinski <[email protected]>
e5f6dcc
to
47ee257
Compare
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. i will start the CI.
Pulls: #2682 |
Fixes #2664
@alsora @mjcarroll A review please
@msplr Can you confirm that this fixes the issue ?