[ros-users] rviz crashing when killing unrelated node (Nvidia issue?)

Ugo Cupcic ugo at shadowrobot.com
Fri Feb 4 15:19:01 UTC 2011


Hi,

I think I'm having the problem described on this ticket:
https://code.ros.org/trac/ros-pkg/ticket/4463

When I kill a node which is not related to rviz at all, rviz segfaults.

I did a backtrace on rviz (it doesn't crash in gdb) and got this:

Core was generated by
`/opt/ros/unstable/stacks/visualization/rviz/bin/rviz'.
Program terminated with signal 11, Segmentation fault.
#0  0x00007fae809987ef in ?? () from /usr/lib/nvidia-current/libGL.so.1
(gdb) backtrace
#0  0x00007fae809987ef in ?? () from /usr/lib/nvidia-current/libGL.so.1
#1  0x00007fae80998be9 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#2  0x00007fae8099d34b in ?? () from /usr/lib/nvidia-current/libGL.so.1
#3  0x00007fae8099d8fc in ?? () from /usr/lib/nvidia-current/libGL.so.1
#4  0x00007fae8b76a971 in start_thread () from /lib/libpthread.so.0
#5  0x00007fae8385e92d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

I'm displaying 2 robot_model in rviz, and the following nodes are running:
> rosnode list
/fixed_frame_pos_pub_arm              > fixed_frame_pub
/fixed_frame_target_pub_arm           > fixed_frame_pub
/link_hand_arm_pos                        > fixed_frame_pub
/link_hand_arm_target                     > fixed_frame_pub
/robot_state_publisher_pos_arm       > robot_state_pub
/robot_state_publisher_target_arm    > robot_state_pub
/rosout
/rviz_1296830902390721972
/shadowarm                                    > my own node, publishing
joint_states
/shadowhand                                  > my own node, publishing
joint_states
/sr_diagnostic_aggregator                > diagnostic aggregator
/srh_robot_state_publisher_pos        > robot_state_pub
/srh_robot_state_publisher_target     > robot_state_pub

My shadowarm and shadowhand nodes have the following dependencies in their
manifest.xml (I remember that a while ago I had the same problem and that I
solved it by removing the dependencies to rviz / ...) :
  <depend package="roslib"/>
  <depend package="roscpp"/>
  <depend package="rospy"/>
  <depend package="std_msgs"/>
  <depend package="sensor_msgs"/>
  <depend package="sr_robot_msgs"/>
  <depend package="diagnostic_msgs"/>
  <depend package="dynamic_reconfigure"/>

I'm running ubuntu 10.10 with the 260.19.06 nvidia driver (but with 2 nvidia
9500 cards).

Any ideas?

Cheers,

Ugo


-- 
Ugo Cupcic | Shadow Robot Company | ugo at shadowrobot.com
Software Engineer | 251 Liverpool Road |
need a Hand? | London N1 1LX | +44 20 7700 2487
http://www.shadowrobot.com/hand/ @shadowrobot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osuosl.org/pipermail/ros-users/attachments/20110204/70854765/attachment-0002.html>


More information about the ros-users mailing list