It has nothing to do with rviz, or even using OpenGL, just being linked against it.  For example, this exhibits the same crash:<div><br></div><div><span class="Apple-style-span" style="font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif; font-size: 13px; "><pre class="wiki" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(247, 247, 247); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(215, 215, 215); border-right-color: rgb(215, 215, 215); border-bottom-color: rgb(215, 215, 215); border-left-color: rgb(215, 215, 215); margin-top: 1em; margin-right: 1.75em; margin-bottom: 1em; margin-left: 1.75em; padding-top: 0.25em; padding-right: 0.25em; padding-bottom: 0.25em; padding-left: 0.25em; overflow-x: auto; overflow-y: auto; background-position: initial initial; background-repeat: initial initial; ">

roscd roscpp_tutorials
LD_PRELOAD=libGL.so bin/listener
</pre><pre class="wiki" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(247, 247, 247); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(215, 215, 215); border-right-color: rgb(215, 215, 215); border-bottom-color: rgb(215, 215, 215); border-left-color: rgb(215, 215, 215); margin-top: 1em; margin-right: 1.75em; margin-bottom: 1em; margin-left: 1.75em; padding-top: 0.25em; padding-right: 0.25em; padding-bottom: 0.25em; padding-left: 0.25em; overflow-x: auto; overflow-y: auto; background-position: initial initial; background-repeat: initial initial; ">

roscd roscpp_tutorials
bin/talker
<CTRL-C></pre></span><div><br></div><div>Josh</div><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:0 0 0 .8ex;border-left:1px #ccc solid;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 | +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>
</div></div></blockquote></div><br></div>