Process dies when running a launch file: [drive_train-12] process has died [pid 4966, exit code -11

asked 2018-08-01 16:21:47 -0500

Luis Jibaja gravatar image

Hi there. Currently working on a project involving ROS and deep learning: we're trying to run a launch file which enables us to train our Jetson TX1 bot, but each time we get an error saying that a process has died.

[drive_train-12] process has died [pid 4966, exit code -11, cmd /home/ubuntu/FOLDER_FOR_ROS/catkin_ws/devel/lib/lab4_autonomous_driving/drive_train __name:=drive_train __log:=/home/ubuntu/.ros/log/ff1fe018-95cc-11e8-b045-00044b8e904d/drive_train-12.log]. log file: /home/ubuntu/.ros/log/ff1fe018-95cc-11e8-b045-00044b8e904d/drive_train-12*.log

The strange part is that we cannot seem to locate the log file for drive_train-12 (drive_train-12-stdout.log has nothing inside of it). Ultimately, we do not know what is going on with the error or how to go about troubleshooting it. Any help/tips would be appreciated. Regardless, here is a screenshot of the location of all the logfiles:

alt text

edit retag flag offensive close merge delete

Comments

It looks like your node is crashing on startup, before it prints anything. I would try running the same command outside of roslaunch to see if you can replicate the crash: /home/ubuntu/FOLDER_FOR_ROS/catkin_ws/devel/lib/lab4_autonomous_driving/drive_train __name:=drive_train

ahendrix gravatar image ahendrix  ( 2018-08-01 17:00:21 -0500 )edit

Thanks for the response. We're not exactly sure how to run the same command outside of roslaunch. How might we go about doing that?

Thanks again.

L. gravatar image L.  ( 2018-08-01 17:22:21 -0500 )edit

/home/ubuntu/FOLDER_FOR_ROS/catkin_ws/devel/lib/lab4_autonomous_driving/drive_train __name:=drive_train is the command that you should run to run this process outside of roslaunch (roslaunch also prints this when the process dies, which is how I found it)

ahendrix gravatar image ahendrix  ( 2018-08-01 17:25:03 -0500 )edit

Thanks. This is what happens when we run the command: [rospack] Error: package 'lab4_autonomous_driving' not found Segmentation fault

Luis Jibaja gravatar image Luis Jibaja  ( 2018-08-01 17:27:50 -0500 )edit

That looks like a bug in your code. (or maybe that you haven't sourced the setup files for your workspace correctly, but that seems less likely)

ahendrix gravatar image ahendrix  ( 2018-08-01 17:53:57 -0500 )edit

Hello we found that is issue with a video writer object after we coment this lines vidFile = new VideoWriter(); vidFile->open(vid_path, CV_FOURCC('M','J','P','G'), 30, cv::Size(320,240)); the error goes off, but later when we start to use our robot we get a different errors

Luis Jibaja gravatar image Luis Jibaja  ( 2018-08-01 19:19:33 -0500 )edit