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: lionel@quark.enet.dec.com (Steve Lionel) Subject: Re: f77 bug? SEGV at for_write_seq_lis_xmit. Date: 1995/10/07 Message-ID: <454nnh$okp@zk2nws.zko.dec.com>#1/1 X-Deja-AN: 117148376 references: <450rfb$3vc@news.datakom.su.se> organization: Digital Equipment Corporation - Nashua, NH reply-to: lionel@quark.enet.dec.com newsgroups: comp.unix.osf.osf1 In article <450rfb$3vc@news.datakom.su.se>, jonas@msiw44.msi.se (Jonas Hvarfner) writes: >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. This sounds like a hardware problem of some kind - I can't see how it could be the compiler or libraries - if it were, it should consistently fail (or succeed). Try one thing: % limit stacksize unlimited then run the programs and see what happens. If it still fails, please call for hardware service. Steve Lionel Mail: lionel@quark.enet.dec.com DEC Fortran Development WWW: http://www.digital.com/info/slionel.html Digital Equipment Corporation CompuServe: 75263,3001 110 Spit Brook Road, ZKO2-3/N30 Nashua, NH 03062-2698 "Free advice is worth every cent" For information on DEC Fortran 90, see http://www.digital.com/info/hpc/f90/