IBM Support

IV68525: BINARY HANGS WHEN READING INPUT FILE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When compiling the following testcase using the compile command
    listed below, the resulting binary hangs after reading the
    first line of input from a file.
    
    ===== COMPILE COMMAND:
    xlf -o testread-xlf testread.f
    
    ===== TESTCASE:
    $ cat testread.f
          program test_read
          double precision chval
          character*8 chpar
          integer i
    
          open(9,file='input.dat')
    
          i=0
    
    10   i=i+1
          read(9,*,err=100,end=200) chpar,chval
          write(6,*) 'line:',i,' success: ',chpar,chval
    
          goto 10
    
      100 write(6,*) 'line:',i,' (read error, skipping)'
          goto 10
    
      200 write(6,*) 'EOF detected'
    
    
          end
    
    $
    
    
    ===== ACTUAL OUTPUT:
    Runtime hang of binary after reading first line of input from
    input.dat
    bgqts6fen4:bkanneth% ./testread-xlf 2>&1 | tee LOG.xlf
    line: 1  success: foo      99.0000000000000000
    //Hang
    
    
    ===== EXPECTED OUTPUT:
    Resulting binary should not hang.
    

Local fix

  • N/A
    

Problem summary

  • USERS AFFECTED:
    In case the user application performs a list-directed input and
    the input contains '!' in a place where a repeat count is
    expected, users may see this error.
    
    PROBLEM DESCRIPTION:
    The input operation may hang while performing a list-directed
    input and the input contains '!' in a place where a repeat
    count is expected.
    User applications may hang at runtime while performing input
    operation due to this problem.
    

Problem conclusion

  • The above mentioned issue has been fixed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV68525

  • Reported component name

    XL FORTRAN FOR

  • Reported component ID

    5725C7400

  • Reported release

    E10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-01-14

  • Closed date

    2015-02-26

  • Last modified date

    2015-02-26

  • APAR is sysrouted FROM one or more of the following:

    LI78293

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    XL FORTRAN FOR

  • Fixed component ID

    5725C7400

Applicable component levels

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSAT4T","label":"XL Fortran for Linux"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"14.1","Edition":"","Line of Business":{"code":"LOB73","label":"Power TPS"}}]

Document Information

Modified date:
19 August 2024