I wasn't allowed to post the full strace, but here are the highlights...

---------- Forwarded message ----------
From: Johan Walles <[EMAIL PROTECTED]>
Date: 2008/5/17
Subject: Strace output showing the problem
To: [EMAIL PROTECTED]


Search for "= 3180".  That will get you to the clone() call launching ps:

clone(child_stack=0,
flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0x80ca878) = 3180

Note the result of the wait() call following it:

waitpid(3180, 0xbf982e08, 0)            = -1 ECHILD (No child processes)

That's because SIGCHLD is being ignored.

Later, we find the ps process we just launched, and warn about it.
Note that 0xc6c == 3180:

getpgid(0xc6c)                          = 2179
...
write(1, "Found HIDDEN PID: 3180\n", 23) = 23

Not ignoring SIGCHLD (see patch attached previously) fixes this.

 Regards //Johan



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to