PJ41066: OPR-7704 CLTX OBJ-CINET4 .

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

APAR status

  • Closed as program error.

Error description

  • See Problem Summary.
    

Local fix

  • na
    

Problem summary

  • APAR NUMBER:  PJ41066
    PRODUCT:  z/TPF
    FUNCTIONAL AREA:  TCP/IP NATIVE STACK
    SHIPPED IN PUT:  10
    
    ABSTRACT:
    With APAR PJ39769 applied, 1052 state sockets may encounter
    state errors on a select() API, the Syslog Daemon may encounter
    a CTL-10 system error during system cycle down, or input list
    shutdown could occur from ECBs created from the NOWAIT model of
    the Internet Daemon.
    
    PACKAGE CONTENTS:
    Source Segments:
    (C) base/include/syslog.h
    (C) base/rt/cinet4.c
    (C) base/rt/csylgd.c
    (C) base/rt/cts9.asm
    
    Object Only Binaries:
    None.
    
    Configuration Independent Binaries:
    (C) base/load/CLTX.so
    (C) base/load/CSYL.so
    (C) base/load/CTS9.so
    (C) base/obj/cinet4.o
    (C) base/obj/csylgd.o
    (C) base/obj/cts9.o
    
    Support Files:
    base/lst/cinet4.lst
    base/lst/csylgd.lst
    base/lst/cts9.lst
    base/lst/CLTX.map
    base/lst/CSYL.map
    base/lst/CTS9.map
    
    OTHER BINARIES TO BUILD: NO
    None.
    
    COMMENTS:
    APAR PJ39769 changed select() API processing to allow for it to
    conform to the architectural standards. This APAR changed the
    location within the processing where we check the state of
    sockets. In making this change, APAR PJ39769 introduced a
    problem where we are calling the IPSDC macro service routine to
    check the socket's state with the contents of register 4
    pointing at the socket block header rather than an individual
    socket block entry. This causes unpredictable results from the
    IPSDC state check routine and can cause 1052 state sockets to
    fail with a state error while the system is in 1052 state.
    A CTL-10 system error may occur from the Syslog Daemon during
    cycle down. This is caused by the return code from select
    changing with APAR PJ39769 for sockets that have been cleaned
    up. Segment csylgd.c needs to be updated to properly handle the
    error now returned from recvfrom() and exit during cycle down.
    Input list shutdown could occur when a UDP socket is cleaned up
    that is being monitored by the NOWAIT model of the Internet
    Daemon. This is caused by the Internet Daemon code improperly
    handling the select return code and spawning off application
    ECBs in a tight loop.
    

Problem conclusion

  • SOLUTION:
    APAR PJ41066 corrected this problem by moving the state checks
    to a location where register 4 is set up with the socket block
    entry. Segment csylgd.c was also updated to properly handle the
    SOCNOTSOCK error returned on the recvfrom() API to avoid the
    CTL-10 system error. Segment cinet4.c has been updated to
    properly detect a socket that no longer exists that was being
    monitored by the NOWAIT model of INETD.
    
    COREQS: NO
    None.
    
    MIGRATION CONSIDERATIONS: YES
    Functional, automation, and operation changes:
    New Message SYSD0009E
    
    BUILD COMMANDS AND INSTRUCTIONS: YES
    #maketpf commands for linux
    maketpf -f CTS9 cts9.o
    maketpf -f CSYL csylgd.o
    maketpf -f CLTX cinet4.o
    maketpf CTS9 link
    maketpf CSYL link
    maketpf CLTX link
    
    UPDATED INFORMATION UNITS: YES
    z/TPF Messages (Online, SQLCODEs, and errno Values)
    
    See your IBM representative if you need additional information.
    
    DOWNLOAD INSTRUCTIONS:
    http://www.ibm.com/software/htp/tpf/maint/maintztpf.html
    
    APAR URL:
    http://www.ibm.com/software/htp/tpf/ztpfmaint/put10/PJ41066.htm
    

Temporary fix

Comments

APAR Information

  • APAR number

    PJ41066

  • Reported component name

    Z/TPF

  • Reported component ID

    5748T1501

  • Reported release

    110

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-03-08

  • Closed date

    2013-06-21

  • Last modified date

    2013-06-21

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

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

Publications Referenced
SK2T8062        

Fix information

  • Fixed component name

    Z/TPF

  • Fixed component ID

    5748T1501

Applicable component levels

  • R110 PSY

       UP



Rate this page:

(0 users)Average rating

Document information


More support for:

TPF
z/TPF

Software version:

110

Reference #:

PJ41066

Modified date:

2013-06-21

Translate my page

Machine Translation

Content navigation