Qt has caught an exception to shut Gazebo down

asked 2014-11-19 14:14:38 -0600

AmoodZ gravatar image

updated 2014-11-20 15:41:49 -0600

Hi All,

I have a Ubuntu 14.04 64bits (including Xubuntu interface). I followed below command to install Gazebo:

wget -O /tmp/gazebo4_install.sh http://osrf-distributions.s3.amazonaws.com/gazebo/gazebo4_install.sh; sudo sh /tmp/gazebo4_install.sh

I have a nvidia quadro fx 550 graphic card and I installed NVIDIA legacy binary driver-version 304.117(open source) from Additional Drivers.

However, after I run gazebo, the GUI window will pop out and instantly shut down by giving below error:

    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::InvalidParametersException'
      what():  OGRE EXCEPTION(2:InvalidParametersException): All framebuffer formats with
 this texture internal format unsupported in GLFrameBufferObject::initialise at /build
/buildd/ogre-1.8-1.8.1+dfsg/RenderSystems/GL/src/OgreGLFrameBufferObject.cpp (line 241)


lsmod result: link text

glxgears: link text

glxinfo(let me know if it is incomplete): link text

Exception shows in ~/.gazebo/ogre.log: link text

Error report:

image description image description

Can anyone give me some help? Let me know if you need any further information. Thanks in advanced.

edit retag flag offensive close merge delete


Could you please use pastebin.com to paste the three outputs of: glxgears, glxinfo and lsmod? You can edit your question to include the three pastebin links.

Jose Luis Rivero gravatar imageJose Luis Rivero ( 2014-11-19 19:36:06 -0600 )edit

Can you look in `~/.gazebo/ogre.log` for errors or exceptions?

nkoenig gravatar imagenkoenig ( 2014-11-20 15:06:25 -0600 )edit

Hi @nkoenig, there is no errors but several exception. I have provided the link in the pose. Would you please take a look at that?

AmoodZ gravatar imageAmoodZ ( 2014-11-20 15:43:31 -0600 )edit

I think this is related to this question

nkoenig gravatar imagenkoenig ( 2014-11-20 15:51:49 -0600 )edit

It's probably a graphics driver issue. Can you run gazebo in verbose mode gazebo --verbose, and see if any red or yellow message appear?

nkoenig gravatar imagenkoenig ( 2014-11-20 15:58:33 -0600 )edit

Hi @nkoenig , yes green is [Msg], yellow is [Wrn] and red is [Err]. Details please find in http://pastebin.com/embed_js.php?i=DhZKfdj0

AmoodZ gravatar imageAmoodZ ( 2014-11-20 16:05:08 -0600 )edit

Hi @Jose Luis Rivero, thanks for your reply. I have linked those results in the post. Any idea?

AmoodZ gravatar imageAmoodZ ( 2014-11-20 16:09:52 -0600 )edit

This line is interesting [Err] [SelectionBuffer.cc:102] Unable to create selection buffer.. Looking into this a bit more...

nkoenig gravatar imagenkoenig ( 2014-11-20 17:24:42 -0600 )edit

The selectionBuffer problem indicates that Gazebo cannot create render buffers. At this point we need a backtrace of the issue. Are you able to run gzclient in gdb, and post a backtrace?

nkoenig gravatar imagenkoenig ( 2014-11-20 18:18:43 -0600 )edit

I was just checking that you were running the correct drivers and they work well. It looks like you are. Please follow Nate (nkoening) suggestions, Nate can help more than me with your problem.

Jose Luis Rivero gravatar imageJose Luis Rivero ( 2014-11-20 20:40:44 -0600 )edit