-
Notifications
You must be signed in to change notification settings - Fork 90
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
Crash when subscribing to a single topic with multiple types #111
Comments
From the description, this is a duplicate of #72, which got fixed for Foxy (eclipse-cyclonedds/cyclonedds#382 and #96). While nothing has officially been backported to Eloquent yet, the sources are compatible and I expect the problem will be gone if you recompile cyclonedds & rmw_cyclonedds from current master. |
@eboasson the fix should be released into Eloquent (and probably Dashing). |
Yes, we’ll do that. Do the binary package repositories get updated automatically when the sources are? |
You don't update either of them yourself. You run |
@dirk-thomas we think we figured out how the steps tie together when Can you give him write access? |
@eboasson I invited both of you to both repos. |
Thanks @dirk-thomas! |
I see in that The rosdistro distribution files at https://github.com/ros/rosdistro/blob/master/dashing/distribution.yaml and https://github.com/ros/rosdistro/blob/master/eloquent/distribution.yaml also respectively list |
@pjreed yes, that fix version hasn't made it to the official dashing & eloquent versions yet. It is in the pipeline, but I don't know exactly when it'll be available via apt. If you don't mind, I'd prefer waiting for a bit over setting up everything just to try and reproduce it. |
Given the age of this, and that we think there was a fix, I'm going to go ahead and close it out. If you disagree, please feel free to reopen. |
Bug report
Required Info:
Steps to reproduce issue
This issue happens when a single node subscribes to a topic multiple times and each subscriber has a different message type.
It's simple to reproduce this with rviz:
/test
/test
Expected behavior
The program should subscribe to the topic without crashing. Each subscriber callback should receive messages published to that topic for the type they expect. Note that FastRTPS behaves correctly.
Actual behavior
The program crashes as soon as the second
create_subscription
call is made. Furthermore, it does not seem like it is throwing an exception; I tested this this my making my own program that subscribed to a topic multiple times, and I was unable to catch an exception, it appeared as though the program crashed due toSIGABRT
being raised.Additional information
This bug also exists with the binary version in ROS Dashing.
Console output from an example rviz session:
The text was updated successfully, but these errors were encountered: