[Xenomai] segfault in printer_loop()

2017-10-26 Thread C Smith
My xenomai application is segfaulting at startup, 1 in 10 times I run it. When I catch it in a debugger or get a core file it says the segfault was not in my code but in the xenomai sources: rt_print.c line 685: pthread_cond_wait(_wakeup, _lock); (gdb) bt #O Oxb77120db in

[Xenomai] Xenomai 3.0.5 - Segmentation fault in xnsynch_sleep_on();

2017-10-26 Thread Piotr Piorkowski
Hello I'm running rtdm kernel module using the xenomai 3.0.5 and Linux 4.1.21 on RPi 3 I have problem with spi-bcm2835 rtdm driver (from official xenomai kernel source). When I am using write function, I get segmentation fault. Problem is on xnsynch_sleep_on() function:

[Xenomai] Xenomai 3.0.5 - sigwaitinfo si_overrun wrong value

2017-10-26 Thread Fazio Maurizio
Hello, I'm running an application using the xenomai 3.0.5... I have a problem with the si_overrun field of the siginfo_t structure returned by the sigwaitinfo function. I armed a timer with and interval of 1ms… every 3 timer ticks I execute a sleep of 1.5 ms… I expect an overrun in that cycle