When launching any of the files that launches gazebo_ros empty_world.launch will crash with the following output:
process[rosout-1]: started with pid [12999]
started core service [/rosout]
process[gazebo-2]: started with pid [13023]
process[gazebo_gui-3]: started with pid [13027]
process[spawn_hand-4]: started with pid [13035]
process[spawn_gazebo_hand_controllers-5]: started with pid [13085]
process[joint_state_controller_spawner-6]: started with pid [13087]
process[robot_state_publisher_full_pos-7]: started with pid [13091]
[ INFO] [1484740696.076307758]: Finished loading Gazebo ROS API Plugin.
[ INFO] [1484740696.077062979]: waitForService: Service [/gazebo/set_physics_properties] has not been advertised, waiting...
libGL error: failed to open drm device: No such file or directory
libGL error: failed to load driver: i965
spawn_model script started
[INFO] [1484740696.294543, 0.000000]: Loading model xml from ros parameter
[INFO] [1484740696.301590, 0.000000]: Waiting for service /gazebo/spawn_urdf_model
[INFO] [1484740696.491983, 0.000000]: Controller Spawner: Waiting for service controller_manager/load_controller
[INFO] [1484740696.514576, 0.000000]: Controller Spawner: Waiting for service controller_manager/load_controller
gzserver: /usr/include/boost/thread/pthread/recursive_mutex.hpp:113: void boost::recursive_mutex::lock(): Assertion `!pthread_mutex_lock(&m)' failed.
/home/user/projects/shadow_robot/base/src/gazebo_ros_pkgs/gazebo_ros/scripts/gzserver: line 37: 13067 Aborted (core dumped) GAZEBO_MASTER_URI="$desired_master_uri" gzserver $final
[gazebo-2] process has died [pid 13023, exit code 134, cmd /home/user/projects/shadow_robot/base/src/gazebo_ros_pkgs/gazebo_ros/scripts/gzserver -e ode /home/user/projects/shadow_robot/base/src/sr_common/sr_description/other/worlds/shadowhand.world __name:=gazebo __log:=/home/user/.ros/log/625b13bc-dd75-11e6-9741-0242ac110002/gazebo-2.log].
log file: /home/user/.ros/log/625b13bc-dd75-11e6-9741-0242ac110002/gazebo-2*.log
[gazebo_gui-3] process has died [pid 13027, exit code 255, cmd /home/user/projects/shadow_robot/base/src/gazebo_ros_pkgs/gazebo_ros/scripts/gzclient __name:=gazebo_gui __log:=/home/user/.ros/log/625b13bc-dd75-11e6-9741-0242ac110002/gazebo_gui-3.log].
log file: /home/user/.ros/log/625b13bc-dd75-11e6-9741-0242ac110002/gazebo_gui-3*.log
[WARN] [1484740726.783963, 0.000000]: Controller Spawner couldn't find the expected controller_manager ROS interface.
[joint_state_controller_spawner-6] process has finished cleanly
log file: /home/user/.ros/log/625b13bc-dd75-11e6-9741-0242ac110002/joint_state_controller_spawner-6*.log
[WARN] [1484740756.699256, 0.000000]: Controller Spawner couldn't find the expected controller_manager ROS interface.
[spawn_gazebo_hand_controllers-5] process has finished cleanly
log file: /home/user/.ros/log/625b13bc-dd75-11e6-9741-0242ac110002/spawn_gazebo_hand_controllers-5*.log
When launching any of the files that launches gazebo_ros empty_world.launch will crash with the following output:
However changing the option
verbosetotruethe crash is solved and simulation works ok. No idea why this is happening.