-
Notifications
You must be signed in to change notification settings - Fork 45
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
[Linux] Segmentation fault when subscribing to an unauthorized topic #287
Labels
bug
Something isn't working
Comments
I finally got some time to look into this, and it is indeed a bug (or rather, a couple of bugs). I fixed one of them in ros2/rmw_fastrtps#697, but more work is likely required. |
On Fast-RTPS / Ubuntu Noble / Jazzy the outcome seems decent:
|
On Iron it still segfaults but with explicit error message:
|
So IMO we can close this @clalancette |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug report
Required Info:
Linux Ubuntu 22.04
Binary Iron
Iron
Fast-RTPS
Steps to reproduce issue
I have followed the SROS_Linux.md with installation from packages with Ros2 Iron for testing.
In the "Access control" section, when running the command to check that the listener cannot subscribe to a topic other than chatter, running the provided command leads to Segmentation Fault, which is a valid but abrupt way to say "Access control forbidden".
Expected behavior
Some kind of error message that it is forbidden to subscribe to the topic.
Actual behavior
Segmentation fault
Additional information
This is perhaps the expected behaviour , in this case just close this.
Discovered as part of the Iron testing, see osrf/ros2_test_cases#535
The text was updated successfully, but these errors were encountered: