extra truss evilness

From: Robin Schoonover <end_at_endif.cjb.net>
Date: Sun, 29 Feb 2004 22:49:52 -0700
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!'"
Received on Sun Feb 29 2004 - 20:49:53 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:45 UTC