Skip to content
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

[ros2] segfault during shutdown #57

Open
clydemcqueen opened this issue Oct 14, 2021 · 1 comment
Open

[ros2] segfault during shutdown #57

clydemcqueen opened this issue Oct 14, 2021 · 1 comment

Comments

@clydemcqueen
Copy link

In Foxy (though it looks like it's been in the code forever):

rqt_image_view segfaults during shutdown if there is an active subscription.

I'm using printf debugging and saw that ImageView::callbackImage is often called after ImageView::shutdownPlugin. There might be a better way to fix this, but it was easy to fix by adding bool shutting_down_ to guard the callback. Happy to provide a PR.

@MatthijsBurgh
Copy link
Contributor

I am running on ros1, but I experience the same issue. But this also happens in other CPP rqt plugins. So it isn't related to rqt_image_view. I opened an issue, ros-visualization/qt_gui_core#258

For me applying #58 to the ros1 code didn't solve it. Which is in line with my other observations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants