Hi,<br><br>Ok updating to 270.18 nvidia driver fixed it. Thanks for the answers. I still don't see what could link my ros interface to OpenGL or Ogre, but anyway it seems to be working now.<br><br>Cheers,<br><br>Ugo<br>
<br><div class="gmail_quote">On Fri, Feb 4, 2011 at 6:00 PM, 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Wow, I (probably naively) didn't realize that sort of thing could<br>
happen! Thanks Josh.<br>
<br>
Pat<br>
<div><div></div><div class="h5"><br>
On Fri, Feb 4, 2011 at 9:49 AM, Josh Faust <<a href="mailto:jfaust@willowgarage.com">jfaust@willowgarage.com</a>> wrote:<br>
> It has nothing to do with rviz, or even using OpenGL, just being linked<br>
> against it.  For example, this exhibits the same crash:<br>
><br>
> roscd roscpp_tutorials<br>
> LD_PRELOAD=libGL.so bin/listener<br>
><br>
> roscd roscpp_tutorials<br>
> bin/talker<br>
> <CTRL-C><br>
><br>
> Josh<br>
> On Fri, Feb 4, 2011 at 9:38 AM, Patrick Bouffard<br>
> <<a href="mailto:bouffard@eecs.berkeley.edu">bouffard@eecs.berkeley.edu</a>> wrote:<br>
>><br>
>> 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>
>><br>
>> On Fri, Feb 4, 2011 at 9:27 AM, Josh Faust <<a href="mailto:jfaust@willowgarage.com">jfaust@willowgarage.com</a>><br>
>> wrote:<br>
>> > 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<br>
>> >> <<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>><br>
>> >>> 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<br>
>> >>> > 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<br>
>> >>> > /usr/lib/nvidia-current/libGL.so.1<br>
>> >>> > (gdb) backtrace<br>
>> >>> > #0  0x00007fae809987ef in ?? () from<br>
>> >>> > /usr/lib/nvidia-current/libGL.so.1<br>
>> >>> > #1  0x00007fae80998be9 in ?? () from<br>
>> >>> > /usr/lib/nvidia-current/libGL.so.1<br>
>> >>> > #2  0x00007fae8099d34b in ?? () from<br>
>> >>> > /usr/lib/nvidia-current/libGL.so.1<br>
>> >>> > #3  0x00007fae8099d8fc in ?? () from<br>
>> >>> > /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,<br>
>> >>> > publishing<br>
>> >>> > joint_states<br>
>> >>> > /shadowhand                                  > my own node,<br>
>> >>> > 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<br>
>> >>> > 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 | +44 20 7700 2487<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>
>> >>> 650-475-9780<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 | +44 20 7700 2487<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>
><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><br clear="all"><br>-- <br>Ugo Cupcic | Shadow Robot Company | <a href="mailto:ugo@shadowrobot.com" target="_blank">ugo@shadowrobot.com</a> <br>Software Engineer | 251 Liverpool Road | <br>
need a Hand? | London N1 1LX | +44 20 7700 2487 <br><a href="http://www.shadowrobot.com/hand/" target="_blank">http://www.shadowrobot.com/hand/</a> @shadowrobot <br><br>