How can i fix RViz, Segmentation fault (core dumped)
It is not possible anymore to run rviz, it worked before but it crashed once and doesn't work now anymore. Can someone helps me?
turtlebot@turtlebot:~$ rosrun rviz rviz
[ INFO] [1488269576.719834232]: rviz version 1.11.15
[ INFO] [1488269576.719888306]: compiled against Qt version 4.8.6
[ INFO] [1488269576.719903822]: compiled against OGRE version 1.8.1 (Byatis)
Segmentation fault (core dumped)
I tried already different stuff but the problem isn't solved. Thanks for the help
Edit: i'm working on linux ubuntu 14.04, and ROS indigo version. ROS was al installed, i bought the turtlebot 2 with Linux and ROS preinstalled
Asked by Turtlebot2-Project on 2017-02-28 03:23:03 UTC
Comments
Please add which OS this is, which version, how you installed ROS and which version of ROS you have installed.
Asked by gvdhoorn on 2017-02-28 03:28:08 UTC
In any case: please make sure you don't have any partial updates to ROS (ie: you selectively
apt-get update
d several packages).Asked by gvdhoorn on 2017-02-28 03:28:41 UTC
i'm working on linux ubuntu 14.04, and ROS indigo version. ROS was al installed, i bought the turtlebot 2 with Linux and ROS preinstalled
For the rest it is possible to do gmapping, only i can't open RViz so i can't see what he mapped and what not. Thanks for helping me
Asked by Turtlebot2-Project on 2017-02-28 04:27:36 UTC
rviz is always crush. it's normal case..
Asked by asimay_y on 2017-02-28 05:20:02 UTC
maybe, but i need it to continue the tutorials so i want that it get fixed
Asked by Turtlebot2-Project on 2017-02-28 05:21:41 UTC
@asimay_y: we can definitely not claim it to be the most robust program, but I wouldn't call it crashing 'normal'. And it's definitely not an answer to the question of @Turtlebot2-Project.
Asked by gvdhoorn on 2017-02-28 05:56:32 UTC
hi, @gvdhoorn, I'm sorry I didn't mean to offend you. but if I combine rviz and gazebo to launch together, it's up to 80 percent will crush.. I' ve already used to it..
Asked by asimay_y on 2017-02-28 07:21:05 UTC
no need to apologise.
yes, that is not a robust combination unfortunately.
Asked by gvdhoorn on 2017-02-28 07:37:38 UTC
I had a similar issue once. The solution was to delete the default config file in ~/.rviz (assuming you are using linux). Not sure if this is gonna work for you but worth a try!
Asked by huanxiner on 2017-02-28 11:00:35 UTC
Their are no files under the folder .rviz Do i need to add some files of is it normal it is empty? Thanks for helping
Asked by Turtlebot2-Project on 2017-03-01 03:26:59 UTC
A bit involved perhaps, but the 'best' way to figure out why something is
SEGFAULT
ing would be to run the program ingdb
. But for that to be really informative, you'd need the program to have debug symbols. For that you'll need to build rviz from sources, which is not difficult, but takes time.Asked by gvdhoorn on 2017-03-01 03:35:32 UTC
Did you try any of the environment variables described here: http://wiki.ros.org/rviz/Troubleshooting ? I've had those help me in the past when encountering issues with graphics drivers/OGRE and rviz.
Asked by jarvisschultz on 2017-03-01 10:37:37 UTC
Following on @gvdhoorn
gdb
comment, I once had a laptop with a graphics driver bug that would never allow rviz to run (see question here). Every time I ran in gdb, rviz would work fine.Asked by jarvisschultz on 2017-03-01 10:40:40 UTC
Concluded the issue was a graphics driver bug. If I switched to the open source ATI drivers, rviz started working again (but the overall graphics performance of my system turned to garbage). The answer was to just use a different laptop... the joy of working with graphics drivers in Linux systems :)
Asked by jarvisschultz on 2017-03-01 10:42:20 UTC
Yah, I am facing the same problem, using nvidia-375 driver, after I switched to x.org X server, everything works, but I really needs the nvidia driver to make the KinectV2 work...
Asked by boooooosh on 2017-07-28 12:27:30 UTC