Re: [Xenomai-core] [PATCH] nucleus: Plug race between rpi_clear_remote and rpi_next

2010-05-02 Thread Jan Kiszka
Philippe Gerum wrote: > On Sat, 2010-05-01 at 19:47 +0200, Jan Kiszka wrote: >> Philippe Gerum wrote: >>> Don't you think that, quoting yourself: >>> >>> "I have to confess, I do not understand how the patch may relate to our >>> crash. But that's because I still only have a semi-understanding of t

Re: [Xenomai-core] [PATCH] nucleus: Plug race between rpi_clear_remote and rpi_next

2010-05-01 Thread Philippe Gerum
On Sat, 2010-05-01 at 19:47 +0200, Jan Kiszka wrote: > Philippe Gerum wrote: > > Don't you think that, quoting yourself: > > > > "I have to confess, I do not understand how the patch may relate to our > > crash. But that's because I still only have a semi-understanding of this > > frightening comp

Re: [Xenomai-core] [PATCH] nucleus: Plug race between rpi_clear_remote and rpi_next

2010-05-01 Thread Jan Kiszka
Philippe Gerum wrote: > Don't you think that, quoting yourself: > > "I have to confess, I do not understand how the patch may relate to our > crash. But that's because I still only have a semi-understanding of this > frightening complex RPI code" > > does not fit that well with any kind of strong

Re: [Xenomai-core] [PATCH] nucleus: Plug race between rpi_clear_remote and rpi_next

2010-05-01 Thread Philippe Gerum
On Tue, 2010-04-27 at 12:40 +0200, Jan Kiszka wrote: > Philippe Gerum wrote: > > On Tue, 2010-04-27 at 11:34 +0200, Jan Kiszka wrote: > >> Philippe Gerum wrote: > >>> On Tue, 2010-04-27 at 11:27 +0200, Jan Kiszka wrote: > Philippe Gerum wrote: > > On Tue, 2010-04-27 at 10:25 +0200, Jan Kis

Re: [Xenomai-core] [PATCH] nucleus: Plug race between rpi_clear_remote and rpi_next

2010-04-27 Thread Jan Kiszka
Philippe Gerum wrote: > On Tue, 2010-04-27 at 11:34 +0200, Jan Kiszka wrote: >> Philippe Gerum wrote: >>> On Tue, 2010-04-27 at 11:27 +0200, Jan Kiszka wrote: Philippe Gerum wrote: > On Tue, 2010-04-27 at 10:25 +0200, Jan Kiszka wrote: >> Philippe Gerum wrote: >>> On Tue, 2010-04-2

Re: [Xenomai-core] [PATCH] nucleus: Plug race between rpi_clear_remote and rpi_next

2010-04-27 Thread Philippe Gerum
On Tue, 2010-04-27 at 11:34 +0200, Jan Kiszka wrote: > Philippe Gerum wrote: > > On Tue, 2010-04-27 at 11:27 +0200, Jan Kiszka wrote: > >> Philippe Gerum wrote: > >>> On Tue, 2010-04-27 at 10:25 +0200, Jan Kiszka wrote: > Philippe Gerum wrote: > > On Tue, 2010-04-27 at 08:46 +0200, Jan Kis

Re: [Xenomai-core] [PATCH] nucleus: Plug race between rpi_clear_remote and rpi_next

2010-04-27 Thread Jan Kiszka
Philippe Gerum wrote: > On Tue, 2010-04-27 at 11:27 +0200, Jan Kiszka wrote: >> Philippe Gerum wrote: >>> On Tue, 2010-04-27 at 10:25 +0200, Jan Kiszka wrote: Philippe Gerum wrote: > On Tue, 2010-04-27 at 08:46 +0200, Jan Kiszka wrote: >> Philippe Gerum wrote: >>> On Mon, 2010-04-2

Re: [Xenomai-core] [PATCH] nucleus: Plug race between rpi_clear_remote and rpi_next

2010-04-27 Thread Philippe Gerum
On Tue, 2010-04-27 at 11:27 +0200, Jan Kiszka wrote: > Philippe Gerum wrote: > > On Tue, 2010-04-27 at 10:25 +0200, Jan Kiszka wrote: > >> Philippe Gerum wrote: > >>> On Tue, 2010-04-27 at 08:46 +0200, Jan Kiszka wrote: > Philippe Gerum wrote: > > On Mon, 2010-04-26 at 18:06 +0200, Jan Kis

Re: [Xenomai-core] [PATCH] nucleus: Plug race between rpi_clear_remote and rpi_next

2010-04-27 Thread Jan Kiszka
Philippe Gerum wrote: > On Tue, 2010-04-27 at 10:25 +0200, Jan Kiszka wrote: >> Philippe Gerum wrote: >>> On Tue, 2010-04-27 at 08:46 +0200, Jan Kiszka wrote: Philippe Gerum wrote: > On Mon, 2010-04-26 at 18:06 +0200, Jan Kiszka wrote: >> Jan Kiszka wrote: >>> Jan Kiszka wrote: >>>

Re: [Xenomai-core] [PATCH] nucleus: Plug race between rpi_clear_remote and rpi_next

2010-04-27 Thread Philippe Gerum
On Tue, 2010-04-27 at 10:25 +0200, Jan Kiszka wrote: > Philippe Gerum wrote: > > On Tue, 2010-04-27 at 08:46 +0200, Jan Kiszka wrote: > >> Philippe Gerum wrote: > >>> On Mon, 2010-04-26 at 18:06 +0200, Jan Kiszka wrote: > Jan Kiszka wrote: > > Jan Kiszka wrote: > >> Hi, > >> >

Re: [Xenomai-core] [PATCH] nucleus: Plug race between rpi_clear_remote and rpi_next

2010-04-27 Thread Jan Kiszka
Philippe Gerum wrote: > On Tue, 2010-04-27 at 08:46 +0200, Jan Kiszka wrote: >> Philippe Gerum wrote: >>> On Mon, 2010-04-26 at 18:06 +0200, Jan Kiszka wrote: Jan Kiszka wrote: > Jan Kiszka wrote: >> Hi, >> >> I'm meditating over an oops in rpi_clear_remote. NULL pointer deref,

Re: [Xenomai-core] [PATCH] nucleus: Plug race between rpi_clear_remote and rpi_next

2010-04-27 Thread Philippe Gerum
On Tue, 2010-04-27 at 08:46 +0200, Jan Kiszka wrote: > Philippe Gerum wrote: > > On Mon, 2010-04-26 at 18:06 +0200, Jan Kiszka wrote: > >> Jan Kiszka wrote: > >>> Jan Kiszka wrote: > Hi, > > I'm meditating over an oops in rpi_clear_remote. NULL pointer deref, it > /seems/ like t

Re: [Xenomai-core] [PATCH] nucleus: Plug race between rpi_clear_remote and rpi_next

2010-04-26 Thread Jan Kiszka
Philippe Gerum wrote: > On Mon, 2010-04-26 at 18:06 +0200, Jan Kiszka wrote: >> Jan Kiszka wrote: >>> Jan Kiszka wrote: Hi, I'm meditating over an oops in rpi_clear_remote. NULL pointer deref, it /seems/ like thread->rpi is invalid. Looking at the code, I wonder if this cou

Re: [Xenomai-core] [PATCH] nucleus: Plug race between rpi_clear_remote and rpi_next

2010-04-26 Thread Philippe Gerum
On Mon, 2010-04-26 at 18:06 +0200, Jan Kiszka wrote: > Jan Kiszka wrote: > > Jan Kiszka wrote: > >> Hi, > >> > >> I'm meditating over an oops in rpi_clear_remote. NULL pointer deref, it > >> /seems/ like thread->rpi is invalid. Looking at the code, I wonder if > >> this could explain the bug: > >>

Re: [Xenomai-core] [PATCH] nucleus: Plug race between rpi_clear_remote and rpi_next

2010-04-26 Thread Jan Kiszka
Jan Kiszka wrote: > Jan Kiszka wrote: >> Jan Kiszka wrote: >>> Hi, >>> >>> I'm meditating over an oops in rpi_clear_remote. NULL pointer deref, it >>> /seems/ like thread->rpi is invalid. Looking at the code, I wonder if >>> this could explain the bug: >>> >>> >>> static void rpi_clear_remote(struc