Daniel Simon wrote:
> Hello all,
>
> I am testing some former programs with
> xenomai-2.4-rc4/kernel-2.6.23.1/pentiumM;
>
> Calling rt_task_inquire(Id, NULL) with a null second argument now
> freezes or reboots the pc...
>
> I had no problem with this call with a former (2.3.1) xenomai version. Is it
> a
> known behaviour?
the rt_task_inquire system call checks that the "info" pointer points to
a piece of writable memory and returns -EFAULT otherwise. So, what you
should get is a segmentation fault, no freeze or reboot. Actually, I
have tested a small test which segfaults as expected. Could you provide
us with the simple test that causes a freeze or reboot ?
--
Gilles Chanteperdrix.
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help