[Xenomai-core] gdb lockup on multi-threaded process exit

2008-10-04 Thread Jan Kiszka
Hi, I'm banging my head against this issue for several days now, first trying to sort out an unrelated bug I also came across at this chance, then trying to understand what happens, and finally getting mad about why this may only happen with Xenomai: One process, two threads, running under gdb co

Re: [Xenomai-core] gdb lockup on multi-threaded process exit

2008-10-04 Thread Gilles Chanteperdrix
Jan Kiszka wrote: > Hi, > > I'm banging my head against this issue for several days now, first > trying to sort out an unrelated bug I also came across at this chance, > then trying to understand what happens, and finally getting mad about > why this may only happen with Xenomai: I have not tried

Re: [Xenomai-core] gdb lockup on multi-threaded process exit

2008-10-04 Thread Jan Kiszka
Gilles Chanteperdrix wrote: > Jan Kiszka wrote: >> Hi, >> >> I'm banging my head against this issue for several days now, first >> trying to sort out an unrelated bug I also came across at this chance, >> then trying to understand what happens, and finally getting mad about >> why this may only hap

Re: [Xenomai-core] gdb lockup on multi-threaded process exit

2008-10-04 Thread Gilles Chanteperdrix
Jan Kiszka wrote: > Gilles Chanteperdrix wrote: >> Jan Kiszka wrote: >>> Hi, >>> >>> I'm banging my head against this issue for several days now, first >>> trying to sort out an unrelated bug I also came across at this chance, >>> then trying to understand what happens, and finally getting mad abou

Re: [Xenomai-core] gdb lockup on multi-threaded process exit

2008-10-04 Thread Gilles Chanteperdrix
Jan Kiszka wrote: > +static int sigkill_pending(struct task_struct *tsk) > +{ > + return ((sigismember(&tsk->pending.signal, SIGKILL) || > + sigismember(&tsk->signal->shared_pending.signal, SIGKILL)) && > + !unlikely(sigismember(&tsk->blocked, SIGKILL))); > +} > + Posi

Re: [Xenomai-core] gdb lockup on multi-threaded process exit

2008-10-04 Thread Gilles Chanteperdrix
Gilles Chanteperdrix wrote: > Jan Kiszka wrote: >> +static int sigkill_pending(struct task_struct *tsk) >> +{ >> +return ((sigismember(&tsk->pending.signal, SIGKILL) || >> + sigismember(&tsk->signal->shared_pending.signal, SIGKILL)) && >> +!unlikely(sigismember(&tsk->blo

Re: [Xenomai-core] gdb lockup on multi-threaded process exit

2008-10-04 Thread Jan Kiszka
Gilles Chanteperdrix wrote: > Jan Kiszka wrote: >> Gilles Chanteperdrix wrote: >>> Jan Kiszka wrote: Hi, I'm banging my head against this issue for several days now, first trying to sort out an unrelated bug I also came across at this chance, then trying to understand what

Re: [Xenomai-core] gdb lockup on multi-threaded process exit

2008-10-04 Thread Gilles Chanteperdrix
Jan Kiszka wrote: > Gilles Chanteperdrix wrote: >> Jan Kiszka wrote: >>> Gilles Chanteperdrix wrote: Jan Kiszka wrote: > Hi, > > I'm banging my head against this issue for several days now, first > trying to sort out an unrelated bug I also came across at this chance, > the