Fast-DDS icon indicating copy to clipboard operation
Fast-DDS copied to clipboard

SHMEM Transport errors: open_and_lock_file failed

Open rty813 opened this issue 9 months ago • 3 comments

Is there an already existing issue for this?

  • [x] I have searched the existing issues

Expected behavior

I started multiple nodes, and after running normally for a while, some topic data suddenly stopped. When checking the message frequency with ros topic hz, an error occurred: [RTPS_TRANSPORT_SHM Error] Failed init_port fastrtps_port7425: open_and_lock_file failed -> Function open_port_internal. Then, I checked /dev/shm and found only "fastrtps_port7425_el" but no "fastrtps_port7425". After deleting all files in /dev/shm and restarting the process, it recovered.

Current behavior

error occurs

Steps to reproduce

I don’t know how to reproduce it; it happens probabilistically.

Fast DDS version/commit

2.6.x commid_id: d541a81ffec6b0fa661699708ee021a097f3418d

Platform/Architecture

Ubuntu Focal 20.04 arm64

Transport layer

Default configuration, UDPv4 & SHM

Additional context

No response

XML configuration file


Relevant log output


Network traffic capture

No response

rty813 avatar Mar 29 '25 03:03 rty813

Hi @rty813,

Fast DDS 2.6 is a maintenance version and will only receive patches for critical issues and security fixes. Could you try a more recent supported version that is actively being developed?

You can check which Fast DDS versions are supported here:

https://fast-dds.docs.eprosima.com/en/latest/notes/previous_versions/supported_versions.html

Carlosespicur avatar Mar 31 '25 07:03 Carlosespicur

Hi @Carlosespicur , If I compile the latest version of fastdds, will ros2 Humble support it?

rty813 avatar Mar 31 '25 09:03 rty813

Hi again @rty813 , We have an all-in-one toolset called Vulcanexus, which can be used for ROS 2 Humble. You can read more about that here:

https://docs.vulcanexus.org/en/latest/rst/introduction/introduction.html#

In your case, you could use Vulcanexus Humble Hierro release:

https://docs.vulcanexus.org/en/latest/rst/notes/humble/notes.html#notes-humble-latest

Carlosespicur avatar Mar 31 '25 09:03 Carlosespicur