Re: [Xenomai-core] [BUG] module usage counter of xenomai native corrupted (version 2.2.0 and 2.2.5)

2006-12-11 Thread Philippe Gerum
On Fri, 2006-12-08 at 22:35 +0100, Philippe Gerum wrote: On Fri, 2006-12-08 at 20:05 +0100, Jan Kiszka wrote: Philippe Gerum wrote: On Fri, 2006-12-08 at 19:02 +0100, Gilles Chanteperdrix wrote: Jan Kiszka wrote: Gilles Chanteperdrix wrote: Index: ksrc/nucleus/shadow.c

Re: [Xenomai-core] [BUG] module usage counter of xenomai native corrupted (version 2.2.0 and 2.2.5)

2006-12-08 Thread Gilles Chanteperdrix
Jan Kiszka wrote: Thomas Wiedemann wrote: Hi, there seems to be a bug in rt_task_create(). When no more memory is available, the module usage counter of xeno_native is decremented. I guess it is not incremented before, however, so the counter gets 0 and wraps then to a negative number. It is

Re: [Xenomai-core] [BUG] module usage counter of xenomai native corrupted (version 2.2.0 and 2.2.5)

2006-12-08 Thread Jan Kiszka
Gilles Chanteperdrix wrote: Gilles Chanteperdrix wrote: Jan Kiszka wrote: Thomas Wiedemann wrote: Hi, there seems to be a bug in rt_task_create(). When no more memory is available, the module usage counter of xeno_native is decremented. I guess it is not incremented before, however, so

Re: [Xenomai-core] [BUG] module usage counter of xenomai native corrupted (version 2.2.0 and 2.2.5)

2006-12-08 Thread Jan Kiszka
Gilles Chanteperdrix wrote: Jan Kiszka wrote: Gilles Chanteperdrix wrote: Gilles Chanteperdrix wrote: Jan Kiszka wrote: Thomas Wiedemann wrote: Hi, there seems to be a bug in rt_task_create(). When no more memory is available, the module usage counter of xeno_native is decremented.

Re: [Xenomai-core] [BUG] module usage counter of xenomai native corrupted (version 2.2.0 and 2.2.5)

2006-12-08 Thread Gilles Chanteperdrix
Jan Kiszka wrote: Gilles Chanteperdrix wrote: Index: ksrc/nucleus/shadow.c === --- ksrc/nucleus/shadow.c (révision 1930) +++ ksrc/nucleus/shadow.c (copie de travail) @@ -888,6 +888,9 @@ p =

Re: [Xenomai-core] [BUG] module usage counter of xenomai native corrupted (version 2.2.0 and 2.2.5)

2006-12-07 Thread Jan Kiszka
Thomas Wiedemann wrote: Hi, there seems to be a bug in rt_task_create(). When no more memory is available, the module usage counter of xeno_native is decremented. I guess it is not incremented before, however, so the counter gets 0 and wraps then to a negative number. It is therefore not