Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Mar 1997 23:27:57 -0500 (EST)
From:      "John S. Dyson" <toor@dyson.iquest.net>
To:        msmith@atrad.adelaide.edu.au (Michael Smith)
Cc:        smc@servtech.com, freebsd-hackers@FreeBSD.ORG
Subject:   Re: Anyone else seen this?
Message-ID:  <199703270427.XAA04344@dyson.iquest.net>
In-Reply-To: <199703260321.NAA24228@genesis.atrad.adelaide.edu.au> from Michael Smith at "Mar 26, 97 01:51:06 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



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