extra truss evilness
Robin Schoonover
end at endif.cjb.net
Sun Feb 29 21:49:54 PST 2004
It's possible to panic the system with truss (doesn't appear related to
race conditions with truss).
It appears that if truss is 'watching' a process, and the process forks,
than the system could possibly hang. However this is rare and hard to
reproduce.
However, if a process truss is 'watching' forks, and then the parent
process is interupted (^C), than the system will panic multiple times. This
has a much higher likelyhood of occuring.
I've been able to reproduce this with the following C snippet:
int pid = fork(10);
sleep(10);
Run, wait a few seconds (so we KNOW we are after fork occurs), then hit ^C.
Panic.
--
Robin Schoonover (aka End)
#
# "Freedom of speech in Usenet means that when you shout 'Fire!' in a
# crowded theatre, half the crowd stands up and shouts, 'Wrong theatre!'"
More information about the freebsd-current
mailing list