Robotics StackExchange | Archived questions

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 * /armtrajectorycontroller/constraints/goaltime: 2.5 * /armtrajectorycontroller/constraints/rotation1joint/goal: 0.8 * /armtrajectorycontroller/constraints/rotation1joint/trajectory: 1.2 * /armtrajectorycontroller/constraints/rotation2joint/goal: 0.8 * /armtrajectorycontroller/constraints/rotation2joint/trajectory: 1.2 * /armtrajectorycontroller/constraints/shoulder1joint/goal: 0.8 * /armtrajectorycontroller/constraints/shoulder1joint/trajectory: 1.2 * /armtrajectorycontroller/constraints/shoulder2joint/goal: 0.8 * /armtrajectorycontroller/constraints/shoulder2joint/trajectory: 1.2 * /armtrajectorycontroller/constraints/shoulder3joint/goal: 0.8 * /armtrajectorycontroller/constraints/shoulder3joint/trajectory: 1.2 * /armtrajectorycontroller/constraints/stoppedvelocitytolerance: 0.05 * /armtrajectorycontroller/constraints/wristjoint/goal: 0.8 * /armtrajectorycontroller/constraints/wristjoint/trajectory: 1.2 * /armtrajectorycontroller/joints: ['rotation1joint... * /armtrajectorycontroller/publishrate: 50 * /armtrajectorycontroller/type: posvelcontrolle... * /armadillo2servicesnode/centerhead: True * /espeaknode/age: 30 * /espeaknode/capitals: 0 * /espeaknode/dialect: 1 * /espeaknode/gender: 1 * /espeaknode/pitch: 50 * /espeaknode/punctuation: 0 * /espeaknode/rate: 157 * /espeaknode/voice: 1 * /espeaknode/volume: 100 * /espeaknode/wordgap: 10 * /grippercontroller/actionmonitorrate: 50 * /grippercontroller/goaltolerance: 0.005 * /grippercontroller/jointsvel: 1.0 * /grippercontroller/leftfingerjoint: leftfingerjoint * /grippercontroller/rightfingerjoint: rightfingerjoint * /grippercontroller/stalltimeout: 1.0 * /grippercontroller/stalledvelocitythreshold: 0.01 * /grippercontroller/type: posvelcontrolle... * /mobilebasecontroller/angular/z/hasaccelerationlimits: True * /mobilebasecontroller/angular/z/hasvelocitylimits: True * /mobilebasecontroller/angular/z/maxacceleration: 0.5 * /mobilebasecontroller/angular/z/maxvelocity: 1.0 * /mobilebasecontroller/baseframeid: basefootprint * /mobilebasecontroller/cmdveltimeout: 1.0 * /mobilebasecontroller/enableodomtf: True * /mobilebasecontroller/leftwheel: leftwheeljoint * /mobilebasecontroller/linear/x/hasaccelerationlimits: True * /mobilebasecontroller/linear/x/hasvelocitylimits: True * /mobilebasecontroller/linear/x/maxacceleration: 0.15 * /mobilebasecontroller/linear/x/maxvelocity: 0.4 * /mobilebasecontroller/linear/x/minacceleration: -0.15 * /mobilebasecontroller/linear/x/minvelocity: -0.2 * /mobilebasecontroller/posecovariancediagonal: [0.01, 0.01, 0.01... * /mobilebasecontroller/publishrate: 50.0 * /mobilebasecontroller/rightwheel: rightwheeljoint * /mobilebasecontroller/twistcovariancediagonal: [0.01, 0.01, 0.01... * /mobilebasecontroller/type: diffdrivecontro... * /mobilebasecontroller/wheelradius: 0.09 * /mobilebasecontroller/wheelradiusmultiplier: 1.0 * /mobilebasecontroller/wheelseparation: 0.3284 * /mobilebasecontroller/wheelseparationmultiplier: 1.0 * /pantiltcontroller/joints: ['headpanjoint'... * /pantiltcontroller/publishrate: 50 * /pantiltcontroller/type: positioncontroll... * /pantiltposveltrajectorycontroller/joints: ['headpanjoint'... * /pantiltposveltrajectorycontroller/type: posvelcontrolle... * /pantilttrajectorycontroller/joints: ['headpanjoint'... * /pantilttrajectorycontroller/type: positioncontroll... * /robotdescription: <?xml version="1.... * /robotstatecontroller/publishrate: 50 * /robotstatecontroller/type: jointstatecontr... * /rosdistro: kinetic * /rosversion: 1.12.12 * /torsoeffortcontroller/joint: torsojoint * /torsoeffortcontroller/pid/d: 200.0 * /torsoeffortcontroller/pid/i: 60 * /torsoeffortcontroller/pid/iclamp: 80 * /torsoeffortcontroller/pid/p: 2000.0 * /torsoeffortcontroller/type: effortcontroller... * /torsopositioncontroller/joint: torsojoint * /torsopositioncontroller/type: positioncontroll... * /twistmuxnode/locks: [{'topic': 'pause... * /twistmuxnode/topics: [{'topic': 'joyv... * /usesimtime: True

NODES / armadillo2servicesnode (armadillo2services/armadillo2servicesnode) armadillo2spawn (gazeboros/spawnmodel) controllerspawner (controllermanager/spawner) espeaknode (espeakros/espeaknode) gazebo (gazeboros/gzserver) gazebogui (gazeboros/gzclient) mapodombroadcaster (tf/statictransformpublisher) robotstatepublisher (robotstatepublisher/robotstatepublisher) twistmuxnode (twistmux/twistmux)

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

setting /runid to 9cebc03e-2b86-11e8-ad97-44032c897754 process[rosout-1]: started with pid [23874] started core service [/rosout] process[robotstatepublisher-2]: started with pid [23898] process[armadillo2servicesnode-3]: started with pid [23899] process[espeaknode-4]: started with pid [23900] process[mapodombroadcaster-5]: started with pid [23919] process[controllerspawner-6]: started with pid [23941] process[gazebo-7]: started with pid [23957] process[gazebogui-8]: started with pid [23975] process[armadillo2spawn-9]: started with pid [23995] process[twistmuxnode-10]: started with pid [24008] [ INFO] [1521471780.188751092]: Topic handler 'joystick' subscribed to topic 'joyvel': timeout = 0.500000s, priority = 100 [ INFO] [1521471780.192056426]: Topic handler 'api' subscribed to topic 'cmdvel': timeout = 0.500000s, priority = 90 [ INFO] [1521471780.194663780]: Topic handler 'navigation' subscribed to topic 'navvel': timeout = 0.500000s, priority = 80 [ INFO] [1521471780.198060025]: Topic handler 'pause' subscribed to topic 'pausenavigation': timeout = None, priority = 100 [ INFO] [1521471780.200569788]: Topic handler 'joystick' subscribed to topic 'joypriority': timeout = None, priority = 100 [INFO] [1521471780.437482, 0.000000]: Controller Spawner: Waiting for service controllermanager/loadcontroller [ INFO] [1521471780.437619236]: Finished loading Gazebo ROS API Plugin. [ INFO] [1521471780.438056391]: waitForService: Service [/gazebo/setphysicsproperties] 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 [INFO] [1521471780.794240, 0.000000]: Loading model XML from ros parameter [INFO] [1521471780.799830, 0.000000]: Waiting for service /gazebo/spawnurdfmodel terminate called after throwing an instance of 'boost::exceptiondetail::cloneimplboost::exception_detail::error_info_injector<boost::lock_error >' what(): boost: mutex lock failed in pthreadmutexlock: Invalid argument Aborted (core dumped) [gazebo-7] process has died [pid 23957, exit code 134, cmd /opt/ros/kinetic/lib/gazeboros/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 [gazebogui-8] process has died [pid 23975, exit code 255, cmd /opt/ros/kinetic/lib/gazeboros/gzclient _name:=gazebogui _log:=/home/armadillo2/.ros/log/9cebc03e-2b86-11e8-ad97-44032c897754/gazebogui-8.log]. log file: /home/armadillo2/.ros/log/9cebc03e-2b86-11e8-ad97-44032c897754/gazebogui-8.log [WARN] [1521471810.683926, 0.000000]: Controller Spawner couldn't find the expected controllermanager ROS interface. [controllerspawner-6] process has finished cleanly log file: /home/armadillo2/.ros/log/9cebc03e-2b86-11e8-ad97-44032c897754/controller_spawner-6.log

Asked by shaihi on 2018-03-19 10:12:12 UTC

Comments

Answers