From owner-freebsd-bugs Tue Mar 10 08:50:32 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA25531 for freebsd-bugs-outgoing; Tue, 10 Mar 1998 08:50:32 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: (from gnats@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA25460; Tue, 10 Mar 1998 08:50:10 -0800 (PST) (envelope-from gnats) Received: from bj.raid.com (bj.raid.com [208.206.97.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA23230 for ; Tue, 10 Mar 1998 08:39:42 -0800 (PST) (envelope-from bandy@raid.com) Received: from ralph.raid.com (ralph.raid.com [208.206.97.53]) by bj.raid.com (8.8.6/8.8.6) with ESMTP id KAA22663 for ; Tue, 10 Mar 1998 10:39:28 -0600 (CST) Received: (from bandy@localhost) by ralph.raid.com (8.8.8/8.8.6) id KAA00381; Tue, 10 Mar 1998 10:39:28 -0600 (CST) Message-Id: <199803101639.KAA00381@ralph.raid.com> Date: Tue, 10 Mar 1998 10:39:28 -0600 (CST) From: Tim Bandy Reply-To: bandy@raid.com To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: kern/5969: non-root user can reboot/lock up system Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 5969 >Category: kern >Synopsis: non-root user can reboot/lock up system >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Mar 10 08:50:04 PST 1998 >Last-Modified: >Originator: Tim Bandy >Organization: >Release: FreeBSD 3.0-CURRENT i386 >Environment: pentium 166MHz 64M >Description: I was looking at some code from the ioccc (International Obfuscated C Code Contest) and locked up my machine. The code that did it is included below. It does not always lock up in the same manner. It sometimes will take about 15 seconds or more to lock up, sometimes as quickly as 1. I've had better luck locking up the system about 30 seconds or so after it boots, with both X and Xemacs running. I copied some information off of the console after one such lockup. Fatal trap 12 fault virtual address 0x38 However, at other times, it does not lock up in the same manner and only tells me "page fault, syncing disks..." >How-To-Repeat: Here's the nasty beast. int i;main(){for(;i["]Fix: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message