*BSD News Article 91725


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.mel.aone.net.au!news-out.internetmci.com!newsfeed.internetmci.com!news-peer.gsl.net!news.gsl.net!howland.erols.net!cam-news-hub1.bbnplanet.com!news.bbnplanet.com!news.maxwell.syr.edu!newsfeeder.toronto.ican.net!newsfeeder.servtech.com!post.servtech.com!cyber2.servtech.com!not-for-mail
From: smc@cyber2.servtech.com (shawn carey)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Working programs DIE on 2.2 RELEASE.  Please help!
Date: 21 Mar 1997 22:52:50 GMT
Organization: ServiceTech, Inc.
Lines: 32
Message-ID: <5gv3g2$kbs$1@post.servtech.com>
NNTP-Posting-Host: cyber2.servtech.com
X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:37564

Hello,

We have been running a program of ours on FreeBSD, all the way back
to FreeBSD release 1.1.  We are now having a problem with this
program when we try to run under gdb on 2.2-RELEASE, where gdb
reports "Process killed due to text file modification".

Now, if I look at the date of the executable with ls -l, it is
indeed changing.  What could we be doing to make this happen?

It is also worth noting that when we ran under 2.2-ALPHA, we would
occasionally see gdb reload our executable (and sometimes even
shared libraries) between runs of the program when nothing had
been rebuilt.  The dates on the shared libs would change also, and
we don't even run as root!?!  How could we do that?

Whatever we're doing wrong, 2.2-RELEASE is tighter than previous
releases, since this is the first time gdb has actually stopped
the program from running when this anomaly occurs.  Attempts to
make sense of this have been met with rigid opposition.  Gdb stops
in a different place almost every time and the program appears to
run fine when started from the shell directly, although the executable's
date sometimes changes when we do this.

Losing the ability to debug this program has given me the ambition
to find out what's wrong.  Does anyone know what has changed between
2.2-BETA and 2.2-RELEASE that might give me a clue?  Any and all
replies are greatly appreciated.

Thanks,
-Shawn Carey