Are we sure this doesn't have to do with a tf frame suddenly disappearing when you kill the other processes, and rviz crashing because it can't find tf data for something?<br><br>--Adam<br><br><br clear="all">Adam Leeper<br>
Stanford University<br><a href="mailto:aleeper@stanford.edu">aleeper@stanford.edu</a><br>719.358.3804<br>
<br><br><div class="gmail_quote">On Fri, Feb 4, 2011 at 9:38 AM, Patrick Bouffard <span dir="ltr"><<a href="mailto:bouffard@eecs.berkeley.edu">bouffard@eecs.berkeley.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I think I've been having this problem too, and I'm glad to hear that<br>
upgrading drivers seems to solve it. But I'm also still puzzled how<br>
killing another process causes rviz to crash simply because it uses<br>
opengl. I would have thought that the graphics and topic subscription<br>
parts of rviz would be fairly independent. What is it about the other<br>
process crashing, whose only connection (AFAIK) with rviz is through a<br>
ROS topic, that triggers the bug in the nvidia driver?<br>
<br>
Cheers,<br>
Pat<br>
<div class="im"><br>
On Fri, Feb 4, 2011 at 9:27 AM, Josh Faust <<a href="mailto:jfaust@willowgarage.com">jfaust@willowgarage.com</a>> wrote:<br>
</div><div><div></div><div class="h5">> rviz uses opengl/ogre<br>
><br>
> On Fri, Feb 4, 2011 at 9:18 AM, Ugo Cupcic <<a href="mailto:ugo@shadowrobot.com">ugo@shadowrobot.com</a>> wrote:<br>
>><br>
>> Hi Matei,<br>
>><br>
>> Ok, I'll try upgrading my drivers then.<br>
>><br>
>> Just as a remark, concerning my dependencies, I don't see what could be<br>
>> using OpenGl / ogre.<br>
>><br>
>> Cheers,<br>
>><br>
>> Ugo<br>
>><br>
>> On Fri, Feb 4, 2011 at 5:07 PM, Matei Ciocarlie <<a href="mailto:matei@willowgarage.com">matei@willowgarage.com</a>><br>
>> wrote:<br>
>>><br>
>>> Hi Ugo,<br>
>>><br>
>>> It's almost certainly the driver problem. If you link against the<br>
>>> nvidia driver (which you are if anybody in your dependency list is<br>
>>> using OpenGl or ogre) you will get these crashes. The only solution<br>
>>> we've found is to upgrade the driver; 260.19.21 seems to fix the<br>
>>> problem.<br>
>>><br>
>>> Matei<br>
>>><br>
>>> On Fri, Feb 4, 2011 at 7:19 AM, Ugo Cupcic <<a href="mailto:ugo@shadowrobot.com">ugo@shadowrobot.com</a>> wrote:<br>
>>> > Hi,<br>
>>> ><br>
>>> > I think I'm having the problem described on this ticket:<br>
>>> > <a href="https://code.ros.org/trac/ros-pkg/ticket/4463" target="_blank">https://code.ros.org/trac/ros-pkg/ticket/4463</a><br>
>>> ><br>
>>> > When I kill a node which is not related to rviz at all, rviz segfaults.<br>
>>> ><br>
>>> > I did a backtrace on rviz (it doesn't crash in gdb) and got this:<br>
>>> ><br>
>>> > Core was generated by<br>
>>> > `/opt/ros/unstable/stacks/visualization/rviz/bin/rviz'.<br>
>>> > Program terminated with signal 11, Segmentation fault.<br>
>>> > #0  0x00007fae809987ef in ?? () from /usr/lib/nvidia-current/libGL.so.1<br>
>>> > (gdb) backtrace<br>
>>> > #0  0x00007fae809987ef in ?? () from /usr/lib/nvidia-current/libGL.so.1<br>
>>> > #1  0x00007fae80998be9 in ?? () from /usr/lib/nvidia-current/libGL.so.1<br>
>>> > #2  0x00007fae8099d34b in ?? () from /usr/lib/nvidia-current/libGL.so.1<br>
>>> > #3  0x00007fae8099d8fc in ?? () from /usr/lib/nvidia-current/libGL.so.1<br>
>>> > #4  0x00007fae8b76a971 in start_thread () from /lib/libpthread.so.0<br>
>>> > #5  0x00007fae8385e92d in clone () from /lib/libc.so.6<br>
>>> > #6  0x0000000000000000 in ?? ()<br>
>>> ><br>
>>> > I'm displaying 2 robot_model in rviz, and the following nodes are<br>
>>> > running:<br>
>>> >> rosnode list<br>
>>> > /fixed_frame_pos_pub_arm              > fixed_frame_pub<br>
>>> > /fixed_frame_target_pub_arm           > fixed_frame_pub<br>
>>> > /link_hand_arm_pos                        > fixed_frame_pub<br>
>>> > /link_hand_arm_target                     > fixed_frame_pub<br>
>>> > /robot_state_publisher_pos_arm       > robot_state_pub<br>
>>> > /robot_state_publisher_target_arm    > robot_state_pub<br>
>>> > /rosout<br>
>>> > /rviz_1296830902390721972<br>
>>> > /shadowarm                                    > my own node, publishing<br>
>>> > joint_states<br>
>>> > /shadowhand                                  > my own node, publishing<br>
>>> > joint_states<br>
>>> > /sr_diagnostic_aggregator                > diagnostic aggregator<br>
>>> > /srh_robot_state_publisher_pos        > robot_state_pub<br>
>>> > /srh_robot_state_publisher_target     > robot_state_pub<br>
>>> ><br>
>>> > My shadowarm and shadowhand nodes have the following dependencies in<br>
>>> > their<br>
>>> > manifest.xml (I remember that a while ago I had the same problem and<br>
>>> > that I<br>
>>> > solved it by removing the dependencies to rviz / ...) :<br>
>>> >   <depend package="roslib"/><br>
>>> >   <depend package="roscpp"/><br>
>>> >   <depend package="rospy"/><br>
>>> >   <depend package="std_msgs"/><br>
>>> >   <depend package="sensor_msgs"/><br>
>>> >   <depend package="sr_robot_msgs"/><br>
>>> >   <depend package="diagnostic_msgs"/><br>
>>> >   <depend package="dynamic_reconfigure"/><br>
>>> ><br>
>>> > I'm running ubuntu 10.10 with the 260.19.06 nvidia driver (but with 2<br>
>>> > nvidia<br>
>>> > 9500 cards).<br>
>>> ><br>
>>> > Any ideas?<br>
>>> ><br>
>>> > Cheers,<br>
>>> ><br>
>>> > Ugo<br>
>>> ><br>
>>> ><br>
>>> > --<br>
>>> > Ugo Cupcic | Shadow Robot Company | <a href="mailto:ugo@shadowrobot.com">ugo@shadowrobot.com</a><br>
>>> > Software Engineer | 251 Liverpool Road |<br>
>>> > need a Hand? | London N1 1LX | <a href="tel:+442077002487">+44 20 7700 2487</a><br>
>>> > <a href="http://www.shadowrobot.com/hand/" target="_blank">http://www.shadowrobot.com/hand/</a> @shadowrobot<br>
>>> ><br>
>>> ><br>
>>> > _______________________________________________<br>
>>> > ros-users mailing list<br>
>>> > <a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
>>> > <a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
>>> ><br>
>>> ><br>
>>><br>
>>><br>
>>><br>
>>> --<br>
>>> Matei Ciocarlie<br>
>>> Research Scientist<br>
>>> Willow Garage Inc.<br>
>>> <a href="tel:+16504759780">650-475-9780</a><br>
>>> _______________________________________________<br>
>>> ros-users mailing list<br>
>>> <a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
>>> <a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
>><br>
>><br>
>><br>
>> --<br>
>> Ugo Cupcic | Shadow Robot Company | <a href="mailto:ugo@shadowrobot.com">ugo@shadowrobot.com</a><br>
>> Software Engineer | 251 Liverpool Road |<br>
>> need a Hand? | London N1 1LX | <a href="tel:+442077002487">+44 20 7700 2487</a><br>
>> <a href="http://www.shadowrobot.com/hand/" target="_blank">http://www.shadowrobot.com/hand/</a> @shadowrobot<br>
>><br>
>><br>
>> _______________________________________________<br>
>> ros-users mailing list<br>
>> <a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
>> <a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
>><br>
><br>
><br>
> _______________________________________________<br>
> ros-users mailing list<br>
> <a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
> <a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
><br>
><br>
_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
</div></div></blockquote></div><br>