Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* f77 bug? SEGV at for_write_seq_lis_xmit.
@ 1995-10-05  4:00 Jonas Hvarfner
  1995-10-07  4:00 ` Steve Lionel
  1995-10-10  4:00 ` Mark Charette
  0 siblings, 2 replies; 4+ messages in thread
From: Jonas Hvarfner @ 1995-10-05  4:00 UTC (permalink / 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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1995-10-12  4:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox