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

Ugo Cupcic ugo at shadowrobot.com
Fri Feb 4 17:33:18 UTC 2011


Yes, I mean in my package: killing my node makes rviz crash -> I'm assuming
my node must depend on something using ogre.

On Fri, Feb 4, 2011 at 5:27 PM, Josh Faust <jfaust at willowgarage.com> wrote:

> rviz uses opengl/ogre
>
>
> On Fri, Feb 4, 2011 at 9:18 AM, Ugo Cupcic <ugo at shadowrobot.com> wrote:
>
>> Hi Matei,
>>
>> Ok, I'll try upgrading my drivers then.
>>
>> Just as a remark, concerning my dependencies, I don't see what could be
>> using OpenGl / ogre.
>>
>> Cheers,
>>
>> Ugo
>>
>>
>> On Fri, Feb 4, 2011 at 5:07 PM, Matei Ciocarlie <matei at willowgarage.com>wrote:
>>
>>> Hi Ugo,
>>>
>>> It's almost certainly the driver problem. If you link against the
>>> nvidia driver (which you are if anybody in your dependency list is
>>> using OpenGl or ogre) you will get these crashes. The only solution
>>> we've found is to upgrade the driver; 260.19.21 seems to fix the
>>> problem.
>>>
>>> Matei
>>>
>>> On Fri, Feb 4, 2011 at 7:19 AM, Ugo Cupcic <ugo at shadowrobot.com> wrote:
>>> > 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
>>> >
>>> >
>>> > _______________________________________________
>>> > ros-users mailing list
>>> > ros-users at code.ros.org
>>> > https://code.ros.org/mailman/listinfo/ros-users
>>> >
>>> >
>>>
>>>
>>>
>>> --
>>> Matei Ciocarlie
>>> Research Scientist
>>> Willow Garage Inc.
>>> 650-475-9780
>>> _______________________________________________
>>> ros-users mailing list
>>> ros-users at code.ros.org
>>> https://code.ros.org/mailman/listinfo/ros-users
>>>
>>
>>
>>
>> --
>> 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
>>
>>
>> _______________________________________________
>> ros-users mailing list
>> ros-users at code.ros.org
>> https://code.ros.org/mailman/listinfo/ros-users
>>
>>
>
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
>


-- 
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.ros.org/pipermail/ros-users/attachments/20110204/d1398442/attachment-0003.html>


More information about the ros-users mailing list