[Xenomai] rt task & stack overflow

Gilles Chanteperdrix gilles.chanteperdrix at xenomai.org
Wed Apr 20 15:48:15 CEST 2016


On Wed, Apr 20, 2016 at 12:09:15PM +0200, Johann Obermayr wrote:
> root at sigmatek-arm-mp:~# ./signaltest01arm
> Segmentation fault
> 
> root at sigmatek-arm-mp:~# ./signaltest01arm --sigstack
> linux: signal_handler: 11
> 
> root at sigmatek-arm-mp:~# ./signaltest01armx
> Segmentation fault
> 
> root at sigmatek-arm-mp:~# ./signaltest01armx --sigstack
> Segmentation fault

Have you tried to run the program in gdb to see where the
segmentation fault happens?

> 
> root at sigmatek-arm-mp:~#
> 
> for a standard linux thread the function sigaltstack will work correct.
> But not with xenomai (rt_task_shadow)

The issue is probably not related to sigalstack at all.

> 
> we use kernel 3.0.53 & xenomai 2.6.2.1.
> 
> regards
>    Johann
> 
> 
> 
> _______________________________________________
> Xenomai mailing list
> Xenomai at xenomai.org
> https://xenomai.org/mailman/listinfo/xenomai

-- 
					    Gilles.
https://click-hack.org



More information about the Xenomai mailing list