Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!tank!eecae!cps3xx!brain.mth.msu.edu!pantz From: pantz@brain.mth.msu.edu (Tzu-Hsi Pan) Newsgroups: comp.lang.fortran Subject: Bus error Message-ID: <4964@cps3xx.UUCP> Date: 12 Oct 89 18:18:43 GMT Sender: usenet@cps3xx.UUCP Organization: Michigan State University, Dept. of Mathematics Lines: 10 One of my friends ran into 'bus error' problem in his fortran program. When we used dbx to check the program, it stuck at a simple assign statement. His program has deep nested loop with subroutines inside. I was suspecting that the local variables might run out of the stack since its deep nested loop. Is it possible to run into this kind of situation? How can I check it? How can I fix it (say enlarge stack size)? I don't leave out other possibilities that his program may have other bugs. He has a SUN 4/110 running SunOS 4.0. Any suggestion will be appreciated.