rviz no window, just freezes

asked 2019-02-07 04:15:28 -0500

uthinu gravatar image

The problem is similar to that of https://answers.ros.org/question/2227... Ubuntu 18

~/catkin_ws $ gdb -ex run /opt/ros/melodic/bin/rviz 
GNU gdb (Ubuntu 8.1-0ubuntu3) 8.1.0.20180409-git
enter code here
Copyright (C) 2018 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-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /opt/ros/melodic/bin/rviz...(no debugging symbols found)...done.
Starting program: /opt/ros/melodic/bin/rviz 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffdce35700 (LWP 555)]
qt5ct: using qt5ct plugin
[ INFO] [1549533633.580573309]: rviz version 1.13.1
[ INFO] [1549533633.580610807]: compiled against Qt version 5.9.5
[ INFO] [1549533633.580621610]: compiled against OGRE version 1.9.0 (Ghadamon)

^C
Thread 1 "rviz" received signal SIGINT, Interrupt.
0x00007ffff6184bf9 in __GI___poll (fds=0x7fffffffd040, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
29  ../sysdeps/unix/sysv/linux/poll.c: No such file or directory.
(gdb) bt
#0  0x00007ffff6184bf9 in __GI___poll (fds=0x7fffffffd040, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fffef0a2dd8 in XmlRpc::XmlRpcDispatch::work(double) () at /opt/ros/melodic/lib/libxmlrpcpp.so
#2  0x00007fffef0a239f in XmlRpc::XmlRpcClient::execute(char const*, XmlRpc::XmlRpcValue const&, XmlRpc::XmlRpcValue&) () at /opt/ros/melodic/lib/libxmlrpcpp.so
#3  0x00007ffff4141e2d in ros::master::execute(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, XmlRpc::XmlRpcValue const&, XmlRpc::XmlRpcValue&, XmlRpc::XmlRpcValue&, bool) () at /opt/ros/melodic/lib/libroscpp.so
#4  0x00007ffff414247c in ros::master::check() () at /opt/ros/melodic/lib/libroscpp.so
#5  0x00007ffff7b50029 in rviz::VisualizerApp::init(int, char**) () at /opt/ros/melodic/lib/librviz.so
#6  0x0000555555554dc0 in main ()
edit retag flag offensive close merge delete