RethinkRobotics / baxter_simulator

Gazebo Simulation interface for the Baxter Research Robot
http://sdk.rethinkrobotics.com/wiki/Baxter_Simulator
BSD 3-Clause "New" or "Revised" License
84 stars 94 forks source link

Baxter simulator for ros testing - gazebo aborts [1] #114

Open alecive opened 7 years ago

alecive commented 7 years ago

Hello,

I am trying to set up travis builds with an headless gazebo server to perform ros tests and integration tests. I am having a number of problems, which I will place in independent issues for the sake of sanity.

Problem 1 is that sometimes gazebo crashes with the following error:

[ INFO][/baxter_emulator::service::exists]: waitForService: Service [/gazebo/get_link_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:  0x4a00002
  Serial number of failed request:  31
  Current serial number in output stream:  33
[INFO][/robot/controller_spawner::main]: Controller Spawner: Waiting for service controller_manager/load_controller
[INFO][/robot/controller_spawner_stopped::main]: Controller Spawner: Waiting for service controller_manager/load_controller
[INFO][/robot/left_gripper_controller_spawner_stopped::main]: Controller Spawner: Waiting for service controller_manager/load_controller
[INFO][/robot/right_gripper_controller_spawner_stopped::main]: Controller Spawner: Waiting for service controller_manager/load_controller
gzserver: /usr/include/boost/thread/pthread/recursive_mutex.hpp:101: boost::recursive_mutex::~recursive_mutex(): Assertion `!pthread_mutex_destroy(&m)' failed.
Aborted (core dumped)

this happens only if I launch baxter_world.launch from a rostest, not from a roslaunch.

See https://github.com/RethinkRobotics/baxter_simulator/issues/115 and https://github.com/RethinkRobotics/baxter_simulator/issues/116 as well.