Re: [uml-devel] 2.6.9-bb3 on 2.6.9 host problem - triggering a hostbug?

From: Bodo Stroesser
Date: Wed Dec 01 2004 - 13:55:46 EST


Blaisorblade wrote:
On Monday 29 November 2004 23:15, Blaisorblade wrote:

However, I've now discovered that it only happens when CONFIG_STATIC_LINK is enabled - that makes the kernel die. The interesting thing is that it becomes unkillable
Have found the reason for the task to become unkillable, i.e. state 'D'.

There is a bug in 2.6.9 and up in fs/exec.c

If the kernel does coredump_wait(), it tries to kill all other threads, that are
running on the same mm. Therefore it calls "force_sig_specific(SIGKILL, p)".
But if one of the threads is on a ptrace-stop, SIGKILL has no effect.
The killing thread will wait forever in "D".

Bodo
-
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/