Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Apr 1996 15:16:10 +0930 (CST)
From:      Michael Smith <msmith@atrad.adelaide.edu.au>
To:        scrappy@ki.net (Marc G. Fournier)
Cc:        stable@freebsd.org
Subject:   Re: 9 makes + 1 caused panic...
Message-ID:  <199604240546.PAA16508@genesis.atrad.adelaide.edu.au>
In-Reply-To: <Pine.NEB.3.93.960424000905.6070A-100000@freebsd.ki.net> from "Marc G. Fournier" at Apr 24, 96 00:28:09 am

next in thread | previous in thread | raw e-mail | index | archive | help
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		= <there wasn't one??>
> 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  [[



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199604240546.PAA16508>