IBM Support

PM56698: ABEND U4039 WHEN RUNNING SNMPQE

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • SNMPQE abends with a U4093 when attempting to send a message to
    NetView over IUCV.  Review of a dump will show that the U4093
    was actually an 0C4 rc4.
    
    Verification Steps:
    
    An LE traceback of the abend will show the following sequence of
    function calls:
    
      sock_request_iucv
      common_send
      write
      send_response
      ret_resp
      getSNMPresponse
      await_queries
      main
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All users of the IBM Communications Server   *
    *                 for z/OS Version 1 Release 13 IP:            *
    *                 IUCV Sockets                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: Abend U4039 in a C sockets application  *
    *                      using CMIUCSOC for the sockets API.     *
    *                      Load module will have EZAAD028 included *
    *                      during linkedit or bind time.           *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Abend U4039 in a C sockets application using CMIUCSOC for the
    sockets API.  Load module will have EZAAD028 included during
    linkedit or bind time.
    
    An abend U4039 may occur on a send() or write() operation that
    uses CMIUCSOC for the sockets API.  These API calls pass through
    the common_send function where a request list is built and
    passed to socket_request_iucv or socket_request_inet based on
    the family of the socket.  The request list built by common_send
    includes an array of buffers and lengths.  The array entries are
    not being filled in correctly which causes the subsequent
    request routine to copy data from incorrect buffer addresses or
    use incorrect lengths.
    The copy operation with an incorrect length can cause a storage
    overlay in the application private area.  The target buffer may
    reside in the heap and thus heap corruption can also occur.
    
    This problem was reported against SNMPQE which uses an IUCV
    socket to communicate with the SNMPTASK in NetView.  Other
    load modules that are supplied by Communications Server that
    include CMIUCSOC are:
      CSAMPLE
      DIG
      LB@ADMIN
      LLBD
      NCPROUTE
      NDBCLNT
      NDBPS
      NDBSS
      NIDL
      NRGLBD
      NSLOOKUP
      PERFCLNT
      PERFSERV
      PORTCLNT
      PORTMAP
      RFCINIT
      RPCINFO
      SQESERF
      SQESERV
      UUID@GEN
    
      DPI functions  MKDPIREG MKDPIRES MKDPITRA MKDPISET CDPIPACK
                     FDPIPARS MKMIBQRY MKDPILIS MKDPITRE PDPIPKT
    +-------------------------------------------------------------+
    + Please check our Communications Server for OS/390 homepages +
    + for common networking tips and fixes.  The URL for these    +
    + homepages can be found in Informational APAR II11334.       +
    +-------------------------------------------------------------+
    

Problem conclusion

  • CMIUCSOC has been amended to correctly build the request list
    array.
    
    ****************************************************************
    * FUNCTION AFFECTED: Communications Server TCP/IP (PM56698)    *
    *                     C Sockets API                            *
    ****************************************************************
    * DESCRIPTION      : Recompile/relink application              *
    ****************************************************************
    * TIMING           : Post-APPLY                                *
    ****************************************************************
    All C Sockets API programs that have been linked with a SYSLIB
    DD statement pointing to the V1R13 version of SEZACMTX must be
    relinked.
    
    Communications Server supplied load modules will be relinked
    automatically during the apply process and need no further
    action.
    
    * Cross Reference between External and Internal Names
    EZAAD028 (CMIUCSOC)
    

Temporary fix

  • *********
    * HIPER *
    *********
    

Comments

APAR Information

  • APAR number

    PM56698

  • Reported component name

    TCP/IP V3 MVS

  • Reported component ID

    5655HAL00

  • Reported release

    1D0

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    YesHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-01-25

  • Closed date

    2012-02-21

  • Last modified date

    2012-04-03

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

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

    UK76415

Modules/Macros

  • EZAAD028
    

Fix information

  • Fixed component name

    TCP/IP V3 MVS

  • Fixed component ID

    5655HAL00

Applicable component levels

  • R1D0 PSY UK76415

       UP12/03/31 P F203

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":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1D0","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSCY4DZ","label":"DO NOT USE"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1D0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
03 April 2012