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.<div><br></div><div>--Adam</div>
<div><br></div><div><br clear="all">Adam Leeper<br>Stanford University<br><a href="mailto:aleeper@stanford.edu">aleeper@stanford.edu</a><br>719.358.3804<br>
<br><br><div class="gmail_quote">On Sun, Jun 13, 2010 at 5:36 PM, Patrick Beeson <span dir="ltr"><<a href="mailto:beeson.p@gmail.com">beeson.p@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
If I encounter this again, I'll try this solution.  But as of now, after<br>
running as root, and now even after reboot, it simply works.  Maybe<br>
there was an issue with shared memory that needed a reboot or root<br>
permissions to fix.<br>
<br>
On 06/12/2010 04:11 PM, John Hsu wrote:<br>
> ticketed on trac <<a href="https://code.ros.org/trac/ros-pkg/ticket/4165" target="_blank">https://code.ros.org/trac/ros-pkg/ticket/4165</a>>, thanks<br>
<div class="im">> for the reports.  I can't reproduce the error at the moment, but if<br>
> someone can, can you please try to clear out the shared memory segments<br>
> as described here<br>
</div>> <<a href="http://www.ros.org/wiki/simulator_gazebo/Troubleshooting#Error:_failed_to_allocate_semaphore.2C_permission_denied" target="_blank">http://www.ros.org/wiki/simulator_gazebo/Troubleshooting#Error:_failed_to_allocate_semaphore.2C_permission_denied</a>.><br>

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