-
Notifications
You must be signed in to change notification settings - Fork 120
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
Crashing when unsubscribing and resubscribing #341
Comments
Can you please provide reproducible steps (as minimal as possible, so without navigation would be preferred but isn't a requirement). |
I'm just the messenger. @crdelsey and @mlherd report it. But I dont think from our discussions its easy to reproduce at the application layer, but it happens over a short time horizon. |
I don't have an easy test case implemented at the moment. However, I believe the core of the failure sequence goes something like this:
In our case, there are a lot of other subscribers and publishers as well as other traffic. I'm not sure at this point how much of that stuff is important to reproduce the problem. |
I would suggest to try coming up with a trivial example (e.g. modifying the demo |
Well, the simple test didn't do it. It probably won't be till next year when I have time to dig into this in more detail |
@crdelsey Friendly ping. |
I'll try to reproduce this in a few days. I need to get nav2 back to a working state first. Since this is unlikely to be easy to reproduce, is there any particular information that you'd want to see as a starting point? Wireshark logs? I could set a breakpoint at the line where the error message occurs and provide a core dump. |
Hi , I am also getting this error when i am creating subscription to clock message or sensor data image message. It is random and doesn't occur every time. I am resetting a subscription shared pointer to unsubscribe and than subscribe again. [PARTICIPANT Error] Type : rosgraph_msgs::msg::dds_::Clock_ Not Registered -> Function createSubscriber (gdb) bt |
Given the age of this, and the fact that it couldn't reproduce later on, I'm going to close this out. If this is still a problem, please feel free to reopen. |
Bug report
Required Info:
Steps to reproduce issue
Expected behavior
Able to unsubscribe and resubscribe to a topic often without crashing.
Actual behavior
When unsubscribing and resubscribing to a topic during a runtime reset, we're seeing crashing happen frequently. See ticket ros-navigation/navigation2#1363
Additional information
Error
With various message types. It works fine on bringup so it subscribes fine. Only happens when we attempt to reset a node that will unsubscribe and resubscribe to a topic. Tested broken with 2+ message types in the ROS2 common interfaces
The text was updated successfully, but these errors were encountered: