ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Rviz segfaulting on startup [closed]

asked 2013-06-12 22:48:19 -0500

updated 2014-04-20 14:09:24 -0500

ngrennan gravatar image

When starting Rviz (rosrun rviz rviz) it produces a splash screen and immediately segfaults with :

$ rosrun rviz rviz
[ INFO] [1371112927.848817565]: rviz revision number 1.8.17
[ INFO] [1371112927.848909490]: compiled against OGRE version 1.7.3 (Cthugha)
[ INFO] [1371112927.885475931]: Loading general config from [/home/****/.rviz/config]
Segmentation fault (core dumped)

I am using ROS Fuerte, with Ubuntu 12.04 LTS and an Intel graphics card (which as far as I understand may be the issue)

I tried deleting the config files, differtent OGRE_RTT_MODEs, reinstalling, enabling/disabling OpenGL and updating drivers but so far no luck.

UPDATE : Downloaded the latest update today (19/6/2013) and everything seems to work OK

When running on GDB (I am sorry about the wall):

(gdb) run
Starting program: /opt/ros/fuerte/stacks/visualization/rviz/bin/rviz 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/".
[ INFO] [1371112634.850998769]: rviz revision number 1.8.17
[ INFO] [1371112634.851094314]: compiled against OGRE version 1.7.3 (Cthugha)
[New Thread 0x7fffe36ba700 (LWP 8202)]
[New Thread 0x7fffe2eb9700 (LWP 8204)]
[New Thread 0x7fffe26b8700 (LWP 8205)]
[New Thread 0x7fffe1eb7700 (LWP 8206)]
[New Thread 0x7fffe16b6700 (LWP 8211)]
[ INFO] [1371112634.928360124]: Loading general config from [/home/****/.rviz/config]
[New Thread 0x7fffc85fb700 (LWP 8214)]
[New Thread 0x7fffc7dfa700 (LWP 8215)]
[New Thread 0x7fffc75f9700 (LWP 8216)]
[New Thread 0x7fffc6df8700 (LWP 8217)]
[New Thread 0x7fffc65f7700 (LWP 8218)]
[New Thread 0x7fffc5df6700 (LWP 8219)]
[New Thread 0x7fffc55f5700 (LWP 8220)]
[New Thread 0x7fffc4df4700 (LWP 8221)]
[Thread 0x7fffc85fb700 (LWP 8214) exited]
[Thread 0x7fffc5df6700 (LWP 8219) exited]
[Thread 0x7fffc4df4700 (LWP 8221) exited]
[Thread 0x7fffc55f5700 (LWP 8220) exited]
[Thread 0x7fffc6df8700 (LWP 8217) exited]
[Thread 0x7fffc65f7700 (LWP 8218) exited]
[Thread 0x7fffc75f9700 (LWP 8216) exited]
[Thread 0x7fffc7dfa700 (LWP 8215) exited]

Program received signal SIGSEGV, Segmentation fault.
0x00007fffee014cc0 in xcb_glx_get_string_string_length ()
   from /usr/lib/x86_64-linux-gnu/

And the backtrace :

#0  0x00007fffee014cc0 in xcb_glx_get_string_string_length ()
   from /usr/lib/x86_64-linux-gnu/
#1  0x00007ffff2b814e4 in ?? () from /usr/lib/x86_64-linux-gnu/mesa/
#2  0x00007ffff2b7ef4c in ?? () from /usr/lib/x86_64-linux-gnu/mesa/
#3  0x00007fffca46d96f in Ogre::GLSupport::initialiseExtensions (this=0x6c30a0)
    at /tmp/buildd/ros-fuerte-visualization-common-1.8.4/debian/ros-fuerte-visualization-common/opt/ros/fuerte/stacks/visualization_common/ogre/build/ogre_src_v1-7-3/RenderSystems/GL/src/OgreGLSupport.cpp:53
#4  0x00007fffca4a5b9a in Ogre::GLXGLSupport::initialiseExtensions (
    at /tmp/buildd/ros-fuerte-visualization-common-1.8.4/debian/ros-fuerte-visualization-common/opt/ros/fuerte/stacks/visualization_common/ogre/build/ogre_src_v1-7-3/RenderSystems/GL/src/GLX/OgreGLXGLSupport.cpp:418
#5  0x00007fffca463365 in Ogre::GLRenderSystem::initialiseContext (
    this=0x7fffe0dc7a58, primary=0x7fffe0dcc2e8)
    at /tmp/buildd/ros-fuerte-visualization-common-1.8.4/debian/ros-fuerte-visualization-common/opt/ros/fuerte/stacks/visualization_common/ogre/build/ogre_src_v1-7-3/RenderSystems/GL/src/OgreGLRenderSystem.cpp:1061
#6  0x00007fffca46857b in Ogre::GLRenderSystem::_createRenderWindow (
    this=0x7fffe0dc7a58, name=..., width=1, height=1, fullScreen=false, 
at /tmp/buildd/ros-fuerte-visualization-common-1.8.4/debian/ros-fuerte-visualization-common/opt/ros/fuerte/stacks/visualization_common/ogre/build/ogre_src_v1-7-3/RenderSystems/GL/src/OgreGLRenderSystem.cpp:1017
#7  0x00007ffff601a96e in Ogre::Root::createRenderWindow (this=0x7fffe0db88d8, 
    name=..., width=<optimized out>, height=<optimized out>, 
    fullScreen=<optimized out>, miscParams=<optimized out>)
    at /tmp/buildd/ros-fuerte-visualization-common-1.8.4/debian/ros-fuerte-visualization-common/opt/ros/fuerte/stacks ...
edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by AndreasLydakis
close date 2013-10-15 21:49:25

1 Answer

Sort by ยป oldest newest most voted

answered 2013-06-18 21:10:50 -0500

UPDATE : Downloaded the latest update today (19/6/2013) and everything seems to work OK

edit flag offensive delete link more

Question Tools


Asked: 2013-06-12 22:48:19 -0500

Seen: 586 times

Last updated: Jun 18 '13