On Wed, May 21, 2008 at 4:24 PM, Fabien MAHOT
<[EMAIL PROTECTED]> wrote:
> Hello,
>
> I tried your patch. Now, sem_wait() returns an Interrupt system call error
> when a time-out end signal arrives. That's good.
>
> But, with the same test program, the one which tests sem_wait(), my system
> crashes a while after the same_wait() call. (System freeze --> reboot)
> After sem_wait() call, there are a mutex unlock and a sleep calls, but I
> can't say if they are a problem with them :
> - With mutex unlock call and sleep call: the system crashes between these
> calls. (printf() calls)
> - If I cancel mutex unlock, the threads sleeps and the system is good.
> - If I add a sem_post() in the EndTimeOut handler, sem_wait wakes up the
> thread but the system crashes before or over mutex unlock processing.
>
> before your patch, with this program, i had sem_wait problem but no crash
> of the system.

I have debugged the sem_wait issue by running your program, unloading
and reloading xenomai posix skin module many times, without any crash
or any reboot.

It shows one thing: there is an issue crashing your platform. Have you
run the Xenomai testsuite to know if this is a general problem ?

-- 
 Gilles

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to