Gazebo | Ignition | Community
Ask Your Question

Bug: Gazebo segmentation fault - PR2 spawn - Ubuntu Precise Lucid

asked 2013-01-16 15:33:29 -0500

dbworth gravatar image

updated 2013-01-16 16:18:58 -0500

ROS Fuerte, Gazebo 1.6.16

Hi all,

I've been trying to get Gazebo running on another laptop.
I tried Ubuntu 12.04.1 Precise 64bit,
Ubuntu 10.04.4 Lucid 32bit and 64bit,
various versions of NVidia proprietory drivers from 195.xx and 304.xx series.

In all cases, Gazebo crashes with segmentation fault when getting near the end of completely spawning the PR2.
In this case in seems to be from
(Other software configurations have segfaulted in a Boost or OpenGL library.)

This bug report focuses on Ubuntu 10.04.4 64bit:

$ glxinfo
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: Quadro FX 3500/PCI/SSE2
OpenGL version string: 2.1.2 NVIDIA 195.36.24
OpenGL shading language version string: 1.20 NVIDIA via Cg compiler


roslaunch gazebo_worlds empty_world.launch

with Gazebo set to debug. That loads fine, until I spawn the PR2 using:

roslaunch pr2_gazebo pr2.launch

which causes a segfault in the first console.

See backtrace below. Problem in after calling Ogre::GLFrameBufferObject::initialise ?

While leaving the crashed programs running

ps -ef | grep gz


/bin/bash /opt/ros/fuerte/stacks/simulator_gazebo/gazebo_worlds/scripts/gdbrun /opt/ros/fuerte/stacks/simulator_gazebo/gazebo/gazebo/bin/gzserver /opt/ros/fuerte/stacks/simulator_gazebo/gazebo_worlds/worlds/ __name:=gazebo __log:=/home/dbworth/.ros/log/02fc2ece-601f-11e2-8f89-00c0ca21e421/gazebo-2.log -s /opt/ros/fuerte/stacks/simulator_gazebo/gazebo/lib/ -s /opt/ros/fuerte/stacks/simulator_gazebo/gazebo/lib/
gdb -x /tmp/gdbrun.20686.7.tmp /opt/ros/fuerte/stacks/simulator_gazebo/gazebo/gazebo/bin/gzserver
/opt/ros/fuerte/stacks/simulator_gazebo/gazebo/gazebo/bin/gzclient -g /opt/ros/fuerte/stacks/simulator_gazebo/gazebo/lib/
/opt/ros/fuerte/stacks/simulator_gazebo/gazebo/gazebo/bin/gzserver /opt/ros/fuerte/stacks/simulator_gazebo/gazebo_worlds/worlds/ __name:=gazebo __log:=/home/dbworth/.ros/log/02fc2ece-601f-11e2-8f89-00c0ca21e421/gazebo-2.log -s /opt/ros/fuerte/stacks/simulator_gazebo/gazebo/lib/ -s /opt/ros/fuerte/stacks/simulator_gazebo/gazebo/lib/

Also see below for output of:

thread apply all bt

I was going to try to build the normal and HG versions from source, but

 hg clone gazebo


requesting all changes
abort: HTTP Error 400: Bad Request

Any help would be most appreciated.


image description


terminate called after throwing an instance of 'Ogre::InvalidParametersException'
  what():  OGRE EXCEPTION(2:InvalidParametersException): All framebuffer formats with this texture internal format unsupported in GLFrameBufferObject::initialise at /tmp/buildd/ros-fuerte-visualization-common-1.8.4/debian/ros-fuerte-visualization-common/opt/ros/fuerte/stacks/visualization_common/ogre/build/ogre_src_v1-7-3/RenderSystems/GL/src/OgreGLFrameBufferObject.cpp (line 276)

Program received signal SIGABRT, Aborted.
0x00007ffff11e3a75 in raise () from /lib/
(gdb) bt
#0  0x00007ffff11e3a75 in raise () from /lib/
#1  0x00007ffff11e75c0 in abort () from /lib/
#2  0x00007ffff1a998c5 in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/
#3  0x00007ffff1a97cf6 in ?? () from /usr/lib/
#4  0x00007ffff1a97d23 in std::terminate() () from /usr/lib/
#5  0x00007ffff1a97e1e in __cxa_throw () from /usr ...
edit retag flag offensive close merge delete


1 Answer

Sort by ยป oldest newest most voted

answered 2013-07-24 08:57:43 -0500

nkoenig gravatar image

Please try ROS Groovy, Ubuntu 12.04.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2013-01-16 15:33:29 -0500

Seen: 726 times

Last updated: Jul 24 '13