Process dies when running a launch file: [drive_train-12] process has died [pid 4966, exit code -11
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:
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
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.
/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)Thanks. This is what happens when we run the command: [rospack] Error: package 'lab4_autonomous_driving' not found Segmentation fault
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)
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