RTPS_TRANSPORT_SHM Error and at the same time no topics are available in ros2 topic list
I've been working in some of my projects and used also the Dolly to check if something similar was going on, and it seems it isn't isolated to my project. The error that I encounter is:
[RTPS_TRANSPORT_SHM Error] Failed init_port fastrtps_port7413: open_and_lock_file failed -> Function open_port_internal
Also, I'm being unable to list the topics when using ros2 topic list (since in my project the robot spawns in the environment, and in the case of Dolly, Rviz opens, I guess the topics are working in those cases). Only 2 of them appear, parameter_events and rosout.
It might be or not related to this, but I have ROS2 foxy installed in my home directory, but when installing additional packages they get automatically installed in /opt/ros/foxy, so I have to source them both.
edit1: when I try the talker example that appear in the installation tutorial no new nodes or topics are listed.
I have the same Error. I'm running different applications in dockers and it seems to come from different Fast-RTPS versions. Although I could not figure out which ones are compatible. I just updated Fast-RTPS on the host machine and the dockers are somehow affected. Did you figure out a solution to your problem?