fix(Executor): Fix segfault if callback group is deleted during rmw_wait#2682
Conversation
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. |
fujitatomoya
left a comment
There was a problem hiding this comment.
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 <J.Machowinski@cellumation.com>
e5f6dcc to
47ee257
Compare
fujitatomoya
left a comment
There was a problem hiding this comment.
lgtm. i will start the CI.
|
Pulls: #2682 |
|
can this be back ported to humble as well ? |
|
This should not affect humble, as the bug was introduced by a refactoring between humble and jazzy. |
Fixes #2664
@alsora @mjcarroll A review please
@msplr Can you confirm that this fixes the issue ?