[ros-users] Rviz segfaults on Fedora

Steven Bellens steven.bellens at mech.kuleuven.be
Tue Nov 16 10:13:05 UTC 2010


Hey,

I'm able to start and run Rviz fine, however it sometimes segfaults:
either at the start - in the middle of program execution or when I
close it. Backtrace is in appendix.

Regards,

Steven
-------------- next part --------------
[ INFO] [1289902085.230580289]: Loading general config from [/home/u0063509/.rviz/config]
[ INFO] [1289902085.232020710]: Loading display config from [/home/u0063509/.rviz/display_config]

Gdk-ERROR **: The program 'rviz' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadDrawable (invalid Pixmap or Window parameter)'.
  (Details: serial 24 error_code 9 request_code 55 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
aborting...                                                                      
                                                                                 
Program received signal SIGABRT, Aborted.                                        
0x0000003640834065 in raise (sig=6)                                              
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64                                
64        return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);                  
(gdb) bt                                                                         
#0  0x0000003640834065 in raise (sig=6)                                          
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64                                
#1  0x0000003640835a16 in abort () at abort.c:92                                 
#2  0x0000003642c4ab8a in g_logv (log_domain=0x3de6881517 "Gdk", 
    log_level=<value optimized out>, format=0x3de689ff87 "%s", args1=
    0x7fffffffb760) at gmessages.c:557
#3  0x0000003642c4ac13 in g_log (log_domain=<value optimized out>, 
    log_level=<value optimized out>, format=<value optimized out>)
    at gmessages.c:577
#4  0x0000003de686a356 in gdk_x_error (display=<value optimized out>, 
    error=<value optimized out>) at gdkmain-x11.c:466
#5  0x00000036460467f7 in _XError (dpy=0x72ae30, rep=0xaa11b0)
    at XlibInt.c:3105
#6  0x000000364604d217 in handle_error (dpy=0x72ae30, err=0xaa11b0, 
    in_XReply=<value optimized out>) at xcb_io.c:166
#7  0x000000364604d265 in handle_response (dpy=0x72ae30, response=0xaa11b0, 
    in_XReply=<value optimized out>) at xcb_io.c:265
#8  0x000000364604dc30 in _XReply (dpy=0x72ae30, rep=0x7fffffffba90, extra=0, 
    discard=1) at xcb_io.c:554
#9  0x0000003646028e40 in XGetGeometry (dpy=0x72ae30, d=75497474, root=
    0x7fffffffbb18, x=0x7fffffffbb54, y=0x7fffffffbb50, width=0x7fffffffbb2c, 
    height=0x7fffffffbb28, borderWidth=0x7fffffffbb24, depth=0x7fffffffbb20)
    at GetGeom.c:48
---Type <return> to continue, or q <return> to quit---
#10 0x00007ffff1d2bee9 in swrastGetDrawableInfo (draw=<value optimized out>, 
    x=<value optimized out>, y=<value optimized out>, w=0x7fffffffbb5c, h=
    0x7fffffffbb58, loaderPrivate=<value optimized out>) at drisw_glx.c:136
#11 0x00007fffe4b081fa in get_window_size (ctx=0x8f9000, 
    fb=<value optimized out>) at swrast.c:496
#12 swrast_check_and_update_window_size (ctx=0x8f9000, 
    fb=<value optimized out>) at swrast.c:506
#13 0x00007fffe4b08272 in dri_make_current (cPriv=<value optimized out>, 
    driDrawPriv=<value optimized out>, driReadPriv=<value optimized out>)
    at swrast.c:695
#14 0x00007fffe4b07ef0 in driBindContext (pcp=<value optimized out>, 
    pdp=<value optimized out>, prp=<value optimized out>)
    at ../common/drisw_util.c:159
#15 0x00007ffff1d2bf6d in drisw_bind_context (context=0x8f7d70, 
    old=<value optimized out>, draw=<value optimized out>, read=75497474)
    at drisw_glx.c:272
#16 0x00007ffff1d1089e in MakeContextCurrent (dpy=0x72ae30, draw=75497474, 
    read=75497474, gc_user=0x8f7d70) at glxcurrent.c:263
#17 0x00007fffe5037559 in Ogre::GLXWindow::create (this=0x7fffe5db98b8, name=
    "OgreRenderWindow1", width=1440, height=853, 
    fullScreen=<value optimized out>, miscParams=<value optimized out>)
    at /home/u0063509/src/svn/cturtle/stacks/visualization_common/ogre/build/ogre_src_v1-7-1/RenderSystems/GL/src/GLX/OgreGLXWindow.cpp:415
---Type <return> to continue, or q <return> to quit---
#18 0x00007fffe5029e12 in Ogre::GLXGLSupport::newWindow (this=0x72ad20, name=
    "OgreRenderWindow1", width=1440, height=853, fullScreen=false, miscParams=
    0x7fffffffc430)
    at /home/u0063509/src/svn/cturtle/stacks/visualization_common/ogre/build/ogre_src_v1-7-1/RenderSystems/GL/src/GLX/OgreGLXGLSupport.cpp:379
#19 0x00007fffe4fe3f1a in Ogre::GLRenderSystem::_createRenderWindow (this=
    0x7fffe5db6a48, name="OgreRenderWindow1", width=1440, height=853, 
    fullScreen=false, miscParams=0x7fffffffc430)
    at /home/u0063509/src/svn/cturtle/stacks/visualization_common/ogre/build/ogre_src_v1-7-1/RenderSystems/GL/src/OgreGLRenderSystem.cpp:1010
#20 0x00007ffff75f763c in Ogre::Root::createRenderWindow (this=0x7fffe5da88d8, 
    name=<value optimized out>, width=<value optimized out>, 
    height=<value optimized out>, fullScreen=<value optimized out>, 
    miscParams=<value optimized out>)
    at /home/u0063509/src/svn/cturtle/stacks/visualization_common/ogre/build/ogre_src_v1-7-1/OgreMain/src/OgreRoot.cpp:1199
#21 0x00007ffff7de7de5 in ogre_tools::wxOgreRenderWindow::createRenderWindow (
    this=0x8e6a00)
    at /home/u0063509/src/svn/cturtle/stacks/visualization_common/ogre_tools/src/ogre_tools/wx_ogre_render_window.cpp:221
#22 0x00007ffff7de8338 in ogre_tools::wxOgreRenderWindow::wxOgreRenderWindow (
    this=0x8e6a00, ogre_root=0x7fffe5da88d8, parent=0x806210, id=-1, pos=..., 
    size=..., style=134217728, validator=..., create_render_window=true)
---Type <return> to continue, or q <return> to quit---
    at /home/u0063509/src/svn/cturtle/stacks/visualization_common/ogre_tools/src/ogre_tools/wx_ogre_render_window.cpp:48
#23 0x00007ffff24630b5 in rviz::RenderPanel::RenderPanel (this=0x8e6a00, 
    parent=0x806210, create_render_window=<value optimized out>)
    at /home/u0063509/src/svn/cturtle/stacks/visualization/rviz/src/rviz/render_panel.cpp:52
#24 0x00007ffff24906a9 in rviz::VisualizationFrame::initialize (this=0x806210, 
    display_config_file=
    "/home/u0063509/src/svn/cturtle/stacks/private-kul-ros-pkg/quadrotor/pelican/pelican_single_cam.vcg", fixed_frame="", target_frame="")
    at /home/u0063509/src/svn/cturtle/stacks/visualization/rviz/src/rviz/visualization_frame.cpp:171
#25 0x00000000004209fc in rviz::VisualizerApp::OnInit (
    this=<value optimized out>)
    at /home/u0063509/src/svn/cturtle/stacks/visualization/rviz/src/rviz/visualizer_app.cpp:234
#26 0x00000031a74972b4 in wxEntry (argc=<value optimized out>, 
    argv=<value optimized out>) at src/common/init.cpp:432
#27 0x00000000004168e2 in main (argc=5, argv=<value optimized out>)
    at /home/u0063509/src/svn/cturtle/stacks/visualization/rviz/src/rviz/visualizer_app.cpp:321
(gdb)


More information about the ros-users mailing list