Re: kernel panic on kill(0, SIGTERM) with PGID == 0

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Mathias Krause
Date: Monday, May 10, 2010 - 12:20 am

Hello  Oleg,

Oleg Nesterov wrote:

No problem. Thanks for replying.


See below.


It's old because it's the result of bisecting the cause of the problem.
It's actually some 2.6.24 kernel but I could reproduce the bug with
2.6.34-rc4, too.


Right.


Yes, sure. Killing the process group, while having a PGID of 0 are the
only prerequisites to trigger this bug. In my example I forked a child
and let it do the call to kill to not have init  (PID 1) beeing killed,
too. The kernel doesn't like that. :)
But your example should also work.



This works for me. Thanks.

Tested-by: Mathias Krause <mathias.krause@secunet.com>
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: kernel panic on kill(0, SIGTERM) with PGID == 0, Oleg Nesterov, (Sun May 9, 11:45 am)
Re: kernel panic on kill(0, SIGTERM) with PGID == 0, Oleg Nesterov, (Sun May 9, 12:06 pm)
Re: kernel panic on kill(0, SIGTERM) with PGID == 0, Mathias Krause, (Mon May 10, 12:20 am)
[PATCH 4/4] INIT_SIGHAND: use SIG_DFL instead of NULL, Oleg Nesterov, (Mon May 10, 12:51 pm)
Re: [PATCH 4/4] INIT_SIGHAND: use SIG_DFL instead of NULL, Serge E. Hallyn, (Tue May 11, 1:54 am)
Re: [PATCH 1/4] INIT_TASK() should initialize -&gt;thread_gro ..., Sukadev Bhattiprolu, (Tue May 11, 7:15 pm)