[ros-users] rosdep cannot resolve bluez
Dejan Pangercic
dejan.pangercic at gmail.com
Fri May 7 19:40:09 UTC 2010
Python version ( python --version)?
D.
On Fri, May 7, 2010 at 9:20 PM, Felix Ruess <felix.ruess at gmail.com> wrote:
> D,
>
> when I step through turtle_tf_listener.py with pdb it fails after
>
> -> rospy.wait_for_service('spawn')
> (Pdb) zsh: illegal hardware instruction pdb turtle_tf_listener.py
> __name:=turtle_listener
>
> and pdb exits with sigill
>
> cheers, Felix
>
> On Fri, May 7, 2010 at 9:02 PM, Felix Ruess <felix.ruess at gmail.com> wrote:
>> Hey Dejan,
>>
>> I'm running boxturtle
>> I already checked with roswtf and it doesn't complain:
>>
>> 1413 ros % roswtf
>>
>> 2010-05-07 20:52:02 flixr pts/2
>> Loaded plugin tf.tfwtf
>> Stack: ros
>> ================================================================================
>> Static checks summary:
>>
>> No errors or warnings
>> ================================================================================
>>
>> ROS Master does not appear to be running.
>> Online graph checks will not be run.
>> ROS_MASTER_URI is [http://localhost:11311]
>>
>> cheers, Felix
>>
>>
>> On Fri, May 7, 2010 at 8:44 PM, Dejan Pangercic
>> <dejan.pangercic at gmail.com> wrote:
>>> Hi Felix,
>>> first off did you install stable, trunk or latest?
>>> Furthermore, gdb will not work for pyhton nodes, sorry I did not
>>> realize before it was about python. You would need to use pdb instead.
>>> Can you run roswtf and post please?
>>>
>>> cheers, D.
>>>
>>>
>>> On Fri, May 7, 2010 at 8:05 PM, Felix Ruess <felix.ruess at gmail.com> wrote:
>>>> Dejan,
>>>>
>>>> I attached the full backtrace in case this is of any help...
>>>> Thanks a lot!
>>>>
>>>> Cheers, Felix
>>>>
>>>> On Fri, May 7, 2010 at 7:49 PM, Felix Ruess <felix.ruess at gmail.com> wrote:
>>>>> Tully,
>>>>>
>>>>> thanks for the hint! I did a svn up in joystick_drivers and there now
>>>>> it is already added in the dep file :-)
>>>>> And yes, that is not the problem causing the segfault.
>>>>>
>>>>> Dejan,
>>>>>
>>>>> finally found out how to debug the python program with gdb (removed
>>>>> the node from the launch file and ran gdb python seperately).
>>>>> here is the trace:
>>>>>
>>>>> (gdb) run turtle_tf_listener.py __name:=turtle_listener
>>>>> Starting program: /usr/bin/python turtle_tf_listener.py __name:=turtle_listener
>>>>> [Thread debugging using libthread_db enabled]
>>>>> [New Thread 0x25a8b70 (LWP 7159)]
>>>>> [New Thread 0x2da9b70 (LWP 7160)]
>>>>> [New Thread 0x35b6b70 (LWP 7161)]
>>>>> [Thread 0x35b6b70 (LWP 7161) exited]
>>>>> [New Thread 0x35b6b70 (LWP 7166)]
>>>>> [New Thread 0x3db7b70 (LWP 7170)]
>>>>> [New Thread 0x45b8b70 (LWP 7173)]
>>>>> [New Thread 0x4db9b70 (LWP 7175)]
>>>>> [Thread 0x45b8b70 (LWP 7173) exited]
>>>>>
>>>>> Program received signal SIGILL, Illegal instruction.
>>>>> [Switching to Thread 0x4db9b70 (LWP 7175)]
>>>>> 0x0051c203 in ros::TimeBase<ros::Time, ros::Duration>::fromSec
>>>>> (obj=<Time at remote 0x89970cc>, rt=0x4db86e0) at
>>>>> /home/flixr/ros/ros/core/roslib/include/ros/time.h:129
>>>>> 129 T& fromSec(double t) { sec = (uint32_t)floor(t); nsec =
>>>>> (uint32_t)round((t-sec) * 1e9); return *static_cast<T*>(this);}
>>>>>
>>>>> Cheers, Felix
>>>>>
>>>>> On Fri, May 7, 2010 at 7:10 PM, Tully Foote <tfoote at willowgarage.com> wrote:
>>>>>> Felix,
>>>>>> I would not expect the bluez error to cause the segfault.
>>>>>> To solve the rosdep issue, you need to add an appropriate rule for 10.04 in
>>>>>> joystick_drivers rosdep.yaml
>>>>>> Add the bluez package name in 10.04 to the below section.
>>>>>>
>>>>>> bluez:
>>>>>> ubuntu:
>>>>>> '9.10': bluez
>>>>>> '9.04': bluez
>>>>>> '8.10': bluez
>>>>>> '8.04': bluetooth
>>>>>>
>>>>>> Tully
>>>>>>
>>>>>> On Fri, May 7, 2010 at 9:49 AM, Dejan Pangercic <dejan.pangercic at gmail.com>
>>>>>> wrote:
>>>>>>>
>>>>>>> Hi Felix,
>>>>>>>
>>>>>>> could you try running demo.launch with gdb:
>>>>>>>
>>>>>>> http://www.ros.org/wiki/roslaunch/Tutorials/Roslaunch%20Nodes%20in%20Valgrind%20or%20GDB
>>>>>>> and provide back the backtrace an execution trace?
>>>>>>>
>>>>>>> cheers, D.
>>>>>>>
>>>>>>> On Fri, May 7, 2010 at 6:33 PM, Felix Ruess <felix.ruess at gmail.com> wrote:
>>>>>>> > Hi,
>>>>>>> >
>>>>>>> > I just tried to install the dependencies for the turtle_tf tutorial via
>>>>>>> > rosdep install turtle_tf
>>>>>>> > and got the following error:
>>>>>>> > Failed to find rosdep bluez for package turtle_tf on OS:ubuntu
>>>>>>> > version:10.04
>>>>>>> > ERROR: ABORTING: Rosdeps [u'bluez'] could not be resolved
>>>>>>> >
>>>>>>> > As shown in the output I'm running lucid. Also the bluez package is
>>>>>>> > already installed, just rosdep can not resolve it somehow.
>>>>>>> > Works perfectly fine on my other (lucid) machine.... any ideas?
>>>>>>> >
>>>>>>> > Not sure if it is related to that but when I try the tutorial
>>>>>>> > $ roslaunch turtle_tf turtle_tf_demo.launch
>>>>>>> > it launches and displays the two turtles but then turtle_pointer dies:
>>>>>>> > [turtle_pointer-6] process has died [pid 31095, exit code -4].
>>>>>>> > The logfile doesn't show any errors.
>>>>>>> >
>>>>>>> > I would appreciate any pointers in the right direction.
>>>>>>> >
>>>>>>> > Cheers,
>>>>>>> > Felix
>>>>>>> > _______________________________________________
>>>>>>> > ros-users mailing list
>>>>>>> > ros-users at code.ros.org
>>>>>>> > https://code.ros.org/mailman/listinfo/ros-users
>>>>>>> >
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> MSc. Dejan Pangercic
>>>>>>> PhD Student/Researcher
>>>>>>> Computer Science IX
>>>>>>> Technische Universität München
>>>>>>> Telephone: +49 (89) 289-17780
>>>>>>> E-Mail: dejan.pangercic at in.tum.de
>>>>>>> WWW: http://ias.cs.tum.edu/people/pangercic
>>>>>>> _______________________________________________
>>>>>>> ros-users mailing list
>>>>>>> ros-users at code.ros.org
>>>>>>> https://code.ros.org/mailman/listinfo/ros-users
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Tully Foote
>>>>>> Systems Engineer
>>>>>> Willow Garage, Inc.
>>>>>> tfoote at willowgarage.com
>>>>>> (650) 475-2827
>>>>>>
>>>>>> _______________________________________________
>>>>>> 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
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> MSc. Dejan Pangercic
>>> PhD Student/Researcher
>>> Computer Science IX
>>> Technische Universität München
>>> Telephone: +49 (89) 289-17780
>>> E-Mail: dejan.pangercic at in.tum.de
>>> WWW: http://ias.cs.tum.edu/people/pangercic
>>> _______________________________________________
>>> 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
>
--
MSc. Dejan Pangercic
PhD Student/Researcher
Computer Science IX
Technische Universität München
Telephone: +49 (89) 289-17780
E-Mail: dejan.pangercic at in.tum.de
WWW: http://ias.cs.tum.edu/people/pangercic
More information about the ros-users
mailing list