Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Gazebo crashes on launch with BadDrawable error

Not sure why it started crashing - was working fine until yesterday. The NVIDIA card is loaded properly - here is the graphics card info:

~/catkin_ws$ glxinfo -B
name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: nouveau (0x10de)
Device: NV126 (0x1406)
Version: 17.2.8
Accelerated: yes
Video memory: 4075MB
Unified memory: no
Preferred profile: core (0x1)
Max core profile version: 4.3
Max compat profile version: 3.0
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.1

OpenGL vendor string: nouveau
OpenGL renderer string: NV126
OpenGL core profile version string: 4.3 (Core Profile) Mesa 17.2.8
OpenGL core profile shading language version string: 4.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 3.0 Mesa 17.2.8
OpenGL shading language version string: 1.30
OpenGL context flags: (none)

OpenGL ES profile version string: OpenGL ES 3.1 Mesa 17.2.8
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10

Here is the 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://10.0.0.2:44577/

SUMMARY

PARAMETERS * /arm_trajectory_controller/constraints/goal_time: 2.5 * /arm_trajectory_controller/constraints/rotation1_joint/goal: 0.8 * /arm_trajectory_controller/constraints/rotation1_joint/trajectory: 1.2 * /arm_trajectory_controller/constraints/rotation2_joint/goal: 0.8 * /arm_trajectory_controller/constraints/rotation2_joint/trajectory: 1.2 * /arm_trajectory_controller/constraints/shoulder1_joint/goal: 0.8 * /arm_trajectory_controller/constraints/shoulder1_joint/trajectory: 1.2 * /arm_trajectory_controller/constraints/shoulder2_joint/goal: 0.8 * /arm_trajectory_controller/constraints/shoulder2_joint/trajectory: 1.2 * /arm_trajectory_controller/constraints/shoulder3_joint/goal: 0.8 * /arm_trajectory_controller/constraints/shoulder3_joint/trajectory: 1.2 * /arm_trajectory_controller/constraints/stopped_velocity_tolerance: 0.05 * /arm_trajectory_controller/constraints/wrist_joint/goal: 0.8 * /arm_trajectory_controller/constraints/wrist_joint/trajectory: 1.2 * /arm_trajectory_controller/joints: ['rotation1_joint... * /arm_trajectory_controller/publish_rate: 50 * /arm_trajectory_controller/type: pos_vel_controlle... * /armadillo2_services_node/center_head: True * /espeak_node/age: 30 * /espeak_node/capitals: 0 * /espeak_node/dialect: 1 * /espeak_node/gender: 1 * /espeak_node/pitch: 50 * /espeak_node/punctuation: 0 * /espeak_node/rate: 157 * /espeak_node/voice: 1 * /espeak_node/volume: 100 * /espeak_node/wordgap: 10 * /gripper_controller/action_monitor_rate: 50 * /gripper_controller/goal_tolerance: 0.005 * /gripper_controller/joints_vel: 1.0 * /gripper_controller/left_finger_joint: left_finger_joint * /gripper_controller/right_finger_joint: right_finger_joint * /gripper_controller/stall_timeout: 1.0 * /gripper_controller/stalled_velocity_threshold: 0.01 * /gripper_controller/type: pos_vel_controlle... * /mobile_base_controller/angular/z/has_acceleration_limits: True * /mobile_base_controller/angular/z/has_velocity_limits: True * /mobile_base_controller/angular/z/max_acceleration: 0.5 * /mobile_base_controller/angular/z/max_velocity: 1.0 * /mobile_base_controller/base_frame_id: base_footprint * /mobile_base_controller/cmd_vel_timeout: 1.0 * /mobile_base_controller/enable_odom_tf: True * /mobile_base_controller/left_wheel: left_wheel_joint * /mobile_base_controller/linear/x/has_acceleration_limits: True * /mobile_base_controller/linear/x/has_velocity_limits: True * /mobile_base_controller/linear/x/max_acceleration: 0.15 * /mobile_base_controller/linear/x/max_velocity: 0.4 * /mobile_base_controller/linear/x/min_acceleration: -0.15 * /mobile_base_controller/linear/x/min_velocity: -0.2 * /mobile_base_controller/pose_covariance_diagonal: [0.01, 0.01, 0.01... * /mobile_base_controller/publish_rate: 50.0 * /mobile_base_controller/right_wheel: right_wheel_joint * /mobile_base_controller/twist_covariance_diagonal: [0.01, 0.01, 0.01... * /mobile_base_controller/type: diff_drive_contro... * /mobile_base_controller/wheel_radius: 0.09 * /mobile_base_controller/wheel_radius_multiplier: 1.0 * /mobile_base_controller/wheel_separation: 0.3284 * /mobile_base_controller/wheel_separation_multiplier: 1.0 * /pan_tilt_controller/joints: ['head_pan_joint'... * /pan_tilt_controller/publish_rate: 50 * /pan_tilt_controller/type: position_controll... * /pan_tilt_posvel_trajectory_controller/joints: ['head_pan_joint'... * /pan_tilt_posvel_trajectory_controller/type: pos_vel_controlle... * /pan_tilt_trajectory_controller/joints: ['head_pan_joint'... * /pan_tilt_trajectory_controller/type: position_controll... * /robot_description:

NODES / armadillo2_services_node (armadillo2_services/armadillo2_services_node) armadillo2_spawn (gazebo_ros/spawn_model) controller_spawner (controller_manager/spawner) espeak_node (espeak_ros/espeak_node) gazebo (gazebo_ros/gzserver) gazebo_gui (gazebo_ros/gzclient) map_odom_broadcaster (tf/static_transform_publisher) robot_state_publisher (robot_state_publisher/robot_state_publisher) twist_mux_node (twist_mux/twist_mux)

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

setting /run_id to 9cebc03e-2b86-11e8-ad97-44032c897754 process[rosout-1]: started with pid [23874] started core service [/rosout] process[robot_state_publisher-2]: started with pid [23898] process[armadillo2_services_node-3]: started with pid [23899] process[espeak_node-4]: started with pid [23900] process[map_odom_broadcaster-5]: started with pid [23919] process[controller_spawner-6]: started with pid [23941] process[gazebo-7]: started with pid [23957] process[gazebo_gui-8]: started with pid [23975] process[armadillo2_spawn-9]: started with pid [23995] process[twist_mux_node-10]: started with pid [24008] X Error of failed request: BadDrawable (invalid Pixmap or Window parameter) Major opcode of failed request: 154 (DRI2) Minor opcode of failed request: 3 (DRI2CreateDrawable) Resource id in failed request: 0x4200002 Serial number of failed request: 31 Current serial number in output stream: 33 SpawnModel script started terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::lock_error> >' what(): boost: mutex lock failed in pthread_mutex_lock: Invalid argument Aborted (core dumped) [gazebo-7] process has died [pid 23957, exit code 134, cmd /opt/ros/kinetic/lib/gazebo_ros/gzserver -e ode worlds/empty.world __name:=gazebo __log:=/home/armadillo2/.ros/log/9cebc03e-2b86-11e8-ad97-44032c897754/gazebo-7.log]. log file: /home/armadillo2/.ros/log/9cebc03e-2b86-11e8-ad97-44032c897754/gazebo-7.log [gazebo_gui-8] process has died [pid 23975, exit code 255, cmd /opt/ros/kinetic/lib/gazebo_ros/gzclient __name:=gazebo_gui __log:=/home/armadillo2/.ros/log/9cebc03e-2b86-11e8-ad97-44032c897754/gazebo_gui-8.log]. log file: /home/armadillo2/.ros/log/9cebc03e-2b86-11e8-ad97-44032c897754/gazebo_gui-8.log [controller_spawner-6] process has finished cleanly log file: /home/armadillo2/.ros/log/9cebc03e-2b86-11e8-ad97-44032c897754/controller_spawner-6*.log

Gazebo crashes on launch with BadDrawable error

Not sure why it started crashing - was working fine until yesterday. The NVIDIA card is loaded properly - here is the graphics card info:

~/catkin_ws$ glxinfo -B
name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: nouveau (0x10de)
Device: NV126 (0x1406)
Version: 17.2.8
Accelerated: yes
Video memory: 4075MB
Unified memory: no
Preferred profile: core (0x1)
Max core profile version: 4.3
Max compat profile version: 3.0
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.1

OpenGL vendor string: nouveau
OpenGL renderer string: NV126
OpenGL core profile version string: 4.3 (Core Profile) Mesa 17.2.8
OpenGL core profile shading language version string: 4.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 3.0 Mesa 17.2.8
OpenGL shading language version string: 1.30
OpenGL context flags: (none)

OpenGL ES profile version string: OpenGL ES 3.1 Mesa 17.2.8
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10

Here is the 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://10.0.0.2:44577/

SUMMARY

PARAMETERS * /arm_trajectory_controller/constraints/goal_time: 2.5 * /arm_trajectory_controller/constraints/rotation1_joint/goal: 0.8 * /arm_trajectory_controller/constraints/rotation1_joint/trajectory: 1.2 * /arm_trajectory_controller/constraints/rotation2_joint/goal: 0.8 * /arm_trajectory_controller/constraints/rotation2_joint/trajectory: 1.2 * /arm_trajectory_controller/constraints/shoulder1_joint/goal: 0.8 * /arm_trajectory_controller/constraints/shoulder1_joint/trajectory: 1.2 * /arm_trajectory_controller/constraints/shoulder2_joint/goal: 0.8 * /arm_trajectory_controller/constraints/shoulder2_joint/trajectory: 1.2 * /arm_trajectory_controller/constraints/shoulder3_joint/goal: 0.8 * /arm_trajectory_controller/constraints/shoulder3_joint/trajectory: 1.2 * /arm_trajectory_controller/constraints/stopped_velocity_tolerance: 0.05 * /arm_trajectory_controller/constraints/wrist_joint/goal: 0.8 * /arm_trajectory_controller/constraints/wrist_joint/trajectory: 1.2 * /arm_trajectory_controller/joints: ['rotation1_joint... * /arm_trajectory_controller/publish_rate: 50 * /arm_trajectory_controller/type: pos_vel_controlle... * /armadillo2_services_node/center_head: True * /espeak_node/age: 30 * /espeak_node/capitals: 0 * /espeak_node/dialect: 1 * /espeak_node/gender: 1 * /espeak_node/pitch: 50 * /espeak_node/punctuation: 0 * /espeak_node/rate: 157 * /espeak_node/voice: 1 * /espeak_node/volume: 100 * /espeak_node/wordgap: 10 * /gripper_controller/action_monitor_rate: 50 * /gripper_controller/goal_tolerance: 0.005 * /gripper_controller/joints_vel: 1.0 * /gripper_controller/left_finger_joint: left_finger_joint * /gripper_controller/right_finger_joint: right_finger_joint * /gripper_controller/stall_timeout: 1.0 * /gripper_controller/stalled_velocity_threshold: 0.01 * /gripper_controller/type: pos_vel_controlle... * /mobile_base_controller/angular/z/has_acceleration_limits: True * /mobile_base_controller/angular/z/has_velocity_limits: True * /mobile_base_controller/angular/z/max_acceleration: 0.5 * /mobile_base_controller/angular/z/max_velocity: 1.0 * /mobile_base_controller/base_frame_id: base_footprint * /mobile_base_controller/cmd_vel_timeout: 1.0 * /mobile_base_controller/enable_odom_tf: True * /mobile_base_controller/left_wheel: left_wheel_joint * /mobile_base_controller/linear/x/has_acceleration_limits: True * /mobile_base_controller/linear/x/has_velocity_limits: True * /mobile_base_controller/linear/x/max_acceleration: 0.15 * /mobile_base_controller/linear/x/max_velocity: 0.4 * /mobile_base_controller/linear/x/min_acceleration: -0.15 * /mobile_base_controller/linear/x/min_velocity: -0.2 * /mobile_base_controller/pose_covariance_diagonal: [0.01, 0.01, 0.01... * /mobile_base_controller/publish_rate: 50.0 * /mobile_base_controller/right_wheel: right_wheel_joint * /mobile_base_controller/twist_covariance_diagonal: [0.01, 0.01, 0.01... * /mobile_base_controller/type: diff_drive_contro... * /mobile_base_controller/wheel_radius: 0.09 * /mobile_base_controller/wheel_radius_multiplier: 1.0 * /mobile_base_controller/wheel_separation: 0.3284 * /mobile_base_controller/wheel_separation_multiplier: 1.0 * /pan_tilt_controller/joints: ['head_pan_joint'... * /pan_tilt_controller/publish_rate: 50 * /pan_tilt_controller/type: position_controll... * /pan_tilt_posvel_trajectory_controller/joints: ['head_pan_joint'... * /pan_tilt_posvel_trajectory_controller/type: pos_vel_controlle... * /pan_tilt_trajectory_controller/joints: ['head_pan_joint'... * /pan_tilt_trajectory_controller/type: position_controll... * /robot_description:

NODES / armadillo2_services_node (armadillo2_services/armadillo2_services_node) armadillo2_spawn (gazebo_ros/spawn_model) controller_spawner (controller_manager/spawner) espeak_node (espeak_ros/espeak_node) gazebo (gazebo_ros/gzserver) gazebo_gui (gazebo_ros/gzclient) map_odom_broadcaster (tf/static_transform_publisher) robot_state_publisher (robot_state_publisher/robot_state_publisher) twist_mux_node (twist_mux/twist_mux)

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

setting /run_id to 9cebc03e-2b86-11e8-ad97-44032c897754 process[rosout-1]: started with pid [23874] started core service [/rosout] process[robot_state_publisher-2]: started with pid [23898] process[armadillo2_services_node-3]: started with pid [23899] process[espeak_node-4]: started with pid [23900] process[map_odom_broadcaster-5]: started with pid [23919] process[controller_spawner-6]: started with pid [23941] process[gazebo-7]: started with pid [23957] process[gazebo_gui-8]: started with pid [23975] process[armadillo2_spawn-9]: started with pid [23995] process[twist_mux_node-10]: started with pid [24008] [ INFO] [1521471780.438056391]: waitForService: Service [/gazebo/set_physics_properties] has not been advertised, waiting... X Error of failed request: BadDrawable (invalid Pixmap or Window parameter) Major opcode of failed request: 154 (DRI2) Minor opcode of failed request: 3 (DRI2CreateDrawable) Resource id in failed request: 0x4200002 Serial number of failed request: 31 Current serial number in output stream: 33 SpawnModel script started started terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::lock_error> >' what(): boost: mutex lock failed in pthread_mutex_lock: Invalid argument Aborted (core dumped) [gazebo-7] process has died [pid 23957, exit code 134, cmd /opt/ros/kinetic/lib/gazebo_ros/gzserver -e ode worlds/empty.world __name:=gazebo __log:=/home/armadillo2/.ros/log/9cebc03e-2b86-11e8-ad97-44032c897754/gazebo-7.log]. log file: /home/armadillo2/.ros/log/9cebc03e-2b86-11e8-ad97-44032c897754/gazebo-7.log [gazebo_gui-8] process has died [pid 23975, exit code 255, cmd /opt/ros/kinetic/lib/gazebo_ros/gzclient __name:=gazebo_gui __log:=/home/armadillo2/.ros/log/9cebc03e-2b86-11e8-ad97-44032c897754/gazebo_gui-8.log]. log file: /home/armadillo2/.ros/log/9cebc03e-2b86-11e8-ad97-44032c897754/gazebo_gui-8.log [controller_spawner-6] process has finished cleanly log file: /home/armadillo2/.ros/log/9cebc03e-2b86-11e8-ad97-44032c897754/controller_spawner-6*.log