python 2.6.5 On Fri, May 7, 2010 at 9:40 PM, Dejan Pangercic wrote: > Python version ( python --version)? > D. > > On Fri, May 7, 2010 at 9:20 PM, Felix Ruess 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 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 >>> 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 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 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::fromSec >>>>>> (obj=