IBM Support

PK35625: DFHSM0002 CODE(X'0316') ISSUED DUE TO DOUBLE FREEMAIN OF ASYNCBUF

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • CSOL and a user task are both closing the same Socket at the
    same time.  While the actual close is single threaded and always
    performed on the SO TCB, the freemain of the async buffer
    (ASYNCBUF) is done after changing back to the task's original
    TCB. This allows the two tasks to attempt freemain for the same
    buffer at the same time.
    .
    ADDITIONAL KEYWORDS: Freemain_of_pages_not_owned_by_subpool
                         0316 asyncronous
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION: MSGDFHSM0002 A severe error (code       *
    *                      X'0316') has occurred in DFHSMGF when   *
    *                      DFHSOS03 attempts to freemain           *
    *                      ASYNCBUF storage.                       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    A client closes a socket connection immediately after a web
    alias task has sent an HTTP response. The web alias task is
    in transaction termination when this happens. The sockets
    listener task ( CSOL ) processes the close from the client.
    Due to timing, both CSOL and the web alias task attempt to
    close the socket. Most of this close processing is single
    threaded on the SO TCB. However, the freemain of a socket
    ASYNCBUF buffer executes on the caller's TCB. CSOL has its own
    TCB so it can execute in parallel with the web-alias task. This
    can lead to both CSOL and the web-alias task freeing the same
    ASYNCBUF area.
    
    ADDITIONAL KEYWORDS :- SM0002 0316
    

Problem conclusion

  • DFHSOS03 routine soso_close_mainline has been changed so that
    the freemain of ASYNCBUF storage always occurs on the SO TCB.
    

Temporary fix

  • FIX AVAILABLE BY PTF ONLY
    

Comments

APAR Information

  • APAR number

    PK35625

  • Reported component name

    CICSTS 3.1 Z/OS

  • Reported component ID

    5655M1500

  • Reported release

    400

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2006-12-04

  • Closed date

    2007-01-22

  • Last modified date

    2007-02-01

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

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

    UK21471

Modules/Macros

  •    DESSOSO  DFHSOSOC DFHSOS00 DFHSOS01 DFHSOS02
    DFHSOS03 DFHSOS04 DFHSOS05 DFHSOS06 DFHSOS07 DFHSOS08 DFHSOS09
    DFHSOS10 DFHSOS11 DFHSOS12 DFHSOS13 DFHSOS14 DFHSOS15 DFHSOS16
    DFHSOS17 DFHSOS18 DFHSOS19 DFHSOS20 DFHSOS21 DFHSOS22 DFHSOS23
    

Fix information

  • Fixed component name

    CICSTS 3.1 Z/OS

  • Fixed component ID

    5655M1500

Applicable component levels

  • R400 PSY UK21471

       UP07/01/26 P F701

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.

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSGMGV","label":"CICS Transaction Server"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"3.1","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"3.1","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
01 February 2007