memcpy(): alignment error

Adam Lackorzynski adam at os.inf.tu-dresden.de
Sun Oct 19 23:48:28 CEST 2014


Hi,

On Tue Oct 14, 2014 at 20:48:59 +0200, ba_f wrote:
> i get an "alignment error" when trying to memcpy().
> 
> The error occurs in a raw L4-Task (how do u "officially" name that?), no
> L4Linux.
> 
> 
> However, the error comes with the following line:
> 
> memcpy(0x80006e80, 0x80006e84, 4);
> 
> And this is the message:
> 
> KERNEL0: alignment error at 80006ece (PC: 00079be8, SP: 80006b08, FSR:
> 410801, PSR: 60000010)
> No signal handler found
> 
> Any idea?

The alignment fault address is different (80006ece) from those mentioned
in the memcpy (0x80006e80-0x80006e88). Are you sure it is the memcpy?



Adam
-- 
Adam                 adam at os.inf.tu-dresden.de
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/



More information about the l4-hackers mailing list