[ros-users] cturtle's Gazebo Crashing with Ogre error

Adam Leeper aleeper at stanford.edu
Mon Jun 14 20:25:32 UTC 2010


Just to add a data point, I also crashed when using gazebo in cturtle (it
was fine in boxturtle and latest), but after running it once as root,
everything seems to work fine in my regular account.

--Adam


Adam Leeper
Stanford University
aleeper at stanford.edu
719.358.3804


On Sun, Jun 13, 2010 at 5:36 PM, Patrick Beeson <beeson.p at gmail.com> wrote:

> If I encounter this again, I'll try this solution.  But as of now, after
> running as root, and now even after reboot, it simply works.  Maybe
> there was an issue with shared memory that needed a reboot or root
> permissions to fix.
>
> On 06/12/2010 04:11 PM, John Hsu wrote:
> > ticketed on trac <https://code.ros.org/trac/ros-pkg/ticket/4165>, thanks
> > for the reports.  I can't reproduce the error at the moment, but if
> > someone can, can you please try to clear out the shared memory segments
> > as described here
> > <
> http://www.ros.org/wiki/simulator_gazebo/Troubleshooting#Error:_failed_to_allocate_semaphore.2C_permission_denied
> .>
> > first and see if it helps?
> > thanks,
> > John
> >
> >
> > On Fri, Jun 11, 2010 at 3:04 PM, Patrick Beeson <beeson.p at gmail.com
> > <mailto:beeson.p at gmail.com>> wrote:
> >
> >     Strange.  After running as root, and seeing this work, I got back to
> >     my normal user account, and it now works.  Don't know if that'll be
> >     the case after a reboot, but this is strange.
> >
> >     On Fri, Jun 11, 2010 at 5:00 PM, Patrick Beeson <beeson.p at gmail.com
> >     <mailto:beeson.p at gmail.com>> wrote:
> >      > Yes indeed.  If I run as root, it succeeds.
> >      >
> >      >
> >      > On Fri, Jun 11, 2010 at 4:45 PM, William Woodall
> >     <wjwwood at gmail.com <mailto:wjwwood at gmail.com>> wrote:
> >      >> My coworker and I have discovered that it is a permissions
> >     problem, running
> >      >> roslaunch gazebo_worlds empty_world.launch as root allows gazebo
> >     to run
> >      >> normally.
> >      >> We are still looking into why that is, but I can only guess that
> >     it is
> >      >> because the location of the binaries are not writable by normal
> >     users.
> >      >> I would like to see if you can reproduce this result.
> >      >> Thanks,
> >      >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >      >> William Woodall
> >      >> Graduate Software Engineering
> >      >> Auburn University
> >      >> w at auburn.edu <mailto:w at auburn.edu>
> >      >> wjwwood at gmail.com <mailto:wjwwood at gmail.com>
> >      >> 256-345-9938
> >      >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >      >>
> >      >>
> >      >> On Fri, Jun 11, 2010 at 4:35 PM, Patrick Beeson
> >     <beeson.p at gmail.com <mailto:beeson.p at gmail.com>> wrote:
> >      >>>
> >      >>> I'm seeing this as well, and I am running Lucid with an NVIDIA
> card
> >      >>> and the most current NVIDIA driver.  glxinfo and glxgears works
> >     fine,
> >      >>> so I'm unsure why OGRE is having problems.  I may try compiling
> the
> >      >>> source instead of installing pre-compiled binaries using apt.
> >      >>>
> >      >>>
> >      >>>
> >      >>> On Tue, Jun 8, 2010 at 7:48 PM, William Woodall
> >     <wjwwood at gmail.com <mailto:wjwwood at gmail.com>> wrote:
> >      >>> > I figured this might be the problem, however, parallels has
> >     some form of
> >      >>> > 3D
> >      >>> > acceleration, and I know this because I have rviz and compiz
> >     (visual
> >      >>> > effects) working in it.  Also, the boxturtle build of gazebo
> >     works just
> >      >>> > fine
> >      >>> > in my virtual machine, which leads me to believe it might be
> >     a bug or
> >      >>> > change
> >      >>> > in requirements from the previous version that is causing the
> >     error.  I
> >      >>> > will
> >      >>> > attempt to find a computer with a better video card and
> >     Ubuntu with
> >      >>> > which to
> >      >>> > test this theory, but I may not have one at my disposal.
> >      >>> > Does anyone know if the error I posted is specifically related
> to
> >      >>> > insufficient graphics capabilities?
> >      >>> > Thanks for your help so far,
> >      >>> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >      >>> > William Woodall
> >      >>> > Graduate Software Engineering
> >      >>> > Auburn University
> >      >>> > w at auburn.edu <mailto:w at auburn.edu>
> >      >>> > wjwwood at gmail.com <mailto:wjwwood at gmail.com>
> >      >>> > 256-345-9938
> >      >>> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >      >>> >
> >      >>> >
> >      >>> > On Tue, Jun 8, 2010 at 5:13 PM, John Hsu
> >     <johnhsu at willowgarage.com <mailto:johnhsu at willowgarage.com>>
> >      >>> > wrote:
> >      >>> >>
> >      >>> >> Hi,
> >      >>> >>
> >      >>> >> What graphics card and driver do you have?
> >      >>> >>
> >      >>> >> Gazebo/Ogre needs hardware acceleration, from my experience
> >     parallel's
> >      >>> >> will not work.  Older ATI drivers also have incompatible
> OpenGL
> >      >>> >> implementations.  Most NVIDIA cards seems to run fine.
> >      >>> >> Please see
> >      >>> >> http://www.ros.org/wiki/simulator_gazebo/SystemRequirements
> >      >>> >> for list of tested cards and drivers.
> >      >>> >>
> >      >>> >> John
> >      >>> >>
> >      >>> >> On Tue, Jun 8, 2010 at 2:40 PM, William Woodall
> >     <wjwwood at gmail.com <mailto:wjwwood at gmail.com>>
> >      >>> >> wrote:
> >      >>> >>>
> >      >>> >>> I am trying to use the cturtle binaries on ubuntu to
> >     experiment with
> >      >>> >>> gazebo's new features.  When I run `roslaunch gazebo_worlds
> >      >>> >>> empty_world.launch` I get this error:
> >      >>> >>> http://gist.github.com/430689
> >      >>> >>> In trying to debug this we have tried to run this on two
> >     different
> >      >>> >>> macbook pros running ubuntu lucid in parallels and on a
> >     laptop running
> >      >>> >>> lucid
> >      >>> >>> that has an ati x1300 moble all with the same result.
> >      >>> >>> Any ideas would be appreciated.
> >      >>> >>> Thanks,
> >      >>> >>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >      >>> >>> William Woodall
> >      >>> >>> Graduate Software Engineering
> >      >>> >>> Auburn University
> >      >>> >>> w at auburn.edu <mailto:w at auburn.edu>
> >      >>> >>> wjwwood at gmail.com <mailto:wjwwood at gmail.com>
> >      >>> >>> 256-345-9938
> >      >>> >>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >      >>> >>>
> >      >>> >>> _______________________________________________
> >      >>> >>> ros-users mailing list
> >      >>> >>> ros-users at code.ros.org <mailto:ros-users at code.ros.org>
> >      >>> >>> https://code.ros.org/mailman/listinfo/ros-users
> >      >>> >>>
> >      >>> >>
> >      >>> >>
> >      >>> >> _______________________________________________
> >      >>> >> ros-users mailing list
> >      >>> >> ros-users at code.ros.org <mailto:ros-users at code.ros.org>
> >      >>> >> https://code.ros.org/mailman/listinfo/ros-users
> >      >>> >>
> >      >>> >
> >      >>> >
> >      >>> > _______________________________________________
> >      >>> > ros-users mailing list
> >      >>> > ros-users at code.ros.org <mailto:ros-users at code.ros.org>
> >      >>> > https://code.ros.org/mailman/listinfo/ros-users
> >      >>> >
> >      >>> >
> >      >>> _______________________________________________
> >      >>> ros-users mailing list
> >      >>> ros-users at code.ros.org <mailto:ros-users at code.ros.org>
> >      >>> https://code.ros.org/mailman/listinfo/ros-users
> >      >>
> >      >>
> >      >> _______________________________________________
> >      >> ros-users mailing list
> >      >> ros-users at code.ros.org <mailto:ros-users at code.ros.org>
> >      >> https://code.ros.org/mailman/listinfo/ros-users
> >      >>
> >      >>
> >      >
> >     _______________________________________________
> >     ros-users mailing list
> >     ros-users at code.ros.org <mailto: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/20100614/abeb4ad1/attachment-0003.html>


More information about the ros-users mailing list