From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,d2def1249268791e,start X-Google-Attributes: gidfee84,public From: jonas@msiw44.msi.se (Jonas Hvarfner) Subject: f77 bug? SEGV at for_write_seq_lis_xmit. Date: 1995/10/05 Message-ID: <450rfb$3vc@news.datakom.su.se>#1/1 X-Deja-AN: 117087898 organization: Dept. of Atomic Physics, University of Stockholm, Sweden content-type: text/plain; charset=iso-8859-1 mime-version: 1.0 newsgroups: comp.unix.osf.osf1 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. When we run it in the debugger (decladebug) we get Setting initial break point on routine "complex_p.f"`complex_p [#1: when in complex_p { stop } ] Thread received signal SEGV stopped at [for_write_seq_lis_xmit:726 0x3ff81a75a00] (Cannot find source file for_wseq_lis.c) (complex_p is the main program). Here is our hard- and software: Digital Unix 3.2A Rev. 17. DEC 250 4/266 workstations f77 is DEC Fortran V3.8-711-293V (got that from compiling with f77 -V) fortrtl is version 3.6 ld is version 3.11. We would very much appreciate any input on this strange behavior. I might add that we have tested the program on another computer (a HP 735) and it worked there. Best regards, Jonas Hvarfner -- Jonas Hvarfner Dept. of Atomic Physics jonas@atom.msi.se University of Stockholm, Sweden