robotics-in-concert / concert_services

Official services supported by rocon.
0 stars 5 forks source link

Gazebo crashes #30

Open stonier opened 9 years ago

stonier commented 9 years ago

Symptoms, root causes....and solutions!

This will not be good if we launch rocon simulations, but it crashes one in three.

@jihoonl can you start paying attention to details and scrape them for this issue?

jihoonl commented 9 years ago

It got this log when I started turtlebot_gazebo with no concert infra. It failed to start up gzclient

jihoonl@whoola:~/research/ros/gazeborocon/src/turtlebot_simulator/turtlebot_gazebo/launch$ roslaunch turtlebot_world.launch 
... logging to /home/jihoonl/.ros/log/c0c01ff6-6e0a-11e4-a4a7-3085a9948f5e/roslaunch-whoola-8960.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://whoola:53576/

SUMMARY
========

PARAMETERS
 * /bumper2pointcloud/pointcloud_radius: 0.24
 * /cmd_vel_mux/yaml_cfg_file: /home/jihoonl/res...
 * /depthimage_to_laserscan/output_frame_id: /camera_depth_frame
 * /depthimage_to_laserscan/range_min: 0.45
 * /depthimage_to_laserscan/scan_height: 10
 * /robot_description: <?xml version="1....
 * /robot_state_publisher/publish_frequency: 30.0
 * /rosdistro: indigo
 * /rosversion: 1.11.9
 * /use_sim_time: True

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)

auto-starting new master
process[master]: started with pid [8975]
ROS_MASTER_URI=http://whoola:11311

setting /run_id to c0c01ff6-6e0a-11e4-a4a7-3085a9948f5e
process[rosout-1]: started with pid [8988]
started core service [/rosout]
process[gazebo-2]: started with pid [9012]
process[gazebo_gui-3]: started with pid [9018]
Gazebo multi-robot simulator, version 2.2.3
Copyright (C) 2012-2014 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

Gazebo multi-robot simulator, version 2.2.3
Copyright (C) 2012-2014 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

process[spawn_turtlebot_model-4]: started with pid [9028]
[ INFO] [1416195322.889001473]: Finished loading Gazebo ROS API Plugin.
Msg Waiting for master
[ INFO] [1416195322.891003257]: waitForService: Service [/gazebo/set_physics_properties] has not been advertised, waiting...
Msg Waiting for master
Msg Connected to gazebo master @ http://127.0.0.1:11345
Msg Publicized address: 192.168.10.129
Msg Connected to gazebo master @ http://127.0.0.1:11345
Msg Publicized address: 192.168.10.129
process[mobile_base_nodelet_manager-5]: started with pid [9067]
[ INFO] [1416195323.336731056, 0.030000000]: waitForService: Service [/gazebo/set_physics_properties] is now available.
[ INFO] [1416195323.383317573, 0.070000000]: Physics dynamic reconfigure ready.
X Error of failed request:  BadDrawable (invalid Pixmap or Window parameter)
  Major opcode of failed request:  155 (DRI2)
  Minor opcode of failed request:  3 (DRI2CreateDrawable)
  Resource id in failed request:  0x5200002
  Serial number of failed request:  37
  Current serial number in output stream:  39
process[cmd_vel_mux-6]: started with pid [9216]
[gazebo_gui-3] process has died [pid 9018, exit code 1, cmd /opt/ros/indigo/lib/gazebo_ros/gzclient __name:=gazebo_gui __log:=/home/jihoonl/.ros/log/c0c01ff6-6e0a-11e4-a4a7-3085a9948f5e/gazebo_gui-3.log].
log file: /home/jihoonl/.ros/log/c0c01ff6-6e0a-11e4-a4a7-3085a9948f5e/gazebo_gui-3*.log
process[bumper2pointcloud-7]: started with pid [9282]
process[robot_state_publisher-8]: started with pid [9335]
[ INFO] [1416195324.849157916, 1.170000000]: Camera Plugin (robotNamespace = /), Info: Using the 'robotNamespace' param: '/'
process[laserscan_nodelet_manager-9]: started with pid [9370]
[ INFO] [1416195325.000969718, 1.170000000]: Camera Plugin (ns = /)  <tf_prefix_>, set to ""
[ INFO] [1416195325.061024406, 1.170000000]: Starting plugin Kobuki(ns = //)!
[ WARN] [1416195325.061170320, 1.170000000]: Kobuki(ns = //): missing <rosDebugLevel> default is na
[ INFO] [1416195325.064020916, 1.170000000]: Kobuki(ns = //): <tf_prefix> = 
Dbg Plugin model name: mobile_base
[ INFO] [1416195325.064368982, 1.170000000]: Will publish tf. [mobile_base]
[ INFO] [1416195325.066757808, 1.170000000]: Kobuki(ns = //): Advertise joint_states[joint_states]!
[ INFO] [1416195325.068797842, 1.170000000]: Kobuki(ns = //): Advertise Odometry[odom]!
[ INFO] [1416195325.082083099, 1.170000000]: Kobuki(ns = //): Try to subscribe to mobile_base/commands/motor_power!
[ INFO] [1416195325.085672611, 1.170000000]: Kobuki(ns = //): Try to subscribe to mobile_base/commands/reset_odometry!
[ INFO] [1416195325.092055327, 1.170000000]: Kobuki(ns = //): Try to subscribe to mobile_base/commands/motor_power!
[ INFO] [1416195325.093037586, 1.170000000]: Kobuki(ns = //): Advertise Cliff[mobile_base/events/cliff]!
[ INFO] [1416195325.094042281, 1.170000000]: Kobuki(ns = //): Advertise Bumper[mobile_base/events/bumper]!
[ INFO] [1416195325.095888908, 1.170000000]: Kobuki(ns = //): Advertise IMU[mobile_base/sensors/imu_data]!
[ INFO] [1416195325.095969839, 1.170000000]: GazeboRosKobuki plugin ready to go! [mobile_base]
[spawn_turtlebot_model-4] process has finished cleanly
log file: /home/jihoonl/.ros/log/c0c01ff6-6e0a-11e4-a4a7-3085a9948f5e/spawn_turtlebot_model-4*.log
process[depthimage_to_laserscan-10]: started with pid [9467]
stonier commented 9 years ago

I guess next questions would be: