Ask Your Question

segmentation fault in gazebo

asked 2016-01-11 09:37:43 -0500

nampi gravatar image

updated 2016-01-11 11:00:09 -0500

I use ubuntu 14.04, ros indigo, verion 1.11.9.

I run this command:

roslaunch turtlebot_gazebo turtlebot_world.launch

Sometimes I have a segmentation fault (core dumped). Then I try to rerun the command. It can work as usual or fail again. Usually after three or four rerun it works correctly. You can see the error below (or on the picture 2.png). I have no idea how to repeat this bug, but it appears quite often. Do you have any ideas how can I fix this problem?

I’ve seen some questions about segmentation fault but there was no answer which can help.

[ INFO] [1451979222.241382211, 0.190000000]: Kobuki(ns = //): Advertise Bumper[mobile_base/events/bumper]!
[ INFO] [1451979222.246247047, 0.190000000]: Kobuki(ns = //): Advertise IMU[mobile_base/sensors/imu_data]!
[ INFO] [1451979222.246448570, 0.190000000]: GazeboRosKobuki plugin ready to go! [mobile_base] [spawn_turtlebot_model-4] process has finished cleanly
log file: /home/nadya/.ros/log/a2c15d8e-b37e-11e5-aa96-c485088c759e/spawn_turtlebot_model-4*.log
Segmentation fault (core dumped)
[gazebo_gui-3] process has died [pid 11524, exit code 139, cmd /opt/ros/indigo/lib/gazebo_ros/gzclient __name:=gazebo_gui __log:=/home/nadya/.ros/log/a2c15d8e-b37e-11e5-aa96-c485088c759e/gazebo_gui-3.log]. log file: /home/nadya/.ros/log/a2c15d8e-b37e-11e5-aa96-c485088c759e/gazebo_gui-3*.log
edit retag flag offensive close merge delete


Maybe try cross-posting on . Also cut and pasting text in here instead of screenshots will make it easier for others to search for the same problem.

lucasw gravatar imagelucasw ( 2016-01-11 10:08:26 -0500 )edit

@lucasw Thanks. I have edited the question.

nampi gravatar imagenampi ( 2016-01-11 11:01:26 -0500 )edit

1 Answer

Sort by » oldest newest most voted

answered 2016-01-11 11:14:43 -0500

I've seen this behavior on many machines that do not have nvidia cards (or proprietary nvidia drivers not installed/used). There doesn't seem to be much you can do about it apart from re-launching till it works AFAIK. See also related Gazebo tickets: startup errors on some gpus, segfault of tests in intel video cards.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2016-01-11 09:37:43 -0500

Seen: 2,271 times

Last updated: Jan 11 '16