Floating point exception while executing gzserver

Create issue
Issue #826 new
Former user created an issue

I have installed Gazebo 1.9 following instructions on: http://gazebosim.org/wiki/1.9/install

Have managed to compile and install gazebo. However when I attempt to run gzserver it gives me:

 [~] > gzserver
Gazebo multi-robot simulator, version 1.9.1
Copyright (C) 2013 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

Msg Waiting for master
Msg Connected to gazebo master @ http://127.0.0.1:11345
Msg Publicized address: xxx.xxx.xx.xx
Floating point exception (core dumped)

The gdb output is:

[~] > gdb gzserver
GNU gdb (GDB) 7.6.1
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/local/bin/gzserver-1.9.1...done.
(gdb) run
Starting program: /usr/local/bin/gzserver
warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7ffff7ffa000
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffeae20700 (LWP 1747)]
Gazebo multi-robot simulator, version 1.9.1
Copyright (C) 2013 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

[New Thread 0x7fffea61f700 (LWP 1748)]
[New Thread 0x7fffe9e1e700 (LWP 1749)]
Msg Waiting for master
Msg Connected to gazebo master @ http://127.0.0.1:11345
Msg Publicized address: 138.251.194.29
[New Thread 0x7fffe2739700 (LWP 1750)]

Program received signal SIGFPE, Arithmetic exception.
0x00007ffff7ff3fe8 in ?? () from /usr/lib/libdrm_radeon.so.1
(gdb) bt
#0  0x00007ffff7ff3fe8 in ?? () from /usr/lib/libdrm_radeon.so.1
#1  0x00007ffff7ff2884 in ?? () from /usr/lib/libdrm_radeon.so.1
#2  0x00007fffe8d4d015 in ?? () from /usr/lib/xorg/modules/dri/r600_dri.so
#3  0x00007fffe8d4d86c in ?? () from /usr/lib/xorg/modules/dri/r600_dri.so
#4  0x00007fffe8d96236 in ?? () from /usr/lib/xorg/modules/dri/r600_dri.so
#5  0x00007fffe8d946da in ?? () from /usr/lib/xorg/modules/dri/r600_dri.so
#6  0x00007fffe8b99a3b in ?? () from /usr/lib/xorg/modules/dri/r600_dri.so
#7  0x00007fffe8b9a4f3 in ?? () from /usr/lib/xorg/modules/dri/r600_dri.so
#8  0x00007fffe8d93daa in dri_make_current () from /usr/lib/xorg/modules/dri/r600_dri.so
#9  0x00007fffe8a76066 in ?? () from /usr/lib/xorg/modules/dri/r600_dri.so
#10 0x00007ffff240873f in ?? () from /usr/lib/libGL.so.1
#11 0x00007ffff23e31f3 in glXMakeCurrentReadSGI () from /usr/lib/libGL.so.1
#12 0x00007fffe1477a73 in ?? () from /usr/lib/OGRE/RenderSystem_GL.so
#13 0x00007fffe14791b9 in ?? () from /usr/lib/OGRE/RenderSystem_GL.so
#14 0x00007fffe147093c in ?? () from /usr/lib/OGRE/RenderSystem_GL.so
#15 0x00007fffe148f331 in Ogre::GLRenderSystem::_createRenderWindow(std::string const&, unsigned int, unsigned int, bool, std::map<std::string, std::string, std::less<std::string>, Ogre::STLAllocator<std::pair<std::string const, std::string>, Ogre::CategorisedAllocPolicy<(Ogre::MemoryCategory)0> > > const*) ()
   from /usr/lib/OGRE/RenderSystem_GL.so
#16 0x00007ffff2b99d22 in Ogre::Root::createRenderWindow(std::string const&, unsigned int, unsigned int, bool, std::map<std::string, std::string, std::less<std::string>, Ogre::STLAllocator<std::pair<std::string const, std::string>, Ogre::CategorisedAllocPolicy<(Ogre::MemoryCategory)0> > > const*) ()
   from /usr/lib/libOgreMain.so.1.8.1
#17 0x00007ffff6d891af in gazebo::rendering::WindowManager::CreateWindow (this=0xa2bf80, _ogreHandle="23068673", _width=_width@entry=1, _height=_height@entry=1) at /home/chutsu/Downloads/pkg/gazebo/gazebo/rendering/WindowManager.cc:108
#18 0x00007ffff6d3bbc3 in gazebo::rendering::RenderEngine::Load (this=this@entry=0x7ffff7286a40 <SingletonT<gazebo::rendering::RenderEngine>::GetInstance()::t>) at /home/chutsu/Downloads/pkg/gazebo/gazebo/rendering/RenderEngine.cc:139
#19 0x00007ffff6d3fbd3 in gazebo::rendering::load () at /home/chutsu/Downloads/pkg/gazebo/gazebo/rendering/RenderingIface.cc:33
#20 0x00007ffff704d722 in gazebo::sensors::load () at /home/chutsu/Downloads/pkg/gazebo/gazebo/sensors/SensorsIface.cc:38
#21 0x0000000000426594 in gazebo::Server::LoadImpl (this=this@entry=0x6c8d20, _elem=..., _physics="") at /home/chutsu/Downloads/pkg/gazebo/gazebo/Server.cc:334
#22 0x000000000042764a in gazebo::Server::LoadFile (this=this@entry=0x6c8d20, _filename="worlds/empty.world", _physics="") at /home/chutsu/Downloads/pkg/gazebo/gazebo/Server.cc:293
#23 0x0000000000428e1f in gazebo::Server::ParseArgs (this=this@entry=0x6c8d20, argc=argc@entry=1, argv=argv@entry=0x7fffffffe578) at /home/chutsu/Downloads/pkg/gazebo/gazebo/Server.cc:250
#24 0x00000000004221f4 in main (argc=1, argv=0x7fffffffe578) at /home/chutsu/Downloads/pkg/gazebo/gazebo/server_main.cc:40

Comments (10)

  1. Frenetique

    I have the exact same problem with gzserver during the installation of Gazebo 2.2 under Ubuntu 13.10 (Saucy).

  2. Nate Koenig

    This looks tied to the radeon drivers. Is there an alternative driver that you can try?

    Can you also let me know what graphics card you have?

  3. Frenetique

    The graphic card is indeed an AMD Radeon HD7670. I might try to change the drivers used by Ubuntu, not sure how to do it yet but I'll look into it.

  4. John Hsu

    I've seen this error before, sometimes they go away after switching to/from the proprietary driver fglrx.

  5. Frenetique

    This is not a laptop in my case. It's an already made Desktop tower made by Asus. The model is the CM1855 with an HD7670 graphic card.

  6. Frenetique

    Ok I think I discovered one interesting thing. My AMD graphic card is not used by Ubuntu for now, it's an integrated graphic chip (motherboard ?) that is running.

    I tried to install the latest beta driver of AMD which are supporting Ubuntu 13.10 but the installer said my current graphic device is not supported. Then I checked what's running the OpenGL with

    fglrxinfo
    

    and it is saying:

    display: :0  screen: 0
    OpenGL vendor string: X.Org
    OpenGL renderer string: Gallium 0.4 on AMD TURKS
    OpenGL version string: 1.4 (3.0 Mesa 9.2.1)
    

    So from what I gathered as informations I think the graphic card is actually not being used.

  7. Log in to comment