pantz@brain.mth.msu.edu (Tzu-Hsi Pan) (10/13/89)
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.
simon@giaea.gi.oz (simon shields) (05/20/91)
ENVIRONMENT - HP-UX 7.0 ON HP9000/825
When I execute a fortran program (maps) that has been linked with my
library I get the following error message.
>Signal 10: bus error
PROCEDURE TRACEBACK:
( 0) 0x000079ac dogetint + 0x30
( 1) 0x00006f14 maps + 0x9ac
---------------------
If I run the version that has my library routines included in the source the
program runs without a hitch ?
Both versions compile and link without any hitches ?
How do I find out what my problem is with my libraries ?
Any suggestions would be warmly welcomed.