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 Fri, 2010-07-09 at 10:45 +0900, Daniel Stonier wrote:
> - Patched (using the memcpy's rather than the reinterprets in the
> SERIALIZER macro).
> - In signal+warn mode (echo 5 > /proc/cpu/alignment)
> - (float64&int32) client gives a bus error and kernel outputs an
> alignment trap message, but servers are fine
> - In default mode (echo 0 > /proc/cpu/alignment)
> - (float64&int32) client and server function without hanging like before
>
> So...its working, but is this the right fix?


You probably want to check where the unaligned memory access is
happening. Can you run your float_client from within gdb? This should
allow you to get a backtrace once the kernel has sent the signal (bus
error) from the alignment trap.

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
------------------------------------------------------------