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

Should rviz have a segmentation fault with other nodes are stopped? e.g. openni_camera launch

asked 2011-03-24 06:17:15 -0500

elsey gravatar image

updated 2016-10-24 08:59:04 -0500

ngrennan gravatar image

Hi,

I'm using diamondback and rviz has segmentation faults often whenever I kill another node.

Should I expect this whenever stopping a node that was publishing a topic that rviz is subscribed to?

E.g.: I run roscore in one terminal, openni_camera openni_node.launch, and rviz from another terminal. I can view the /camera/rgb/points topic in rviz fine. However, if I stop the openni_node.launch, rviz segfaults.

Is there anything I can do to change the rosrun / roslaunch settings to prevent this? It would be helpful to not have to restart rviz everytime I want to stop a node to debug something.

Thanks.

edit retag flag offensive close merge delete

Comments

Could you make sure to include which version of Ubuntu you are running on and what video drivers? There is a known bug with certain versions of Nvidia drivers on 10.10 that causes anything linked against OpenGL to crash. See https://code.ros.org/lurker/message/20110204.151901.a4e1d645.en.html .
Eric Perko gravatar image Eric Perko  ( 2011-03-24 06:43:14 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
2

answered 2011-03-24 07:42:13 -0500

elsey gravatar image

Thanks, Eric, for pointing out the thread on the drivers issue.

I upgraded drivers from NVIDIA 260.19.06 to NVIDIA 260.19.44, and that solved the issue.

edit flag offensive delete link more

Comments

Can you explain how you updated the Nvidia driver to 260.19.44? Did you download it from their site, or update something that made Ubuntu pull in the newest driver?
aleeper gravatar image aleeper  ( 2011-03-29 12:46:44 -0500 )edit
I updated by downloading and installing the driver from the Nvidia website: <http://www.nvidia.com/Download/index.aspx?lang=en-us> . Someone also pointed me to <https://launchpad.net/~ubuntu-x-swat/+archive/x-updates> as an alternative to installing from the website, but I haven't tried it myself.
elsey gravatar image elsey  ( 2011-03-30 07:44:49 -0500 )edit
I can confirm that the launchpad approach also works to fix this issue.
fergs gravatar image fergs  ( 2011-04-02 14:29:38 -0500 )edit
0

answered 2011-03-24 06:37:14 -0500

tfoote gravatar image

That's definitely a bug. Please file a ticket here with enough information to repeat the problem.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2011-03-24 06:17:15 -0500

Seen: 686 times

Last updated: Mar 24 '11