BUG: [RESEND] de_thread()
Hello.
Quoted 11 lines · On Thu, 10 Oct 2002 Oleg Nesterov wrote:
Suppose process P in thread group was cloned _without_
CLONE_DETACHEDflag. Then another thread,group_leaderfor simplicity, does exec and callsde_thread(). It kills P via_broadcast_thread_group(). While doingdo_exit(), P skipsrelease_task(), because itsexit_signal!= -1, and becomesTASK_ZOMBIE.Then leader calls
schedule()withTASK_UNINTERRUPTIBLEinwhile(oldsig->count > 1){...} and sleeps forever, because nobody can dowake_up_process(sig->group_exit_task).
Oleg.