From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 108899,f2d97d13067056a2 X-Google-Attributes: gid108899,public X-Google-Thread: 10a636,f2d97d13067056a2 X-Google-Attributes: gid10a636,public X-Google-Thread: fee84,f2d97d13067056a2 X-Google-Attributes: gidfee84,public X-Google-Thread: 10f594,f2d97d13067056a2 X-Google-Attributes: gid10f594,public From: fuhrmann@weyl.wias-berlin.de (Juergen Fuhrmann) Subject: Signals (was Re: BEWARE of DECunix f77 3.8 compiler!) Date: 1995/09/19 Message-ID: #1/1 X-Deja-AN: 110387656 distribution: world references: <436d1k$1qn0@unixfe.rl.ac.uk> content-type: text/plain; charset=iso-8859-1 organization: Technical University of Berlin, Germany mime-version: 1.0 newsgroups: comp.unix.osf.osf1,cern.alpha,cern.osf,cern.heplib >>>>> "Steve" == Steve Lionel writes: In article <436d1k$1qn0@unixfe.rl.ac.uk>, bkm@rlsaxp.bnsc.rl.ac.uk (Brian McIlwrath) writes: |>I believe that I have also found another major (but unrelated) bug in |>DEC FORTRAN 3.8! |> |>The effect which caused me to look for this bug is that processes were |>becoming impervious to SIGTERM signals and were having to be killed by |>SIGKILL - thus negating some exit code. This is a known problem which will be addressed by a corrected RTL included in a compiler kit we will make available through Digital customer support shortly. Please contact Digital support about this and any other problems you may find - they are in the best position to help you. I had the same problem, it can be tracked down in the code below: On SGI's and SUN's this works as expected, on OSF1 it seems to be broken. I it is the same error, we would be very happy to get new compiler versions. How to refer to this bug when contacting the support ? Do they no it ? Juergen Fuhrmann Begin Sample code: subroutine sigenable(isig) integer*4 isig external sighand call signal(isig,sighand,-1) return end subroutine sighand(isig) integer*4 isig call sigenable(isig) type *,'break, enter i (0 for stop)>' accept *,i if (i.eq.0) stop return end program tio call sigenable(2) do i=1,10000 type *, 'i=',i do j=1,100 x=i+j+sin(x) enddo enddo end End Sample code -- Juergen Fuhrmann fuhrmann@wias-berlin.de Weierstrass Institute for Applied Analysis and Stochastics (WIAS) Mohrenstrasse 39 D-10117 Berlin, Germany phone: (49) 030 20377 560 fax: (49) 030 2044975 * Bad News is No News *