IBM Support

LI77799: POINTER SELF ASSIGNMENT CAUSES CORRUPT BOUNDS.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Fortran descriptor gets corrupted during self-pointer
    assignment causing undefined behaviour such as segfault,
    incorrect result, or trap when -qcheck is enabled.
    

Local fix

  • Create an intermediate pointer array and pointer assign to the
    original RHS, then use this temporary pointer to pointer assign
    to the original LHS.
    

Problem summary

  • Fortran descriptor gets corrupted during self-pointer
    assignment causing undefined behaviour such as segfault,
    incorrect result, or trap when -qcheck is enabled.
    

Problem conclusion

  • Cache array bounds information during pointer assignment to
    avoid corruption by self-pointer assignment.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI77799

  • Reported component name

    XL FORTRAN LINU

  • Reported component ID

    5725C7500

  • Reported release

    E10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-01-07

  • Closed date

    2014-02-26

  • Last modified date

    2014-02-26

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

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

    LI77875 IV56825

Fix information

  • Fixed component name

    XL FORTRAN LINU

  • Fixed component ID

    5725C7500

Applicable component levels

  • RE10 PSY

       UP

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

Document Information

Modified date:
14 October 2021