Ask Your Question
2

Gazebo unable to launch empty world

asked 2012-08-21 23:09:45 -0600

Eric gravatar image

updated 2012-08-21 23:10:06 -0600

Hi~everyone

I installed ROS fuerte in Ubuntu 12.04 and I tried to launch the empty world

  roslaunch  gazebo_worlds empty_world.launch

I got the following error message:

  Error [Transport.cc:102] Unable to get topic namespaces in [50] tries.
  Error [Node.cc:68] No namespace found

/opt/ros/fuerte/stacks/simulator_gazebo/gazebo/scripts/gui: line 2: 5106 segmentation fault (core dumped) rospack find gazebo/gazebo/bin/gzclient -g rospack find gazebo/lib/libgazebo_ros_paths_plugin.so [gazebo_gui-3] process has died [pid 5099, exit code 139, cmd /opt/ros/fuerte/stacks/simulator_gazebo/gazebo/scripts/gui __name:=gazebo_gui __log:=/home/qxesqxes/.ros/log/326a199c-ec38-11e1-a2f0-c446195a3b7d/gazebo_gui-3.log]. log file: /home/qxesqxes/.ros/log/326a199c-ec38-11e1-a2f0-c446195a3b7d/gazebo_gui-3*.log

Your help would be much appreciated, thank you.

edit retag flag offensive close merge delete

6 Answers

Sort by ยป oldest newest most voted
0

answered 2012-10-11 12:46:53 -0600

Dave Coleman gravatar image

I am having this same issue - Fuerte installed on Ubuntu 12.04 keeps having a segmentation fault when I run:

roslaunch pr2_gazebo pr2_empty_world.launch

I get:

Gazebo multi-robot simulator, version 1.0.2

Copyright (C) 2011 Nate Koenig, John Hsu, Andrew Howard, and contributors.
Released under the Apache 2 License.
http://gazebosim.org

Msg Waiting for master.Msg Waiting for master[ INFO] [ros.roscpp]: waitForService: Service [/gazebo/set_physics_properties] has not been advertised, waiting...

Msg Connected to gazebo master @ http://localhost:11345
X Error of failed request:  BadRequest (invalid request code or no such operation)
  Major opcode of failed request:  153 (GLX)
  Minor opcode of failed request:  19 (X_GLXQueryServerString)
  Serial number of failed request:  12
  Current serial number in output stream:  12

Msg Connected to gazebo master @ http://localhost:11345
Error [Transport.cc:102] Unable to get topic namespaces in [50] tries.
Error [Node.cc:68] No namespace found
/opt/ros/fuerte/stacks/simulator_gazebo/gazebo/scripts/gui: line 2:  9548 Segmentation fault      (core dumped) `rospack find gazebo`/gazebo/bin/gzclient -g `rospack find gazebo`/lib/libgazebo_ros_paths_plugin.so
[gazebo_gui-2] process has died [pid 9545, exit code 139, cmd /opt/ros/fuerte/stacks/simulator_gazebo/gazebo/scripts/gui __name:=gazebo_gui __log:=/home/dave/.ros/log/806e1d36-13f3-11e2-8ce7-3c075420f805/gazebo_gui-2.log].
log file: /home/dave/.ros/log/806e1d36-13f3-11e2-8ce7-3c075420f805/gazebo_gui-2*.log
^C[gazebo-1] killing on exit
[gazebo-1] escalating to SIGTERM
edit flag offensive delete link more

Comments

You may hae a problem with your opengl. Does glxinfo give a useful response?

JonW gravatar imageJonW ( 2012-11-05 13:03:58 -0600 )edit
0

answered 2012-10-23 09:01:39 -0600

joehays gravatar image

updated 2012-10-23 09:06:59 -0600

I get a very similar result when running on a new install of ROS. I ran,

roslaunch gazebo_worlds empty_world.launch

and got,

Msg Connected to gazebo master @ http://localhost:11345
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  159 (GLX)
  Minor opcode of failed request:  5 (X_GLXMakeCurrent)
  Serial number of failed request:  19
  Current serial number in output stream:  19
Error [Transport.cc:102] Unable to get topic namespaces in [50] tries.
Error [Node.cc:68] No namespace found
/opt/ros/fuerte/stacks/simulator_gazebo/gazebo/scripts/gui: line 2:  2144 Segmentation fault      `rospack find gazebo`/gazebo/bin/gzclient -g `rospack find gazebo`/lib/libgazebo_ros_paths_plugin.so
[gazebo_gui-3] process has died [pid 2141, exit code 139, cmd /opt/ros/fuerte/stacks/simulator_gazebo/gazebo/scripts/gui __name:=gazebo_gui __log:=/home/jhays/.ros/log/6adeeafa-1d43-11e2-a747-842b2bbf9746/gazebo_gui-3.log].
log file: /home/jhays/.ros/log/6adeeafa-1d43-11e2-a747-842b2bbf9746/gazebo_gui-3*.log
edit flag offensive delete link more
0

answered 2012-09-02 13:53:29 -0600

i also met this problem occasionally. sometimes fail, sometimes succeed. so my suggestion is, to try more times. when fails, close the terminal, open a new terminal, and try again

edit flag offensive delete link more
0

answered 2014-12-28 03:42:34 -0600

I used the indigo, and I also met this problem occasionally.when I input rosrunch gazebo_ros willowgarage_world.launch terminal always report the error:no namespace found ! Finally, I solve this problem.My solution is inputsudo apt-get install ros-indigo-gazebo-ros-pkgs ros-indigo-gazebo-ros-control in the terminal. Maybe you need update some packages. If you want to receive more detail informations, please go to the > http://gazebosim.org/tutorials?tut=ro... . Believe maybe this can help you!

edit flag offensive delete link more
0

answered 2016-12-14 04:53:28 -0600

maybe you should use this command first $export LIBGL_ALWAYS_SOFTWARE=1 i solve this problem successful~

edit flag offensive delete link more
0

answered 2012-11-05 03:05:06 -0600

Ammar gravatar image

Anyone found a solution to this? I am running into the same seg fault. Ubuntu 12.04 and ROS Fuerte

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2012-08-21 23:09:45 -0600

Seen: 4,146 times

Last updated: Nov 05 '12