Robotics StackExchange | Archived questions

Qt has caught an exception to shut Gazebo down

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)

And:

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.

Asked by AmoodZ on 2014-11-19 15:14:38 UTC

Comments

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.

Asked by Jose Luis Rivero on 2014-11-19 20:36:06 UTC

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

Asked by nkoenig on 2014-11-20 16:06:25 UTC

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?

Asked by AmoodZ on 2014-11-20 16:43:31 UTC

I think this is related to this question

Asked by nkoenig on 2014-11-20 16:51:49 UTC

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?

Asked by nkoenig on 2014-11-20 16:58:33 UTC

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

Asked by AmoodZ on 2014-11-20 17:05:08 UTC

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

Asked by AmoodZ on 2014-11-20 17:09:52 UTC

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

Asked by nkoenig on 2014-11-20 18:24:42 UTC

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?

Asked by nkoenig on 2014-11-20 19:18:43 UTC

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.

Asked by Jose Luis Rivero on 2014-11-20 21:40:44 UTC

Hi @nkoenig , there is no stack when I try to get backtrace when running gzclient. ThenI have re-installed gazebo in debug mode by following this process in : http://pastebin.com/embed_js.php?i=RrXRiZb2. It still shows no stack in gdb. Here is the gdb information: http://pastebin.com/embed_js.php?i=3KF6aw36. Please give me your help.

Asked by AmoodZ on 2014-11-21 11:26:14 UTC

Hi @Jose Luis Rivero, thanks for your help. I wish to solve my problem finally.

Asked by AmoodZ on 2014-11-24 10:22:39 UTC

Hello @nkoenig, I realize that I only need Gazebo 2.2 for integration ROS indigo. Thus I give a try for Gazebo which is installed by ROS indigo full-desktop install. I use roslauch to start gazebo. Unfortunately, it leads to similar error by giving following information: http://pastebin.com/embed_js.php?i=6gRxT9Zq. I am trying to lock down gazebo_gui-3*.log but it doesn't exist. I am looking forward to your help.

Asked by AmoodZ on 2014-11-24 15:04:59 UTC

At this point I think the best approach is for me to write a test program that reports graphic card capabilities, and produces a report about compatibility with the features used by Gazebo. I'll see about rattling this off today.

Asked by nkoenig on 2014-12-01 12:19:45 UTC

Thanks a lot @nkoenig . I am looking forward to hearing from you.

Asked by AmoodZ on 2014-12-01 12:39:54 UTC

Answers