question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ROS2 node crash in CycloneDDS when connecting with Foxglove Studio

See original GitHub issue

Description My ROS2 package crashes when running with FoxGlove

  • Version: v1.9.0
  • OS: Ubuntu 20.01

Steps To Reproduce

  1. Connecr 1 Intel RealSense D435 camera
  2. Run Intel RealSense ROS2 Wrapper
  3. Open Foxglove studio

Expected Behavior Foxglove can display published images

Actual Behavior Intel RealSense ROS2 Wrapper crashes a few seconds after FoxGlove is started.

Error: [cam-2] python3: /tmp/binarydeb/ros-galactic-cyclonedds-0.8.0/src/core/ddsi/src/ddsi_entity_index.c:411: entidx_lookup_proxy_reader_guid: Assertion `is_reader_entityid (guid->entityid)’ failed. [ERROR] [cam-2]: process has died [pid 3848, exit code -6, cmd ‘/home/sh/ws/flir-wrapper_ws/install/flir_wrapper/lib/flir_wrapper/cam --ros-args -r __node:=cam_727 -r __ns:=/cam_727 --params-file /tmp/launch_params_5fvheszt’].

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:32 (25 by maintainers)

github_iconTop GitHub Comments

1reaction
jhurlimancommented, Oct 31, 2022

@defunctzombie no, I have not had any luck in tracking down the root cause even though I can reproducibly crash a ROS 2 stack running the CycloneDDS RMW. If myself or anyone picks up @foxglove/rtps development, I think compiling CycloneDDS + rmw_cyclonedds from source and breakpoint-debugging or print-debugging would be a helpful next step.

0reactions
jtbandescommented, Nov 30, 2022

Going forward, we plan to deprecate and remove the ROS 2 native connection (https://github.com/foxglove/studio/issues/4900). We are working on a new foxglove_bridge, which will provide improved performance and reliability over the Rosbridge and native connections. You can already use the new bridge today (see the README). Stay tuned for upcoming announcements about the new bridge!

Read more comments on GitHub >

github_iconTop Results From Across the Web

ROS2 galactic CycloneDDS crash · Issue #955 - GitHub
I've got a ground filter node, when one of the callback is called the node is crash and the log appear. The text...
Read more >
Native ROS 1 and ROS 2 - Docs - Foxglove Studio
Connect directly to your running ROS stack via a native TCP (Transmission Control Protocol) connection to access your ROS master and/or nodes directly....
Read more >
Installation troubleshooting — ROS 2 Documentation: Foxy ...
Enable multicast . In order to communicate successfully via DDS, the used network interface has to be multicast enabled. We've seen in past...
Read more >
ROS 2 TSC Contribution Report 2022-11-17 - Amazon AWS
Made Ralph Lange maintainer of ROS 2 branches of diagnostics [237] ... foxglove/studio. □ 68 PRs merged ... Pretty Print for Attach -....
Read more >
Using Cyclone DDS with Husarnet on ROS2 - Husarion
Both ROS1 and ROS2 allows you to run nodes on different physical machines as long as they are in the same LAN network....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found