IBM Support

IV56825: 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

    IV56825

  • Reported component name

    XL FORTRAN FOR

  • Reported component ID

    5725C7400

  • Reported release

    E10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-03-18

  • Closed date

    2014-03-18

  • Last modified date

    2014-03-19

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

    LI77799

  • 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

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

Document Information

Modified date:
03 October 2021