Gazebo crash, core dumped, likely graphics card driver incompatibility
Hi all,
I have installed Gazebo v1.5 following all instructions. I am running Ubuntu 64-bit 12.04. My question is identical to the question asked by @treanorj here .
The reason that I am posting this as a new question is that
- The original question is different and the question referred to is asked in the comment section.
- I have some follow-up problems not addressed there
When I run 'gdb gzserver' and 'gdb gzclient' in different terminals, I get a segmentation fault in the gzclient terminal. Upon bt, the output is :
#0 0x00007fffe17d3307 in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#1 0x00007fffe184910e in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#2 0x00007fffe1849449 in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#3 0x00007fffe0d5c421 in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#4 0x00007fffe0c690b8 in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#5 0x00007fffe0dc85b7 in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#6 0x00007fffe10e883d in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#7 0x00007fffd1338a20 in Ogre::GLRenderSystem::bindGpuProgram(Ogre::GpuProgram*) () from /usr/lib/x86_64-linux-gnu/OGRE-1.7.4/RenderSystem_GL.so
#8 0x00007ffff1ca05e5 in Ogre::SceneManager::_setPass(Ogre::Pass const*, bool, bool) () from /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.7.4
#9 0x00007ffff1c9b269 in Ogre::SceneManager::SceneMgrQueuedRenderableVisitor::visit(Ogre::RenderablePass*) ()
from /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.7.4
#10 0x00007ffff1c52d59 in Ogre::QueuedRenderableCollection::acceptVisitorDescending(Ogre::QueuedRenderableVisitor*) const ()
from /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.7.4
#11 0x00007ffff1c52e01 in Ogre::QueuedRenderableCollection::acceptVisitor(Ogre::QueuedRenderableVisitor*, Ogre::QueuedRenderableCollection::OrganisationMode) const () from /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.7.4
#12 0x00007ffff1c9b7bc in Ogre::SceneManager::renderBasicQueueGroupObjects(Ogre::RenderQueueGroup*, Ogre::QueuedRenderableCollection::OrganisationMode) ()
from /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.7.4
---Type <return> to continue, or q <return> to quit---
#13 0x00007ffff1c9a9e7 in Ogre::SceneManager::renderVisibleObjectsDefaultSequence() () from /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.7.4
#14 0x00007ffff1c9f184 in Ogre::SceneManager::_renderScene(Ogre::Camera*, Ogre::Viewport*, bool) () from /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.7.4
#15 0x00007ffff1b066ec in Ogre::Camera::_renderScene(Ogre::Viewport*, bool) ()
from /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.7.4
#16 0x00007ffff1c6b9f8 in Ogre::RenderTarget::_updateViewport(Ogre::Viewport*, bool) () from /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.7.4
#17 0x00007ffff1c6b91b in Ogre::RenderTarget::_updateAutoUpdatedViewports(bool)
() from /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.7.4
#18 0x00007ffff1c6b3be in Ogre::RenderTarget::updateImpl() ()
from /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.7.4
#19 0x00007ffff1c6b95c in Ogre::RenderTarget::update(bool) ()
from /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.7.4
#20 0x00007ffff72e0ac8 in gazebo::rendering::Camera::RenderImpl() ()
from /usr/lib/libgazebo_rendering.so.1
#21 0x00007ffff72e0b49 in gazebo::rendering::Camera::Render() ()
from /usr/lib/libgazebo_rendering.so.1
#22 0x00000000004c5383 in gazebo::gui::GLWidget::paintEvent(QPaintEvent*) ()
#23 0x00007ffff645f0f6 in QWidget::event(QEvent*) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#24 0x00007ffff640e894 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
---Type <return> to continue, or q <return> to quit---
#25 0x00007ffff6413713 in QApplication::notify(QObject*, QEvent*) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#26 0x00007ffff5eebe9c in QCoreApplication::notifyInternal(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#27 0x00007ffff645ad96 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#28 0x00007ffff6626787 in QWidgetPrivate::repaint_sys(QRegion const&) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#29 0x00007ffff6451a64 in QWidgetPrivate::syncBackingStore() ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#30 0x00007ffff645f60c in QWidget::event(QEvent*) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#31 0x00007ffff640e894 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#32 0x00007ffff6413713 in QApplication::notify(QObject*, QEvent*) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#33 0x00007ffff5eebe9c in QCoreApplication::notifyInternal(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#34 0x00007ffff5eefc6a in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#35 0x00007ffff5f1af93 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#36 0x00007ffff010dd53 in g_main_context_dispatch ()
---Type <return> to continue, or q <return> to quit---
from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007ffff010e0a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007ffff010e164 in g_main_context_iteration ()
from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007ffff5f1b3bf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#40 0x00007ffff64b6d5e in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#41 0x00007ffff5eeac82 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#42 0x00007ffff5eeaed7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#43 0x00007ffff5eeff67 in QCoreApplication::exec() ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#44 0x00000000004ceeac in gazebo::gui::run(int, char**) ()
#45 0x00000000004ad8b9 in main ()
The answer from @hsu , in the referred question, was that it might be an incompatibility between openGL and ATI proprietary GPU driver. I am indeed using a ATI Radeon card with proprietary drivers.
I have some problems changing the driver to see if that would work:
- I am running Ubuntu 12.04 on a iMac 11,1. People who have installed this configuration would know that during installation, one occurs several graphics drivers issues (sometimes requires plugging a parrallel monitor, and then installing the driver from the internet). Changing the driver might mean that graphics fails completely on reboot. Needless to say, I am hesitant to try this unless it is the only way forward.
- I was unable to find any "free" drivers for ATI M98L [Mobility Radeon HD 4850] installable on Ubuntu. I know this is not the "perfect" forum to ask this query, but I would be grateful to anyone who could point me to the right place for the driver?
Is it certain that given my symptoms, only the driver could be the problem? Is anyone else running Gazebo with a ATI Mobility Radeon?
Asked by Shanker Keshavdas on 2013-03-19 10:22:04 UTC
Comments
i have same error like you, my laptop is lenovo R500 and ATI Mobility Radeon HD 3400 Series. just see >> http://answers.gazebosim.org/question/1634/gazebo-gui-crashed-immediately-on-start/ i do n't find any solution, do0 you have any idea?
Asked by Mohsen Hk on 2013-03-19 19:28:16 UTC
@mohsen-hk Yes, your problem seems very similar, if not identical. Initially I found it hard to believe that Gazebo which is quite respected does not work with certain graphic card drivers (I know it's openGL). My question was whether anything else could be causing the problem. If not, does anybody know where to find an open source driver?
Asked by Shanker Keshavdas on 2013-03-20 03:50:58 UTC
yup... colud you help or do you have any solution to for my problem? i think i wanna open source driver to0
Asked by Mohsen Hk on 2013-03-20 10:36:12 UTC
i find solution! just see my link upon!
Asked by Mohsen Hk on 2013-03-20 11:48:35 UTC