IBM Support

PH36742: IBM MQ FOR Z/OS V9:CHINIT TERMINATION HANG AFTER 0C4 ABEND

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Customer found channel initiator does not stop after 0C4.
    During a test in customer environment they expected QMGR
    ssidMSTR to ABEND with 00C510AB. They also expected CHIN
    ssidCHIN to end after termination of the MSTR, but CHIN got
    ABEND0C4 and remain active.
    The abends sequence:
    S06C6-00C510AB in ssidMSTR
    0C4-11 in ssidCHIN
    0C4-4   in ssidCHIN   SNAP DUMP PSISTOPALLTASKS follows 0C4-4 .
    
    
    MQ development team confirmed that when the QMGR lost its
    connection to the Admin CF structure, the CHINIT thread that
    detected it was abended. This drove an FRR recovery processing
    routine in the MSTR address space.
    At the same time, QMGR termination was requested, and the QMGR
    started freeing storage as part of its cleanup processing.
    One of the key thread control blocks, the EB, was freed. This
    resulted in the FRR routine percolating to an ESTAE routine in
    the CHINIT address space. The ESTAE routine subsequently
    attempted to access the freed EB, which resulted in another
    abend.
    A tertiary recovery routine then took control, but a code
    defect resulted in the pointer to the thread's dynamic storage
    being passed incorrectly. This eventually led to the unhandled
    0C4 abend in CSQAPRHX. This left the CHINIT in an inconsistent
    state and was the root cause of the hang the customer observed.
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All users of IBM MQ for z/OS Version 9       *
    *                 Release 0 Modification 0, Release 1          *
    *                 Modification 0 and Release 2                 *
    *                 Modification 0.                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: Following a secondary abend during      *
    *                      recovery processing for an allied task, *
    *                      an error in secondary recovery          *
    *                      processing can result in an unhandled   *
    *                      0C4 abend in CSQAPRHX. When the         *
    *                      abending task is from the Channel       *
    *                      Initiator address space, this can       *
    *                      result in the Channel Initiator         *
    *                      hanging during shutdown processing,     *
    *                      accompanied by FFSTs in                 *
    *                      psiStopAllTasks.                        *
    ****************************************************************
    After detecting a problem, QMGR
    termination was initiated and the
    thread abended. Recovery processing
    percolated to CSQAPRHX's recovery
    routine which used the incorrect level
    of indirection for the data area
    address resulting in an 0C4 abend.
    

Problem conclusion

  • The code has been changed to resolve the indirection on
    recovery and the resulting 0C4 abend.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH36742

  • Reported component name

    IBM MQ Z/OS V9

  • Reported component ID

    5655MQ900

  • Reported release

    000

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-04-27

  • Closed date

    2021-09-14

  • Last modified date

    2021-11-01

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

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

    UI77122 UI77123 UI77124

Modules/Macros

  • CSQ0CACB CSQ0COPN CSQ0DEAD CSQ0DPCS CSQ0DSVC CSQ0ERST CSQ0IPRH
    CSQ0LEPL CSQ3AAES CSQ3AM00 CSQ3AMFR CSQ3AUCM CSQ3AUCN CSQ3AUFR
    CSQ3AUGI CSQ3CT30 CSQ3CT80 CSQ3EXT0 CSQ3GCAB CSQ3ID80 CSQ3IDES
    CSQ3LCHX CSQ3PR00 CSQ3RIA0 CSQ3RIM0 CSQ3RIND CSQ3RRSR CSQ3RRSX
    CSQ3RRXF CSQ3SSES CSQ3SSFR CSQ9SCN9 CSQAPRHX CSQARIB  CSQGEXIT
    CSQGFFRR CSQGFRCV CSQGGEPL CSQIRECP CSQJB004 CSQJC001 CSQJC003
    CSQJC006 CSQJC008 CSQJC09A CSQJCR01 CSQJOFF6 CSQJOFF9 CSQJPOPN
    CSQJR007 CSQJR06A CSQJRE01 CSQJRE08 CSQJRE26 CSQJW008 CSQJW206
    CSQJWE01 CSQMALCH CSQMCALH CSQMCCHT CSQMCDLC CSQMCFEF CSQMCFRQ
    CSQMCFTK CSQMCFWU CSQMCIDT CSQMCLMT CSQMCMHB CSQMCPRH CSQMCRES
    CSQMCTXE CSQMCTXS CSQMFMH1 CSQMXARH CSQMXCLN CSQMZLOO CSQRCAFR
    CSQRCRFR CSQRCRQS CSQRCRSC CSQRCSHT CSQRCURS CSQRIURS CSQRPBCS
    CSQRPBCW CSQRPECS CSQRPLCS CSQRRRQS CSQRRURS CSQRUA01 CSQRUB01
    CSQRUC01 CSQRUE01 CSQSCON  CSQSCON2 CSQSDMPS CSQSFACL CSQSFBK
    CSQSFPL  CSQSGMN  CSQSHDWN CSQSPOWN CSQSPURS CSQSRSUP CSQSTERM
    CSQSVPL  CSQUZAP  CSQV002M CSQVCFRR CSQVCONN CSQVCRTH CSQVCST0
    CSQVDISC CSQVDST0 CSQVEOT1 CSQVEUS1 CSQVEUS2 CSQVEUS3 CSQVEUS4
    CSQVFACE CSQVFEB  CSQVGACE CSQVIALC CSQVLEPL CSQVLFRR CSQVLTT0
    CSQVSDC0 CSQVSLK  CSQVSLT0 CSQVSRRX CSQVSRX  CSQVSUL0 CSQVTFRR
    CSQVTRTH CSQVUTIL CSQVXLT0 CSQVXUL0 CSQWAAPI CSQWACC6 CSQWACCV
    CSQWDSD0 CSQWDSDM CSQWDST2 CSQWVFRR CSQWVOPX CSQWVSMT CSQWVSR2
    CSQWVZSA CSQWVZSS CSQWVZXT CSQWWFST CSQXDTRM CSQXFSTR CSQXGRIM
    CSQXJST  CSQXSUPR CSQXTCNC CSQXTCTL CSQYALLI CSQYASCP CSQYEAT2
    CSQYEATE CSQYEPL0 CSQYESCF CSQYESWE CSQYLGBL CSQYLGUN CSQYMESP
    CSQYMESS CSQYSIRM CSQYSTRT
    

Fix information

  • Fixed component name

    IBM MQ Z/OS V9

  • Fixed component ID

    5655MQ900

Applicable component levels

  • R000 PSY UI77124

       UP21/09/29 P F110

  • R100 PSY UI77140

       UP21/10/04 P F110

  • R200 PSY UI77122

       UP21/10/01 P F110

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSYHRD","label":"IBM MQ"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.0"}]

Document Information

Modified date:
02 November 2021