IBM Support

LI75886: INCORRECT RESULT/SEGMENTATION FAULT FROM APP

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A large Fortran test case produces incorrect result compiled
    with xlf compiler.
    
    It sometimes produces segmentation fault on different machines.
    

Local fix

  • In the test case,
    
    Use: asum%b = asum%b + a2%b
    instead of: asum%b(1:n_b) = asum%b(1:n_b) + a2%b(1:n_b)
    

Problem summary

  • PROBLEM DESCRIPTION:
    The problem happens when the following conditions hold:
    1. There is an elemental function call and the result is of a
    derived type which contains an allocatable component.
    2. The shape of the result can not be determined at compile
    time.
    
    USERS AFFECTED:
    Users who use an elemental function returning a result
    containing allocatable components will be hit.
    

Problem conclusion

  • The problem is solved. The compiler now creates a descriptor
    for the elemental function result and allocates space before
    taking the function result.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI75886

  • Reported component name

    XL FORTRAN RHEL

  • Reported component ID

    5724U8410

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-01-27

  • Closed date

    2011-01-27

  • Last modified date

    2011-01-27

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

    IZ74613

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

Fix information

  • Fixed component name

    XL FORTRAN RHEL

  • Fixed component ID

    5724U8410

Applicable component levels

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSB259","label":"XL Fortran Advanced Edition for Linux"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"C.1","Line of Business":{"code":"LOB57","label":"Power"}}]

Document Information

Modified date:
24 February 2022