Messages in this thread | | | From | (Matthias Urlichs) | Subject | Re: A bug in setpgid in kernel | Date | 25 Nov 1998 13:42:32 +0100 |
| |
Nick.Holloway@alfie.demon.co.uk (Nick Holloway) writes: > > An interesting aspect is that if run under "strace -f", this test passes. > I can't explain that -- I'll leave that as an aside. > Easy -- under strace_-f, the parent of _every_ traced process is redirected to be "strace".
This has a lot of implications; for instance, a waitpid() call for an undead child will return an error instead of hanging.
Basically, never believe anything about exit states or wait*() results when you use strace -f. You _will_ get different results.
-- Matthias Urlichs | noris network GmbH | smurf@noris.de | ICQ: 20193661 The quote was selected randomly. Really. | http://www.noris.de/~smurf/ -- perl: error in loading shared libraries: /usr/lib/perl/lib/5.00475/i586-linux-thread/auto/DB_File/DB_File.so: undefined symbol: db_version
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |