[ros-users] Gazebo Error on Ubuntu

John Hsu johnhsu at willowgarage.com
Wed Sep 15 20:49:41 UTC 2010


Hi Stefan,
ah. I think I figured out one of your problems...
you need to give *.world files as inputs to gazebo, not launch scripts.
Alternatively you can roslaunch these launch scripts, e.g.

roslaunch gazebo_worlds debug.launch

I figured that out when I tried:

$ ./gazebo/bin/gazebo  ./gazebo_worlds/launch/empty_world.launch
Gazebo multi-robot simulator, version 0.10.0

Part of the Player/Stage Project [http://playerstage.sourceforge.net].
Copyright (C) 2003 Nate Koenig, Andrew Howard, and contributors.
Released under the GNU General Public License.

gazebo:
/u/hsu/projects/cturtle_wg_all/stacks/visualization_common/ogre/build/ogre_src_v1-7-1/OgreMain/src/OgreTextureManager.cpp:42:
static Ogre::TextureManager& Ogre::TextureManager::getSingleton(): Assertion
`ms_Singleton' failed.
Aborted

I have to admit, the error message is not very helpful :)
John

On Wed, Sep 15, 2010 at 1:41 PM, Stefan Kohlbrecher <
stefan.kohlbrecher at googlemail.com> wrote:

> Hi John,
>
> I´m pretty sure I don´t have different installs of Ogre. I´ll probably
> just do the package install and try that once I have the time.
>
> For running gdb, I just went into the bin directory of gazebo and did
> "gdb ./gazebo". Then doing "run
> ~/ros/stacks/simulator_gazebo/gazebo_worlds/launch/debug.launch" is
> equivalent to  "./gazebo
> ~/ros/stacks/simulator_gazebo/gazebo_worlds/launch/debug.launch",
> which is a valid way of starting gazebo with a launch file (at least
> that´s what I gathered from looking at gazebo´s command line help).
>
> regards,
> Stefan
>
> 2010/9/14 John Hsu <johnhsu at willowgarage.com>:
> > Stefan,
> >
> > Do you have multiple installs of Ogre on your system
> > (Local/Boxturtle/Cturtle)?
> > Also, can you manually do a make clean and make wipe in gazebo then
> rebuild
> > and try again?
> >
> > By the way, this is a gdb question, how did you configure gdb to do
> > roslaunch by  run?
> > (gdb) run ~/ros/stacks/simulator_gazebo/gazebo_worlds/launch/debug.launch
> >
> > John
> >
> > On Tue, Sep 14, 2010 at 12:45 AM, Stefan Kohlbrecher
> > <stefan.kohlbrecher at googlemail.com> wrote:
> >>
> >> Hi everyone,
> >>
> >> I'm having the exact same issues as described by Bert Willaert (quoted
> >> below) right now.
> >>
> >> Platform: Ubuntu 10.04 - Machine x86_64  - Kernel 2.6.32-24-generic -
> >> Graphic card
> >> Quadro NVS 160M (nvidia-current drivers [195.36.24] , hardware
> >> acceleration sure seems to work in other GL applications)
> >>
> >> Using C-Turtle compiled from SVN.
> >>
> >>
> >> When starting gazebo in gdb, I get the following:
> >>
> >>
> >> (gdb) run
> ~/ros/stacks/simulator_gazebo/gazebo_worlds/launch/debug.launch
> >> Starting program:
> >> /home/stefan/ros/stacks/simulator_gazebo/gazebo/bin/gazebo
> >> ~/ros/stacks/simulator_gazebo/gazebo_worlds/launch/debug.launch
> >> [Thread debugging using libthread_db enabled]
> >> Gazebo multi-robot simulator, version 0.10.0
> >>
> >> Part of the Player/Stage Project [http://playerstage.sourceforge.net].
> >> Copyright (C) 2003 Nate Koenig, Andrew Howard, and contributors.
> >> Released under the GNU General Public License.
> >>
> >> gazebo:
> >>
> /home/stefan/ros/stacks/visualization_common/ogre/build/ogre_src_v1-7-1/OgreMain/src/OgreTextureManager.cpp:42:
> >> static Ogre::TextureManager& Ogre::TextureManager::getSingleton():
> >> Assertion `ms_Singleton' failed.
> >>
> >> Program received signal SIGABRT, Aborted.
> >> 0x00007ffff15c6a75 in *__GI_raise (sig=<value optimized out>) at
> >> ../nptl/sysdeps/unix/sysv/linux/raise.c:64
> >> 64      ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or
> >> directory.
> >>        in ../nptl/sysdeps/unix/sysv/linux/raise.c
> >> (gdb) bt
> >> #0  0x00007ffff15c6a75 in *__GI_raise (sig=<value optimized out>) at
> >> ../nptl/sysdeps/unix/sysv/linux/raise.c:64
> >> #1  0x00007ffff15ca5c0 in *__GI_abort () at abort.c:92
> >> #2  0x00007ffff15bf941 in *__GI___assert_fail
> >> (assertion=0x7ffff6f57932 "ms_Singleton", file=<value optimized out>,
> >> line=42,
> >>    function=0x7ffff6fb9f60 "static Ogre::TextureManager&
> >> Ogre::TextureManager::getSingleton()") at assert.c:81
> >> #3  0x00007ffff6f22947 in Ogre::TextureManager::getSingleton ()
> >>    at
> >>
> /home/stefan/ros/stacks/visualization_common/ogre/build/ogre_src_v1-7-1/OgreMain/src/OgreTextureManager.cpp:42
> >> #4  0x00007ffff577e1cc in gazebo::OgreAdaptor::Init (this=0xb0fbe0,
> >> rootNode=<value optimized out>)
> >>    at
> >>
> /home/stefan/ros/stacks/simulator_gazebo/gazebo/gazebo-svn/server/rendering/OgreAdaptor.cc:180
> >> #5  0x00007ffff7b939d5 in gazebo::Simulator::Load (this=<value
> >> optimized out>, worldFileName=<value optimized out>, serverId=0)
> >>    at
> >>
> /home/stefan/ros/stacks/simulator_gazebo/gazebo/gazebo-svn/server/Simulator.cc:274
> >> #6  0x00000000004de25c in main (argc=2, argv=0x7fffffffe188) at
> >> /home/stefan/ros/stacks/simulator_gazebo/gazebo/src/gazeboros.cpp:2003
> >> (gdb) ^CQuit
> >> (gdb)
> >>
> >>
> >> thanks in advance for any pointers,
> >> Stefan
> >>
> >>
> >>
> >> 2010/7/22 Bert Willaert <bert.willaert at mech.kuleuven.be>:
> >> >
> >> > Hey,
> >> >
> >> > I am having similar problems when trying the Gazebo tutorials:
> >> >
> >> > Platform: Ubuntu 10.04 - Machine x86_64  - Kernel 2.6.32-22 - Graphic
> >> > card
> >> > GeForce 9600GT
> >> >
> >> > If I command: roslaunch gazebo_worlds empty_world.launch
> >> > --> Gazebo interface opens and shuts down immediately
> >> > Message:
> >> > [gazebo-2] process has died [pid 8384, exit code -11].
> >> > log files:
> >> >
> >> >
> /home/u0052802/.ros/log/164a5024-95a5-11df-8cda-0023aeb04ff7/gazebo-2*.log
> >> >
> >> > If I a command: roslaunch gazebo_worlds empty_world_no_x.launch
> >> > Message:
> >> >
> >> >
> [/opt/ros/boxturtle/stacks/simulator_gazebo/gazebo/gazebo-svn/server/GazeboConfig.cc:106]
> >> >  Unable to find the file ~/.gazeborc. Using default paths. This may
> >> > cause
> >> > OGRE to fail.
> >> > directory [/tmp/gazebo-u0052802-0] already exists (previous crash?)
> >> > but the owner gazebo server (pid=8384) is not running.
> >> > deleting the old information of the directory [/tmp/gazebo-u0052802-0]
> >> > Gazebo successfully initialized
> >> > [ INFO] 0.000000000: Callback thread id=0x95c780
> >> >
> >> >
> >> > Thanks for helping!
> >> >
> >> >
> >> >
> >> >
> >> >
> >> > --
> >> > View this message in context:
> >> >
> http://ros-users.122217.n3.nabble.com/Gazebo-Error-on-Ubuntu-tp464961p987386.html
> >> > Sent from the ROS-Users mailing list archive at Nabble.com.
> >> >
> >> >
> >> >
> ------------------------------------------------------------------------------
> >> > This SF.net email is sponsored by Sprint
> >> > What will you do first with EVO, the first 4G phone?
> >> > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> >> > _______________________________________________
> >> > ros-users mailing list
> >> > ros-users at lists.sourceforge.net
> >> > https://lists.sourceforge.net/lists/listinfo/ros-users
> >> > _______________________________________________
> >> > ros-users mailing list
> >> > ros-users at code.ros.org
> >> > https://code.ros.org/mailman/listinfo/ros-users
> >> >
> >> _______________________________________________
> >> ros-users mailing list
> >> ros-users at code.ros.org
> >> https://code.ros.org/mailman/listinfo/ros-users
> >
> >
> > _______________________________________________
> > ros-users mailing list
> > ros-users at code.ros.org
> > https://code.ros.org/mailman/listinfo/ros-users
> >
> >
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20100915/045b3ce9/attachment-0003.html>


More information about the ros-users mailing list