Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: lucia@savvy.zko.dec.com (Tim Lucia)
Subject: Re: f77 bug? SEGV at for_write_seq_lis_xmit.
Date: 1995/10/12	[thread overview]
Message-ID: <45j4pv$kf@nntpd.lkg.dec.com> (raw)
In-Reply-To: 45dn82$jul@pms507.pms.ford.com


In article <45dn82$jul@pms507.pms.ford.com>, charette@ultoe.det.dec.com (Mark Charette) writes:
|>Jonas Hvarfner (jonas@msiw44.msi.se) wrote:
|>: We have a FORTRAN-77 program that sometimes crashes with a SEGV but
|>: sometimes don't. Further, it crashes before (or while?) executing its
|>: first user defined instruction (a write(*,*)).
|>
|>: This is what happens: we compile it, run it and get the SEGV. We wait
|>: a while, compile again a few times and suddenly it works. But NO
|>: changes what so ever are made to the source between compilations.
|>: Compiling with different optimization levels doesn't help. 
|>
|>I have experienced this behaviour on more than one machine and have traced
|>it to:
|>1) Compiling under NFS (objects going to an NFS mounted disk) and
|>2) Running programs which expected automatic variables to be 0s.
|>
|>It doesn't look like #2 applies here since it's the first statement executed.
|>Does #1 apply ??
|>

I have seen this happen also with the C compiler.  Try copying the binary
and running the copy.  It is a known problem.  I forget whether it is in
ld or NFS, but the right people are aware of the problem.

Tim

-- 
Timothy J. Lucia                         Email:    mailto:lucia@zko.dec.com
Digital Equipment Corporation            Phone:           603.881.2615
110 Spitbrook Road ZKO2-3/K06            Fax:             603.881.0120
Nashua, NH  USA  03062-2698              I'd rather be cycling.



      reply	other threads:[~1995-10-12  4:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-10-05  4:00 f77 bug? SEGV at for_write_seq_lis_xmit Jonas Hvarfner
1995-10-07  4:00 ` Steve Lionel
1995-10-10  4:00 ` Mark Charette
1995-10-12  4:00   ` Tim Lucia [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox