LI77014: SEGFAULT IN RTE WITH OPEN(..,STATUS='REPLACE')

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Opening in 'replace' mode a directory results in a crash.
    
    ====== COMPILE COMMAND:
    xlf95 -g qq.f
    
    
    ====== TESTCASE:
    
    $cat qq.f
           program m
           integer kun,IOS
    
           kun=54
           open(kun,status='REPLACE',file='ECL.CFE',IOSTAT=IOS)
    
           end program m
    $
    
    
    ====== ACTUAL OUTPUT:
    $ ./a.out
    Segmentation fault
    $
    
    
    ====== EXPECTED OUTPUT:
    Should run without a segfault.
    

Local fix

  • n/a
    

Problem summary

  • USERS AFFECTED:
    Users of OPEN who specify STATUS='replace' can be affected by
    this issue.
    
    PROBLEM DESCRIPTION:
    If the FILE= specifier in the OPEN statement specifies an
    existing directory name, and the
    STATUS= specifier has the value 'REPLACE', the program fails
    with a segmentation fault in the
    XL Fortran runtime library.
    

Problem conclusion

  • The problem has been fixed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI77014

  • Reported component name

    XL FORTRAN LINU

  • Reported component ID

    5724X1600

  • Reported release

    D10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-10-02

  • Closed date

    2012-10-02

  • Last modified date

    2012-10-02

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

    IV25610

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

Fix information

  • Fixed component name

    XL FORTRAN LINU

  • Fixed component ID

    5724X1600

Applicable component levels



Rate this page:

(0 users)Average rating

Document information


More support for:

XL Fortran for Linux

Software version:

13.1

Reference #:

LI77014

Modified date:

2012-10-02

Translate my page

Machine Translation

Content navigation