Re: memcpy(): alignment error

Adam Lackorzynski <[email protected]>
Newsgroups gmane.comp.micro-kernel.l4.devel
Message-ID <[email protected]>
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                 [email protected]
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.