[Xenomai-core] [PATCH] bug found in psos queue

2009-11-02 Thread Alexandre Coffignal
Hello all, I found a bug in xenomai-2.4/src/skins/psos+/queue.c, in function q_vreceive, struct modifier is not corectly fill with argument data. Here the patch to fix this bug regards, Alexandre diff --git a/CREDITS b/CREDITS index f2ce6ca..6342a8c 100644 --- a/CREDITS +++ b/CREDITS @@

Re: [Xenomai-core] [PATCH v3 5/9] nucleus: Avoid returning errors from xnheap_destroy_mapped

2009-11-02 Thread Philippe Gerum
On Sat, 2009-10-24 at 19:22 +0200, Philippe Gerum wrote: On Tue, 2009-10-20 at 13:37 +0200, Jan Kiszka wrote: Allowing xnheap_delete_mapped to return an error and then attempting to recover from it does not work out very well: Corner cases are racy, intransparent to the user, and proper

Re: [Xenomai-core] [PATCH v3 5/9] nucleus: Avoid returning errors from xnheap_destroy_mapped

2009-11-02 Thread Jan Kiszka
Philippe Gerum wrote: On Sat, 2009-10-24 at 19:22 +0200, Philippe Gerum wrote: On Tue, 2009-10-20 at 13:37 +0200, Jan Kiszka wrote: Allowing xnheap_delete_mapped to return an error and then attempting to recover from it does not work out very well: Corner cases are racy, intransparent to the

Re: [Xenomai-core] [PATCH v3 5/9] nucleus: Avoid returning errors from xnheap_destroy_mapped

2009-11-02 Thread Philippe Gerum
On Mon, 2009-11-02 at 17:41 +0100, Jan Kiszka wrote: Philippe Gerum wrote: On Sat, 2009-10-24 at 19:22 +0200, Philippe Gerum wrote: On Tue, 2009-10-20 at 13:37 +0200, Jan Kiszka wrote: Allowing xnheap_delete_mapped to return an error and then attempting to recover from it does not work

Re: [Xenomai-core] [PATCH v3 5/9] nucleus: Avoid returning errors from xnheap_destroy_mapped

2009-11-02 Thread Jan Kiszka
Jan Kiszka wrote: Philippe Gerum wrote: On Mon, 2009-11-02 at 17:41 +0100, Jan Kiszka wrote: Philippe Gerum wrote: On Sat, 2009-10-24 at 19:22 +0200, Philippe Gerum wrote: On Tue, 2009-10-20 at 13:37 +0200, Jan Kiszka wrote: Allowing xnheap_delete_mapped to return an error and then

Re: [Xenomai-core] [PATCH v3 5/9] nucleus: Avoid returning errors from xnheap_destroy_mapped

2009-11-02 Thread Philippe Gerum
On Mon, 2009-11-02 at 19:01 +0100, Jan Kiszka wrote: Jan Kiszka wrote: Philippe Gerum wrote: On Mon, 2009-11-02 at 17:41 +0100, Jan Kiszka wrote: Philippe Gerum wrote: On Sat, 2009-10-24 at 19:22 +0200, Philippe Gerum wrote: On Tue, 2009-10-20 at 13:37 +0200, Jan Kiszka wrote:

Re: [Xenomai-core] lots of mode switches in xenomai-head tree?

2009-11-02 Thread Stefan Schaal
Hi Jan, we updated the git on Oct. 29 (3 days ago). We do use the posix skin, i.e., we use the xeno-config --posix-ldflags. This worked all fine without mode switches under Xenomai 2.4.8. My git does include 4a2cb7b817. I will try to reproduce the error in a test program. -Stefan On

Re: [Xenomai-core] lots of mode switches in xenomai-head tree?

2009-11-02 Thread Stefan Schaal
Hi Jan, you pointer to the 4a2cb7b817 help! We had -lrtdk before - lpthread -lpthread_rt in our compile statement. Just in 2.4.8, this seems to make no difference. -Stefan On Nov 2, 2009, at 10:42, Stefan Schaal wrote: Hi Jan, we updated the git on Oct. 29 (3 days ago). We do use

Re: [Xenomai-core] lots of mode switches in xenomai-head tree?

2009-11-02 Thread Gilles Chanteperdrix
Stefan Schaal wrote: Hi Jan, you pointer to the 4a2cb7b817 help! We had -lrtdk before - lpthread -lpthread_rt in our compile statement. Just in 2.4.8, this seems to make no difference. Do you use the wrap-link.sh script, or is this order change unrelated? --