Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!decwrl!pa.dec.com!rust.zso.dec.com!shlump.nac.dec.com!riscy.enet.dec.com!croton.nyo.dec.com!frank From: frank@croton.nyo.dec.com (Frank Wortner) Newsgroups: comp.unix.ultrix Subject: Re: Question about dbx/f77 problem (Ultrix 4.1) Message-ID: <1975@riscy.enet.dec.com> Date: 20 Mar 91 13:23:32 GMT References: <18716@milton.u.washington.edu> Sender: newsdaemon@riscy.enet.dec.com Reply-To: frank@croton.nyo.dec.com (Frank Wortner) Organization: Digital Equipment Corporation Lines: 17 In article <18716@milton.u.washington.edu>, dittrich@milton.u.washington.edu (Dave Dittrich) writes: > I have a Fortran program that is crashing on a DECstation 3100 (Ultrix > 4.1). Executing the program produces the following message: > > [2]denali> r3941. > r3941.: 16852 Memory fault - core dumped > Sometimes the easiest way to track down non-specific errors like "memory fault" in Fortran programs is to compile with array bounds checking turned on. That's the "-C" option to f77. It's amazing how many programs just stomp all over their storage. (I've seen cases where this is deliberate, but most often it's an error.) Frank