Re: [ros-users] Ros on Arm Hanging

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: René Wagner
Date:  
To: ros-users
Subject: Re: [ros-users] Ros on Arm Hanging
On Thu, 2010-07-08 at 19:43 +0900, Daniel Stonier wrote:
> Got into it with a debugger, and found it hanging at
> roslib/include/ros/serialization.h at
>
>
> ROS_CREATE_SIMPLE_SERIALIZER(double);


Depending on how the serializer is used, this may result in an
unaligned write. You can check whether an alignment error is involved
as follows:

echo 5 > /proc/cpu/alignment

and re-run the executable that's causing trouble. The program should
receive a signal (so you can see where exactly things go wrong in gdb)
and the kernel should report an "Alignment trap: ..." on the console or
in dmesg/syslog.

Cheers,

Rene

-- 
------------------------------------------------------------
Dipl.-Inf. René Wagner                     Junior Researcher
DFKI Bremen                           Enrique-Schmidt-Str. 5
Safe and Secure Cognitive Systems             D-28359 Bremen


Phone: (+49) 421-218-64224       Fax: (+49) 421-218-98-64224
Web: http://www.informatik.uni-bremen.de/agebv/en/ReneWagner
--- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Deutsches Forschungszentrum für Künstliche Intelligenz  GmbH
Firmensitz: Trippstadter Strasse 122, D-67663 Kaiserslautern


Geschäftsführung:
   Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster (Vorsitzender)
                                          Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats:
                                Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern                          HRB 2313
------------------------------------------------------------