I am facing a problem about Gazebo. It crashes when I run the code `roslaunch seven_dof_arm_gazebo seven_dof_arm_world.launch
` of chapter 3 given in the Book "Mastering ROS for Robotics Programming". In particular, I face the following problem.
spawn_model script started
[gazebo-2] process has died [pid 12409, exit code 255, cmd /opt/ros/kinetic/lib/gazebo_ros/gzserver -e ode worlds/empty.world __name:=gazebo __log:=/home/khan/.ros/log/6dcae69c-763b-11e6-989e-10604b7e1ec1/gazebo-2.log].
log file: /home/khan/.ros/log/6dcae69c-763b-11e6-989e-10604b7e1ec1/gazebo-2*.log
[INFO] [WallTime: 1473390831.029952] [0.000000] Loading model xml from ros parameter
[INFO] [WallTime: 1473390831.032962] [0.000000] Waiting for service /gazebo/spawn_urdf_model
Segmentation fault (core dumped)
[gazebo_gui-3] process has died [pid 12419, exit code 139, cmd /opt/ros/kinetic/lib/gazebo_ros/gzclient __name:=gazebo_gui __log:=/home/khan/.ros/log/6dcae69c-763b-11e6-989e-10604b7e1ec1/gazebo_gui-3.log].
log file: /home/khan/.ros/log/6dcae69c-763b-11e6-989e-10604b7e1ec1/gazebo_gui-3*.log
I have tried following these solutions ([link1](http://answers.gazebosim.org/question/4252/gazebo_gui-3-error-when-starting-gazebo-with-roslaunch/), [Link2](http://answers.gazebosim.org/question/4153/gazebo-crashes-immediately-using-roslaunch-after-installing-gazebo-ros-packages/)) and I feel that my problem is quite similar to that but as it can be noticed that these problems are not yet resolved there so I cannot go any further. Please, help me out to overcome this problem. It is worth mentioning that I am using Ubuntu 16.06 with ROS-Kinetic. I shall be very thankful to you for your kind suggestions.
↧