ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

roslaunch dies with exit code -11 after it stops receiving topic from bag file

asked 2020-06-17 22:41:06 -0500

surabhi96 gravatar image

updated 2020-06-18 02:21:38 -0500

gvdhoorn gravatar image

The node behaves as expected while it receives a topic but as soon as the topic playback terminates, an error is thrown and the launch file (node) stops. I also can't find the log file in the mentioned location.

[visualize_ros-1] process has died [pid 23305, exit code -11, cmd /home/sverma/catkin_ws/devel/lib/quanergy/visualize_ros __name:=visualize_ros __log:=/home/sverma/.ros/log/3d1f5648-afc8-11ea-9ecb-d07e35604451/visualize_ros-1.log].
log file: /home/sverma/.ros/log/3d1f5648-afc8-11ea-9ecb-d07e35604451/visualize_ros-1*.log
all processes on machine have died, roslaunch will exit
edit retag flag offensive close merge delete



I'd suggest posting the actual launch file contents - otherwise this is somewhat impossible to debug

fergs gravatar image fergs  ( 2020-06-18 00:24:33 -0500 )edit

As @fergs says, We need more information in order to try to guess what's happening. Maybe at least explaining which data gives the bag file?

Solrac3589 gravatar image Solrac3589  ( 2020-06-18 00:40:10 -0500 )edit



    <arg name="path"/>

    <node pkg="my_pkg" type="my_node" name="my_node" output="screen">
        <param name="path" value="$(arg path)" />

surabhi96 gravatar image surabhi96  ( 2020-06-18 07:55:34 -0500 )edit

Also, I managed to get the most recent log file (although it was not the same name as mentioned in the console) and it says: error: [Errno 111] Connection refused

surabhi96 gravatar image surabhi96  ( 2020-06-18 07:59:00 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2020-06-18 14:45:09 -0500

Weasfas gravatar image

I think the error is just a node trying to connect to a service that is already shut down. Are you running the bag and the node in different machines/networks. Have you properly set up the ROS_MASTER_URI/ROS_IP enviromental variables. Check this.

Besides that, exit code -11 means a SIGSEGV that basically means a segmentation fault, maybe in your code you have something that is crashing the excution. Just to be sure you can debug it GDB.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2020-06-17 22:41:06 -0500

Seen: 8,853 times

Last updated: Jun 18 '20