[comp.lang.fortran] f77 on SUN4 feature or bug ?

mab@ukc.ac.uk (M.A.Broom) (02/04/91)

We have just got Suns unbundled fortran compiler running on a 
Sun4 with operating system SUNOS4.1.

 However it has a very interesting feature or has it ?

 Whilst running my executable piece of fortran code I decided to
stop the program by typing control C and to my surprise I was left
with a traceback file that i don't really want. Is there anyway of
stopping this file being created or not ? Or have we been given the
wrong version of the compiler ? I have looked at the list of the 
compiler options but cannot see one that will stop this.

 Any help or advice would be greatful.

 
 This is the source code:
 ------------------------

      PROGRAM TEST

      INTEGER I
      READ(*,*) I

      END

I then do the following

f77 test.f
a.out
control C

 I then get the following message on the screen :
 ----------------------------------------------


**Interupt = signal 2 code 0
Traceback has been recorded in file
/usr/cur/mab/./a.out.trace
Note: Line numbers for system and library calls may be incorrect 

 In the file i have the following text:
 -------------------------------------


Note: Line numbers for system and library calls may be incorrect 
Begin traceback...
Called from [func: (null)], at 0xf76a2e20, args=0x2 0xffffffff 0xf7743c12 0xf7742e6c
Called from [func: (null)], at 0xf76a6894, args=0x0 0x40125401 0xf7fffb76 0xf76e6af0
Called from [func: (null)], at 0xf76a3f68, args=0x0 0x22728 0x1 0xf7740d8a
Called from [func: (null)], at 0xf76a8fd0, args=0x22298 0x108 0x0 0x1dab3
Called from [func: (null)], at 0xf77263b4, args=0x22298 0x2660c 0x0 0xf7804c28
Called from [func: (null)], at 0xf77265a4, args=0xf7804bd8 0x0 0xf7744948 0xf7804c28
Called from [func: _MAIN_], at 0x22e4, args=0x201a0 0x1 0x22538 0x4
Called from [func: (null)], at 0xf7720db4, args=0x0 0xf76f143c 0xf7802ad8 0x0
Called from [func: start], at 0x2064, args=0x0 0x10 0xf7fffe7c 0x20000
End traceback...


  Thanks in advance 

 Martin Broom        mab@ukc.uk.acc
 Computing Lab
 University of Kent
 Canterbury
 Kent
 England