From owner-freebsd-hackers Wed Mar 26 20:28:20 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA03079 for hackers-outgoing; Wed, 26 Mar 1997 20:28:20 -0800 (PST) Received: from dyson.iquest.net (dyson.iquest.net [198.70.144.127]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id UAA03073 for ; Wed, 26 Mar 1997 20:28:14 -0800 (PST) Received: (from root@localhost) by dyson.iquest.net (8.8.4/8.6.9) id XAA04344; Wed, 26 Mar 1997 23:27:57 -0500 (EST) From: "John S. Dyson" Message-Id: <199703270427.XAA04344@dyson.iquest.net> Subject: Re: Anyone else seen this? In-Reply-To: <199703260321.NAA24228@genesis.atrad.adelaide.edu.au> from Michael Smith at "Mar 26, 97 01:51:06 pm" To: msmith@atrad.adelaide.edu.au (Michael Smith) Date: Wed, 26 Mar 1997 23:27:57 -0500 (EST) Cc: smc@servtech.com, freebsd-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Shawn Carey stands accused of saying: > > > > Now that we are running 2.2-RELEASE, this anomaly appears to be > > something more serious than I originally thought, as gdb now stops the > > program with the message "Process killed due to text file modification", > > and sure enough, the file's date is changing but a diff between an idle > > copy and the "modified" executable is nil. Furthermore, I have recently > > discovered that if I link the program with -static, the problem goes > > away. > > This looks very much like a problem that has been reported many times > before, where one or more pages from a process' text are written back > to the file. The pages aren't actually changed, but the file's timestamp > is obviously updated. > I have not seen the problem on the 2.2 series recently. However, I seldom use GDB... Is this a problem that pops up when using GDB (setting breakpoints, etc.)? If it is, then that will give me a direction to look in. I'll also look into reproducing the problem this weekend. John