Subject: Re: easy ways to crash your NetBSD system
To: der Mouse <mouse@Collatz.McRCIM.McGill.EDU>
From: Greg A. Woods <woods@kuma.web.net>
List: current-users
Date: 04/08/1996 16:06:33
[ On Thu, April  4, 1996 at 10:40:21 (-0500), der Mouse wrote: ]
> Subject: Re:  easy ways to crash your NetBSD system
>
> >> Two easy ways to crash a NetBSD system - is it only my system or...?
> >> 1. main(void) { while(1) fork(); }
> 
> (heh, what UNIX-alike won't?)

I don't recall being able to crash a UNIX System V machine with this, at
least not since release 2.2, so I guess it's only the "-alike"s that fail.

BTW, the original "bug" was described using a shell example in a paper
I've since lost track of.  If I'm not mistaken this same paper also
included the following example which crashed V7 as well:

	while : ; do
		mkdir a
		cd a
	done

This latter problem does seem to have been fixed....

-- 
							Greg A. Woods

+1 416 443-1734			VE3TCP			robohack!woods
Planix, Inc. <woods@planix.com>; Secrets Of The Weird <woods@weird.com>