You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You will probably get a number lower than 181 - not all composable nodes were loaded.
Expected behavior
Composable nodes are loaded regardless if SHM is enabled/disabled
Actual behavior
Composable nodes sometimes don't load if SHM is enabled.
Additional information
The issue was observed in ROS system with a few dozens of nodes. Starting the system with SHM enabled caused random nodes to not being loaded.
The code repository contains a minimal example which demonstrates the issue using the standard Iceoryx compilation. As far as I tested, the type of composable node loaded doesn't matter, however in that repository the composable node with the /parameter_events publisher disabled is used so a large number of nodes can be spawned without triggering the eclipse-cyclonedds/cyclonedds#1326 (comment) issue.
The text was updated successfully, but these errors were encountered:
Bug report
Required Info:
Steps to reproduce issue
I prepared separate repo with very simple application and launch file to reproduce the issue https://github.com/ksuszka/cyclonedds_iceoryx_components_issue_demo.
Using this repo:
Build docker image:
Open three terminal windows.
In the first terminal window start a docker container with the iox-roudi memory server:
Showing correct behavior with SHM disabled
First, run an example without shared memory to see the correct result.
In the second terminal window run the launch file which spawns 90 component_containers and loads a composable node into each:
In the third terminal check how many component_containers were created:
You should get the number 90.
And now check how many nodes were created:
You should get the number 181 = 1 launch file + 90 containers + 90 composable nodes.
Showing incorrect behavior with SHM enabled
Now abort an execution in the second terminal by Ctrl+C and run the same command enabling shared memory support:
In the third terminal check how many component_containers were created:
You should again get the number 90.
And now check how many nodes were created:
You will probably get a number lower than 181 - not all composable nodes were loaded.
Expected behavior
Composable nodes are loaded regardless if SHM is enabled/disabled
Actual behavior
Composable nodes sometimes don't load if SHM is enabled.
Additional information
The issue was observed in ROS system with a few dozens of nodes. Starting the system with SHM enabled caused random nodes to not being loaded.
The code repository contains a minimal example which demonstrates the issue using the standard Iceoryx compilation. As far as I tested, the type of composable node loaded doesn't matter, however in that repository the composable node with the /parameter_events publisher disabled is used so a large number of nodes can be spawned without triggering the eclipse-cyclonedds/cyclonedds#1326 (comment) issue.
The text was updated successfully, but these errors were encountered: