[ros-users] rviz crash and dump

Tõnu Samuel tonu at jes.ee
Fri Mar 25 11:37:10 UTC 2011


Unsure if somebody cares about this crashdump (Ubuntu 10.04, diamondback
from source). I got it using some mumbo-jumbo AMD drivers. But still
think programs should not segfault even when ATI is gay in worst sense
(I never buy anything with ATI video
again) on many reasons.


tonu at hp:~/ros/visualization/rviz/bin$ gdb ./rviz 
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 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 "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/tonu/ros/visualization/rviz/bin/rviz...done.
(gdb) run
Starting program: /home/tonu/ros/visualization/rviz/bin/rviz 
[Thread debugging using libthread_db enabled]
[New Thread 0xb33e2b70 (LWP 2313)]
[New Thread 0xb2be1b70 (LWP 2315)]
[New Thread 0xb23e0b70 (LWP 2316)]
[New Thread 0xb1bdfb70 (LWP 2317)]
[New Thread 0xb13deb70 (LWP 2322)]
[ INFO] [1301052753.278744777]: Loading general config from
[/home/tonu/.rviz/config]
[ INFO] [1301052753.279081313]: Loading display config from
[/home/tonu/.rviz/display_config]

Program received signal SIGSEGV, Segmentation fault.
0xb56b4515 in glXGetVisualFromFBConfigSGIX ()
from /usr/lib/mesa/libGL.so.1
(gdb) bt
#0  0xb56b4515 in glXGetVisualFromFBConfigSGIX ()
from /usr/lib/mesa/libGL.so.1
#1  0xafe72bc2 in Ogre::GLXGLSupport::getVisualFromFBConfig
(this=0x8141b50, fbConfig=0x0)

at /home/tonu/ros/visualization_common/ogre/build/ogre_src_v1-7-1/RenderSystems/GL/src/GLX/OgreGLXGLSupport.cpp:867
#2  0xafe803f9 in Ogre::GLXWindow::create (this=0xb06de788, name=...,
width=1024, height=768, fullScreen=false, miscParams=0xbfffe290)

at /home/tonu/ros/visualization_common/ogre/build/ogre_src_v1-7-1/RenderSystems/GL/src/GLX/OgreGLXWindow.cpp:322
#3  0xafe73e54 in Ogre::GLXGLSupport::newWindow (this=0x8141b50,
name=..., width=1024, height=768, fullScreen=false,
miscParams=0xbfffe290)

at /home/tonu/ros/visualization_common/ogre/build/ogre_src_v1-7-1/RenderSystems/GL/src/GLX/OgreGLXGLSupport.cpp:379
#4  0xafe2c073 in Ogre::GLRenderSystem::_createRenderWindow
(this=0xb0ae6b70, name=..., width=1024, height=768, 
    fullScreen=<value optimized out>, miscParams=0xbfffe290)

at /home/tonu/ros/visualization_common/ogre/build/ogre_src_v1-7-1/RenderSystems/GL/src/OgreGLRenderSystem.cpp:1010
#5  0xb7c5f553 in Ogre::Root::createRenderWindow (this=0xb0adf478,
name=..., width=1024, height=768, fullScreen=<value optimized out>, 
    miscParams=0xbfffe290)
at /home/tonu/ros/visualization_common/ogre/build/ogre_src_v1-7-1/OgreMain/src/OgreRoot.cpp:1199
#6  0xb7fcf374 in ogre_tools::wxOgreRenderWindow::createRenderWindow
(this=0x8211390)

at /home/tonu/ros/visualization_common/ogre_tools/src/ogre_tools/wx_ogre_render_window.cpp:221
#7  0xb7fcfb10 in wxOgreRenderWindow (this=0x8211390,
ogre_root=0xb0adf478, parent=0x81d5be0, id=-1, pos=..., size=...,
style=134217728, 
    validator=..., create_render_window=true)
at /home/tonu/ros/visualization_common/ogre_tools/src/ogre_tools/wx_ogre_render_window.cpp:48
#8  0xb6b1da66 in RenderPanel (this=0x8211390, parent=0x81d5be0,
create_render_window=true)
    at /home/tonu/ros/visualization/rviz/src/rviz/render_panel.cpp:52
#9  0xb6b5361a in rviz::VisualizationFrame::initialize (this=0x81d5be0,
display_config_file=..., fixed_frame=..., target_frame=...)

at /home/tonu/ros/visualization/rviz/src/rviz/visualization_frame.cpp:171
#10 0x08060b25 in rviz::VisualizerApp::OnInit (this=0x80d18b8)
at /home/tonu/ros/visualization/rviz/src/rviz/visualizer_app.cpp:234
#11 0xb629a770 in wxEntry(int&, wchar_t**) ()
from /usr/lib/libwx_baseu-2.8.so.0
#12 0xb629a977 in wxEntry(int&, char**) ()
from /usr/lib/libwx_baseu-2.8.so.0
#13 0x08058f8b in main (argc=1, argv=0xbffff0a4)
at /home/tonu/ros/visualization/rviz/src/rviz/visualizer_app.cpp:321
(gdb) 
(gdb) up 
#1  0xafe72bc2 in Ogre::GLXGLSupport::getVisualFromFBConfig
(this=0x8141b50, fbConfig=0x0)

at /home/tonu/ros/visualization_common/ogre/build/ogre_src_v1-7-1/RenderSystems/GL/src/GLX/OgreGLXGLSupport.cpp:867
867				visualInfo = glXGetVisualFromFBConfig(mGLDisplay, fbConfig);
(gdb) p mGLDisplay
$1 = (Display *) 0x8141fd8
(gdb) p *mGLDisplay
$2 = <incomplete type>
(gdb) p fbConfig
$3 = (GLXFBConfig) 0x0
(gdb) 



Possibly this zero pointer is the reason.

  Tõnu




More information about the ros-users mailing list