From owner-freebsd-current Wed Oct 9 20:56:14 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA07327 for current-outgoing; Wed, 9 Oct 1996 20:56:14 -0700 (PDT) Received: from dyson.iquest.net (dyson.iquest.net [198.70.144.127]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id UAA07322; Wed, 9 Oct 1996 20:56:09 -0700 (PDT) Received: (from root@localhost) by dyson.iquest.net (8.7.5/8.6.9) id WAA11855; Wed, 9 Oct 1996 22:54:13 -0500 (EST) From: "John S. Dyson" Message-Id: <199610100354.WAA11855@dyson.iquest.net> Subject: Re: 'dead' binary stays 'dead'? To: msmith@atrad.adelaide.edu.au (Michael Smith) Date: Wed, 9 Oct 1996 22:54:13 -0500 (EST) Cc: dyson@FreeBSD.org, msmith@atrad.adelaide.edu.au, current@FreeBSD.org In-Reply-To: <199610100257.MAA16615@genesis.atrad.adelaide.edu.au> from "Michael Smith" at Oct 10, 96 12:27:05 pm Reply-To: dyson@FreeBSD.org X-Mailer: ELM [version 2.4 PL24 ME8] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > John S. Dyson stands accused of saying: > > > > You are describing a problem that I know *can* happen, but I don't know > > why. In essence, once you have a copy of a programs .text, .data in > > memory, it will continue to be cached until the memory is reclaimed. > > If any part of that image gets modified, then it will stay modified. > > ... but if these pages are the text and data, they're read-only, correct? > ie. the only modification possible is via hardware error? > Or software bug :-). (Memory stomp could cause it, or an incorrect mapping update in the VM code.) > > The relevant part of the 'going away' incident looked like this : > > $ ls > > $ cp -r /usr/src/bin/ls . > $ cd ls > $ CFLAGS=-g; make > $ gdb ls ../ls.core > > $ ./ls > > $ ls > > > So I guess it's possible that the memory was reclaimed while I was rebuilding > a new 'ls'. > Probably. > > > Are you using NFS? Are you using the most recent -current (snap)?... > > You know the typical questions :-). > > Sorry 8) NFS client only (but not on any of the filesystems being used), > supped at about the same time as the latest SNAP. > We all need to keep an eye on the problem... This is the first time that I have heard of it -- but doesn't mean that it isn't there :-)... John