gazebosim / gazebo-classic

Gazebo classic. For the latest version, see https://github.com/gazebosim/gz-sim
http://classic.gazebosim.org/
Other
1.19k stars 480 forks source link

Segmentation fault when launch turtlebot_gazebo #2100

Open osrf-migration opened 7 years ago

osrf-migration commented 7 years ago

Original report (archived issue) by Kent (Bitbucket: Kent0219).


Execute command: roslaunch turtlebot_gazebo turtlebot_world.launch

It will happen segmentation fault problem.

SUMMARY

PARAMETERS

NODES / bumper2pointcloud (nodelet/nodelet) cmd_vel_mux (nodelet/nodelet) depthimage_to_laserscan (nodelet/nodelet) gazebo (gazebo_ros/gzserver) gazebo_gui (gazebo_ros/gzclient) laserscan_nodelet_manager (nodelet/nodelet) mobile_base_nodelet_manager (nodelet/nodelet) robot_state_publisher (robot_state_publisher/robot_state_publisher) spawn_turtlebot_model (gazebo_ros/spawn_model)

ROS_MASTER_URI=http://localhost:11311

core service [/rosout] found process[gazebo-1]: started with pid [14215] process[gazebo_gui-2]: started with pid [14222] process[spawn_turtlebot_model-3]: started with pid [14229] process[mobile_base_nodelet_manager-4]: started with pid [14230] process[cmd_vel_mux-5]: started with pid [14233] process[bumper2pointcloud-6]: started with pid [14235] process[robot_state_publisher-7]: started with pid [14236] process[laserscan_nodelet_manager-8]: started with pid [14237] process[depthimage_to_laserscan-9]: started with pid [14239] [ INFO] [1480492384.526331283]: Finished loading Gazebo ROS API Plugin. [ INFO] [1480492384.527006212]: waitForService: Service [/gazebo/set_physics_properties] has not been advertised, waiting... Segmentation fault (core dumped) [gazebo-1] process has died [pid 14215, exit code 139, cmd /opt/ros/kinetic/lib/gazebo_ros/gzserver -e ode /opt/ros/kinetic/share/turtlebot_gazebo/worlds/playground.world name:=gazebo log:=/home/kent/.ros/log/a5a23646-b16a-11e6-b03c-f80f41150a0e/gazebo-1.log]. log file: /home/kent/.ros/log/a5a23646-b16a-11e6-b03c-f80f41150a0e/gazebo-1.log [gazebo_gui-2] process has died [pid 14222, exit code 255, cmd /opt/ros/kinetic/lib/gazebo_ros/gzclient __name:=gazebo_gui __log:=/home/kent/.ros/log/a5a23646-b16a-11e6-b03c-f80f41150a0e/gazebo_gui-2.log]. log file: /home/kent/.ros/log/a5a23646-b16a-11e6-b03c-f80f41150a0e/gazebo_gui-2.log

^C[depthimage_to_laserscan-9] killing on exit [laserscan_nodelet_manager-8] killing on exit [robot_state_publisher-7] killing on exit [bumper2pointcloud-6] killing on exit [cmd_vel_mux-5] killing on exit [mobile_base_nodelet_manager-4] killing on exit [spawn_turtlebot_model-3] killing on exit Traceback (most recent call last): File "/opt/ros/kinetic/lib/gazebo_ros/spawn_model", line 313, in sm.callSpawnService() File "/opt/ros/kinetic/lib/gazebo_ros/spawn_model", line 271, in callSpawnService initial_pose, self.reference_frame, self.gazebo_namespace) File "/opt/ros/kinetic/lib/python2.7/dist-packages/gazebo_ros/gazebo_interface.py", line 28, in spawn_urdf_model_client rospy.wait_for_service(gazebo_namespace+'/spawn_urdf_model') File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/impl/tcpros_service.py", line 159, in wait_for_service raise ROSInterruptException("rospy shutdown") rospy.exceptions.ROSInterruptException: rospy shutdown shutting down processing monitor... ... shutting down processing monitor complete done

osrf-migration commented 7 years ago

Original comment by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina).


Hi @Kent0219 , thank you for the crash report.

The summary you posted doesn't give any clues as to why Gazebo crashed though. Could you add more information here, such as the versions of Gazebo and ROS you're using, how you installed them, what's the content of the log files mentioned above, whether you're able to run Gazebo with the gazebo command (as opposed to roslaunch).