From owner-freebsd-hackers Tue Mar 25 18:21:21 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id SAA05455 for hackers-outgoing; Tue, 25 Mar 1997 18:21:21 -0800 (PST) Received: from boulder.syr.servtech.com (boulder.syr.servtech.com [206.106.144.94]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id SAA05445 for ; Tue, 25 Mar 1997 18:21:12 -0800 (PST) Received: from boulder.syr.servtech.com (boulder.syr.servtech.com [206.106.144.94]) by boulder.syr.servtech.com (8.8.4/8.8.4) with SMTP id VAA02274 for ; Tue, 25 Mar 1997 21:25:45 -0500 (EST) Message-ID: <33388927.41C67EA6@servtech.com> Date: Tue, 25 Mar 1997 21:25:43 -0500 From: Shawn Carey X-Mailer: Mozilla 3.0 (X11; I; FreeBSD 2.2-BETA_A i386) MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Subject: Anyone else seen this? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hello, A program my company develops and delivers on FreeBSD started behaving oddly at times when I upgraded from 2.1.5 to 2.2-ALPHA. The oddity was that gdb would occasionally reload the executable (and sometimes shared libs, too) when nothing had been rebuilt. I initially thought it was a quirk with gdb, and things seemed to work fine otherwise, so I left it alone. 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. Linking statically is a fix that is good enough for me, but I would be interested in helping to find out what's going on if anyone thinks this is worth more investigation. I have already emailed John Polstra, who says he has seen similar occurences, and John Dyson, who seems to have a full plate at the moment. Thanks, -Shawn Carey