ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
2

Segmentation fault (core dumped)

asked 2012-07-08 20:29:47 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

HI ALL , as i run command

rosrun rviz rviz

rviz screen opens and closes immediately and i get following code

Config file '/home/sanket/.rviz/config' could not be opened for reading.

Segmentation fault (core dumped)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2012-07-08 20:52:53 -0600

ipso gravatar image

updated 2012-07-08 20:53:51 -0600

Couple of things to try / check:

  1. Does the file /home/sanket/.rviz/config exist?
  2. What are its permissions?
  3. Is it corrupted / damaged in any way?
  4. If it exists, remove it, try again.
  5. Check out one of the many other threads with 'rviz' and 'segfault' in their title: 1, 2, 3, etc.
  6. Check the rviz troubleshooting section on its wiki.

Another option (perhaps the first) is to run rviz in GDB. Then get a backtrace. It seems you have coredumps enabled, so you could do a post-mortem debugging session (see here for some info (just a random link, just use a search engine for more)).

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-07-08 20:29:47 -0600

Seen: 8,516 times

Last updated: Jul 08 '12