Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: jonas@msiw44.msi.se (Jonas Hvarfner)
Subject: f77 bug? SEGV at for_write_seq_lis_xmit.
Date: 1995/10/05	[thread overview]
Message-ID: <450rfb$3vc@news.datakom.su.se> (raw)

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



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

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