From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,d2def1249268791e X-Google-Attributes: gidfee84,public From: lucia@savvy.zko.dec.com (Tim Lucia) Subject: Re: f77 bug? SEGV at for_write_seq_lis_xmit. Date: 1995/10/12 Message-ID: <45j4pv$kf@nntpd.lkg.dec.com>#1/1 X-Deja-AN: 117440183 distribution: world references: <450rfb$3vc@news.datakom.su.se> <45dn82$jul@pms507.pms.ford.com> organization: Digital Equipment Corporation reply-to: lucia@zko.dec.com newsgroups: comp.unix.osf.osf1 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.