Subscription accepting the cuda backend receives no messages when the cuda_buffer_backend plugin is not available in its process
@nvcyc is already working on this.
Since Oct 29, 2026.
Assessment
This issue has not been assessed yet.
Description
Environment
- ROS 2 Lyrical, Isaac ROS 5 buildfarm packages, Docker (Isaac ROS CLI)
- Jetson AGX Thor, JetPack 7.2 (L4T 39.2), CUDA 13.2
ros-lyrical-cuda-buffer0.1.2,cuda_buffer_backend0.1.2 built from sourcermw_fastrtps_cpp(default RMW)
Description
A subscription created with rclcpp::SubscriptionOptions::acceptable_buffer_backends = "cuda" receives no messages at all when the cuda_buffer_backend plugin is not registered in the subscriber process (BufferBackendRegistry::get_backend_names() returns an empty list). This happens whether the publisher sends CUDA buffers or plain CPU data. Nothing is logged in either process.
The subscription is matched: ros2 topic info -v shows the publisher and the subscription with the same type hash and compatible QoS (RELIABLE, VOLATILE), but the callback is never called.
Steps to reproduce
- Publisher: a node publishing
sensor_msgs/msg/Image(CUDA-backedrosidl::Buffer, or CPU data). - Subscriber: a separate process with
acceptable_buffer_backends = "cuda", started with thecuda_buffer_backendprefix removed fromAMENT_PREFIX_PATHso the plugin is not found. - The subscription callback is never called.
| Publisher has the plugin | Subscriber has the plugin | Messages received by the subscription accepting cuda |
|---|---|---|
| yes | yes | all, as CUDA buffers |
| no (publishes CPU data) | yes | all, as CPU data |
| yes | no | none |
| no (publishes CPU data) | no | none |
A subscription with acceptable_buffer_backends = "cpu" in the same process without the plugin receives all the messages.
Expected behavior
When the cuda backend is not available in the subscriber process, the subscription falls back to CPU data, as it does when the zero-copy path is not available for other reasons, or at least an error or warning is logged when the subscription is created.
Actual behavior
The subscription silently receives nothing.
- Dominant language
- C++
- Stars
- 27
- Forks
- 13
- Avg merge
- 21d 23h
- Merged PRs (30d)
- 1
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ros2/rosidl_buffer_backends
-
cuda_buffer: late import of a reused VMM block passes the UID staleness check and reads the next frameMay be free again A pull request for this issue was closed without being merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 5/5 Over a week Newbie friendliness 12/100
-
cuda_buffer: please release #12 (0.1.2 segfaults in get_endpoint_manager after a context restart)Possibly taken @yuanknv claimed this 3 days ago. Open
Difficulty 4/5 1-2 days Newbie friendliness 15/100
ros2/rosidl_buffer_backends#42 · 1 reaction · 1 assignee ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
Add ONNX Runtime tensor conversionsMay be free again @yuanknv claimed this 90 days ago, and no pull request is open. Openenhancement
ros2/rosidl_buffer_backends#14 · 2 assignees ·
All issues in ros2/rosidl_buffer_backends
Similar issues
-
bug
Difficulty 1/5 1-3 hours Newbie friendliness 82/100
EchoTools/nevr-runtime#2912 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 1 day
-
category:port-update
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 2 days
-
bug-unconfirmed
Difficulty 1/5 Under an hour Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
libc++
Difficulty 1/5 Under an hour Newbie friendliness 88/100
llvm/llvm-project#246508 ·
Maintainers usually reply within 1 day