Attempt to write after following code
1000 read ( lunitqa, 2000, end=3000 ) env
results in following error:
lib-4095 : UNRECOVERABLE library error
Unable to find error message (check NLSPATH, file lib.cat)
Encountered during a sequential formatted WRITE to unit 13
Fortran unit 13 is connected to a sequential formatted text file:
Current format: 7000 FORMAT( 1x, a,a,a, i10 )
Signal 6 :: SIGABRT
After that the code sits idle, no CPU cycles, but Ctrl-C does not work. Ctrl-Z and kill -9 %1 required to stop.
The above sequence works fine on all platforms: Unix/Linux/Windows/Mac using g77/gfortran and commercial compilers. Even if it is really incorrect usage, the error handling from runtime is unacceptable.