Re: clone() <-> getpid() bug in 2.6?

From: Chris Wedgwood
Date: Sun Jun 06 2004 - 00:15:10 EST


On Sun, Jun 06, 2004 at 02:08:52PM +0900, Kalin KOZHUHAROV wrote:

> [pid 13097] getpid() = 13097
> [pid 13097] getpid() = 13097
> [pid 13097] getpid() = 13097
> [pid 13097] getpid() = 13097
> [pid 13097] getpid() = 13097
> [pid 13097] getpid() = 13097
> [pid 13097] getpid() = 13097
> [pid 13097] getpid() = 13097
> [pid 13097] getpid() = 13097

is this repeartable? if you strace -tt how often is this?

what's more, i wonder why this is going on? i'd almost be tempted to
attach to it with gdb and take a bt from getpid and see wtf is going
on


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