On 01/09/2018 11:35 PM, Henry Bausley wrote:
> We have an application that gets run repeatedly that causes a stack overflow. 
>  The source is at the end of this mail.
> We have tracked it down to changing the affinity.
> 
> We have used xenomai 2.6.5 and 2.6.4 and kernels 3.14.28 and 4.1.18 and seen 
> identical results.  Our platform is an LS1021A NXP/Freescale ARM processor.  
> Is this a bug or are we incorrectly using affinity
> 
> 

Most likely a Xenomai bug, the issue does not even happen when changing
the affinity, but when binding a new process to the real-time core. I'd
say that such core is doing something wrong after noticing the affinity
change, which corrupts the kernel state/memory in some obscure ways.

-- 
Philippe.

_______________________________________________
Xenomai mailing list
Xenomai@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai

Reply via email to