IBM Support

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 / Xsystem

  • 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

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSAT4T","label":"XL Fortran for Linux"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"D10","Line of Business":{"code":"LOB57","label":"Power"}}]

Document Information

Modified date:
14 October 2021