Rviz fails to start [closed]
Hi,
I am not able to get Rviz to run
When I type in terminal:
rosrun rviz rviz
I get :
(rviz:9663): Gtk-CRITICAL **: IA__gtk_settings_set_long_property: assertion `GTK_SETTINGS (settings)' failed
(rviz:9663): Gtk-CRITICAL **: IA__gtk_settings_set_long_property: assertion `GTK_SETTINGS (settings)' failed
and nothing happen.
Any clues ??
EDIT:
@dgossow I think Gazebo is gtk based. I get the same gtk-critical stuff but it works fine.
I typed the command you wrotte, and it does not even want to halt when I press ctrl-c :
Copyright (C) 2012 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 "i686-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /opt/ros/groovy/lib/rviz/rviz...(no debugging symbols found)...done.
(gdb) ^CQuit
(gdb) ^CQuit
(gdb) ^CQuit
EDIT2:
Here is the backtrance :
#0 0xb7fdd424 in __kernel_vsyscall ()
#1 0xb6fc65f0 in poll () from /lib/i386-linux-gnu/libc.so.6
#2 0xb576674b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3 0xb5757d00 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4 0xb5757e61 in g_main_context_iteration ()
from /lib/i386-linux-gnu/libglib-2.0.so.0
#5 0xb5fb39a1 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#6 0xb73899aa in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#7 0xb5f8028c in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#8 0xb5f80581 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/i386-linux-gnu/libQtCore.so.4
#9 0xb5f85cda in QCoreApplication::exec() ()
from /usr/lib/i386-linux-gnu/libQtCore.so.4
#10 0xb72d0fc4 in QApplication::exec() ()
from /usr/lib/i386-linux-gnu/libQtGui.so.4
#11 0x08048da7 in main ()
does your computer have nvidia graphics card ?
@prasanna.kumar no but ati and using proprietary driver
Please run rviz in gdb (
gdb /opt/ros/groovy/lib/rviz/rviz
, on the gdb shell enterrun
), then ctrl-c it and provide a backtrace of where it is stuck (bt
).What versions of ROS and Ubuntu are you using?
@EricPerko groovy on quantal. everything is up to date.
@dgossow when I run it from gdb without roscore it starts and tell me waiting for master. If I run roscore : sometimes it doesn't start, it give the same gtk-critical msgs and when I ctrl-c it I get : Program received signal SIGINT, Interrupt. 0xb4de777f in ?? () from /lib/i386-linux-gnu/libpcre.so.
@dgossow and sometimes it starts but it looks not normal : https://dl.dropboxusercontent.com/u/6960485/Screenshot%20from%202013-04-23%2008%3A34%3A38.png
Disable desktop effects before running RViz. Also, you need to type
run
in gdb to actually start RViz.@dgossow I appreciate your help, but disabling desktop effect did not work either. Yes sure I had to type 'run' to get it to work but not normally as shown in the picture above. REALLY NEED IT!!!