I use ubuntu 11.10 on virtualbox with 3D support.
I run
roslaunch gazebo_worlds empty_world.launch
And when I click plane1_model's body and move cursor to gazebo world, gazebo exited.
OpenGL Warning: crPackDrawElements: trying to use bound but empty elements buffer, ignoring.
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.
terminate called after throwing an instance of 'Ogre::InternalErrorException'
what(): OGRE EXCEPTION(7:InternalErrorException): Vertex Buffer: Out of memory in GLHardwareVertexBuffer::lock at /tmp/buildd/ros-fuerte-visualization-common-1.8.4/debian/ros-fuerte-visualizati on-common/opt/ros/fuerte/stacks/visualization_common/ogre/build/ogre_src_v 1-7-3/RenderSystems/GL/src/OgreGLHardwareVertexBuffer.cpp (line 126)
/opt/ros/fuerte/stacks/simulator_gazebo/gazebo/scripts/gui: line 2: 3056 已 經終止 `rospack find gazebo`/gazebo/bin/gzclient -g `rospack find gazebo`/lib/libgazebo_ros_paths_plugin.so
[gazebo_gui-3] process has died [pid 3053, exit code 134, cmd /opt/ros/fuerte/stacks/simulator_gazebo/gazebo/scripts/gui __name:=gazebo_gui __log:=/home/sam/.ros/log/51435328-a021-11e1-9fcc-080027ef39bc/gazebo_gu i-3.log].
log file: /home/sam/.ros/log/51435328-a021-11e1-9fcc-080027ef39bc/gazebo_gui-3*.log
How to solve it?
Thank you~
Originally posted by sam on ROS Answers with karma: 2570 on 2012-05-17
Post score: 4
Original comments
Comment by joq on 2012-05-17:
Ogre often has trouble doing 3D graphics in a virtual machine. You may need to run it with a real driver (i.e. without virtualbox).