micro-ROS-Agent: Agent crash

Describe the bug The agent crashes.

On Windows: [ros2run]: Process exited with failure 3221225477 On Ubuntu (using docker image): [ros2run]: Segmentation fault

To Reproduce Not sure.

For the first crash (using Windows), my robot connected to the agent just fine. Then I opened another command prompt and tried ros2 topic echo /joint_states. The agent immediately failed with [ros2run]: Process exited with failure 3221225477.

Then I switched to my Ubuntu machine and started up the docker image.

docker run \
  -it \
  --rm \
  --net=host \
  microros/micro-ros-agent:humble \
    udp4 \
    --port 8888

It seemed to be working, so I assumed it was something wrong with the Windows version.

I left the agent connected with the robot running. (Robot might have been rebooted at some point; I don’t really know.) Some time later, I went to shut down the Ubuntu machine and saw the agent had failed. [ros2run] Segmentation fault

So, I figured I would try it on Windows again to get a procedure to reproduce the error. But, I can’t make it happen again.

System information (please complete the following information):

  • OS: Windows 10 and Ubuntu Jammy
  • ros2-humble-20220523-windows-release-amd64
  • Agent v3.0.3

Additional context Up until now, I had been using a galactic version of the Agent. I had not had any problems with it. This is my first time using Humble.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 36 (14 by maintainers)

Most upvoted comments

@gavanderhoorn ongoing generation:https://github.com/micro-ROS/docker/actions/runs/2912224500

Sorry for the delay in the fix!

Yes, #169 appears to have fixed the issue. Thank you.

Check this and this

We replicated this using your instructions, and the issue seems to be identified by the Fast DDS team.

CC: @EduPonz @MiguelCompany @jsantiago-eProsima

Replicated, working on it.