IBM Support

PI66564: INFINITE LOOP WHILE EXIT() HANDLING

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A DB2/CICS setup which makes use of the atexit()
    routine shows a loop and stays active in the 'ps' output.
    
    The issue is that the signal handler tries to write a message,
    and that SEGVs; as we have already deleted the RTE data areas.
    So the signal handler gets control again, and we wind up in an
    infinite loop.
    
    As a result, even after the application issues a SEGV, it still
    appears in the ps output.
    

Local fix

  • N/A
    

Problem summary

  • USERS AFFECTED:
    COBOL users with DB2, Oracle SQL or DB2 file system usage maybe
    affected by this issue.
    
    PROBLEM DESCRIPTION:
    COBOL used to panic and simply abort when it caught a signal.
    This meant files were not closed, and other things did not get
    cleaned up.  We fixed that
    in an earlier PTF, but now see failures during atexit() handling
    due to the compiler not having removed the signal handlers.
    
    The erroneous user application build causes the C RTE atexit()
    handling to either SIGILL or SIGSEGV, depending upon a variety
    of conditions. That caused entry to the signal handler (that
    should have been removed), but there is no longer a COBOL RTE,
    so we fault again; and the cycle repeats itself.
    

Problem conclusion

  • The signal hanlders are now properly removed during termination.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI66564

  • Reported component name

    COBOL FOR AIX

  • Reported component ID

    5724Z8700

  • Reported release

    411

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-07-28

  • Closed date

    2016-08-29

  • Last modified date

    2016-08-29

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

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

    PI70823

Fix information

  • Fixed component name

    COBOL FOR AIX

  • Fixed component ID

    5724Z8700

Applicable component levels

  • R411 PSY

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SS6SGM","label":"COBOL for AIX"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"411","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
16 October 2021