Re: [regression, 2.6.37-rc1] 'ip link tap0 up' stuck in do_exit()

From: Eric Dumazet
Date: Thu Dec 09 2010 - 12:08:10 EST


Le vendredi 10 dÃcembre 2010 Ã 00:47 +0800, AmÃrico Wang a Ãcrit :

> Yeah, there is no point that a zombie can trigger a BUG_ON in kenrel.
> But it is still interesting to know why it becomes a zombie...
>

A zombie is very easy to get.

Technically speaking, all processes die and become zombies, unless
parent said : signal(SIGCLD, SIG_IGN) before fork()

The parent is buggy (sudo in this case ?) and doesnt call wait() to
'free' one of its children.



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/