* [Xenomai-help] rt_sem_p: No such process
@ 2009-06-23 19:05 Stuart O Anderson
2009-06-25 11:12 ` Gilles Chanteperdrix
0 siblings, 1 reply; 2+ messages in thread
From: Stuart O Anderson @ 2009-06-23 19:05 UTC (permalink / raw)
To: xenomai
Hello -
I'm seeing rt_sem_p and rt_sem_broadcast return a "No such process"
error code, which isn't one of the listed possibilities in the
documentation. This must be happening because the call to
xeno_h2obj_validate on line 495 in ksrc/skins/native/sem.c is
returning NULL.
This happens, but not consistently, when I kill one of the two
user-space realtime processes that are using the semaphore (the other
one then gets this error every time it tries to touch the semaphore).
Restarting the second process, and re-binding to the semaphore does
not stop the error from occurring.
Stuart
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Xenomai-help] rt_sem_p: No such process
2009-06-23 19:05 [Xenomai-help] rt_sem_p: No such process Stuart O Anderson
@ 2009-06-25 11:12 ` Gilles Chanteperdrix
0 siblings, 0 replies; 2+ messages in thread
From: Gilles Chanteperdrix @ 2009-06-25 11:12 UTC (permalink / raw)
To: Stuart O Anderson; +Cc: xenomai
Stuart O Anderson wrote:
> Hello -
>
> I'm seeing rt_sem_p and rt_sem_broadcast return a "No such process"
> error code, which isn't one of the listed possibilities in the
> documentation. This must be happening because the call to
> xeno_h2obj_validate on line 495 in ksrc/skins/native/sem.c is
> returning NULL.
>
> This happens, but not consistently, when I kill one of the two
> user-space realtime processes that are using the semaphore (the other
> one then gets this error every time it tries to touch the semaphore).
> Restarting the second process, and re-binding to the semaphore does
> not stop the error from occurring.
Hi.
the usual details are missing:
- platform,
- version of linux,
- version of xenomai,
- kernel logs,
- simplified but self-contained code which will allow us to reproduce
the problem.
--
Gilles
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-06-25 11:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-23 19:05 [Xenomai-help] rt_sem_p: No such process Stuart O Anderson
2009-06-25 11:12 ` Gilles Chanteperdrix
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.