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

Chris Wedgwood
2004-06-06T05:14:03Z

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