From owner-freebsd-stable Tue Apr 23 22:49:52 1996 Return-Path: owner-stable Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id WAA20110 for stable-outgoing; Tue, 23 Apr 1996 22:49:52 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id WAA20104 for ; Tue, 23 Apr 1996 22:49:50 -0700 (PDT) Received: from msmith@localhost by genesis.atrad.adelaide.edu.au (8.6.12/8.6.9) id PAA16508; Wed, 24 Apr 1996 15:16:11 +0930 From: Michael Smith Message-Id: <199604240546.PAA16508@genesis.atrad.adelaide.edu.au> Subject: Re: 9 makes + 1 caused panic... To: scrappy@ki.net (Marc G. Fournier) Date: Wed, 24 Apr 1996 15:16:10 +0930 (CST) Cc: stable@freebsd.org In-Reply-To: from "Marc G. Fournier" at Apr 24, 96 00:28:09 am MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-stable@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Marc G. Fournier stands accused of saying: > > I just started up 9 make processes in /usr/src/lib, and > had just started up a 10th on /usr/src/gnu/lib when it panic'd. > I'm using -O2 -m486 -pipe, since someone mentioned that -pipe is > a *really* good way to brutalize the system... > > The panic: > > Fatal Trap 12: page fault while in kernel mode > fault virtual address = 0x700c > fault code = supervisor write, protection violation > instruction pointer = 0x8:0xf0106ae1 > current process = 4244 (sh) > interrupt mask = > kernel: type 12 trap, code=0 > Stopped at _closef+0x85: decw 0xc(%esi) Hmm. Looking at closef(), the most likely candidate for this would be if (--fp->f_count > 0) return (0); fp is dereferenced a few lines above, and I can't imagine how the structure would have become write-protected by accident... > And, of course, no core dump :( This one's fairly straightforward. > Marc G. Fournier scrappy@ki.net -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] Collector of old Unix hardware. "Where are your PEZ?" The Tick [[