IBM Support

IT34336: MQGET fails with 2004 MQRC_BUFFER_ERROR

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

  • MQ application fails with MQRC_BUFFER_ERROR and MQ trace
    indicates
    a memory exception(e.g. SIGSEGV) in zstMQGET_CheckParms followed
    by MQRC_BUFFER_ERROR.
    
    Excerpt from MQ trace:
    
     13:38:43.633550    26767.1  --{ zstMQGET_CheckParms
     13:38:43.633572    26767.1       Signal caught during MQI call,
      signal=11 : SIGSEGV: address not mapped(0x137bc)
     13:38:43.633580    26767.1  --}! zstMQGET_CheckParms
    rc=MQRC_BUFFER_ERROR
    

Local fix

  • Specify the buffer size in multiples of 128K(131072 bytes).
    

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    Users using 32 bit C or C++ applications.
    
    
    Platforms affected:
    MultiPlatform
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    MQGET API has validation to check the addressability of the
    buffer address specified by the application
    in the MQGET call based on the buffer length. However a defect
    in the validation code caused MQ
    to access an address beyond 4 GB(maximum for 32 bit process and
    the address exceeding 4 GB would be
    less than 4GB in a 32-bit process) resulting in a memory
    exception and the MQGET failing with MQRC_BUFFER_ERROR.
    

Problem conclusion

  • MQ code has been modified to correct the defect in the buffer
    address validation.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
    Version    Maintenance Level
    v9.1 LTS   9.1.0.8
    v9.2 LTS   9.2.0.2
    v9.x CD    9.2.2
    
    The latest available maintenance can be obtained from
    'WebSphere MQ Recommended Fixes'
    http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg27006037
    
    If the maintenance level is not yet available information on
    its planned availability can be found in 'WebSphere MQ
    Planned Maintenance Release Dates'
    http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg27006309
    ---------------------------------------------------------------
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT34336

  • Reported component name

    IBM MQ BASE MP

  • Reported component ID

    5724H7271

  • Reported release

    910

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-09-23

  • Closed date

    2021-01-22

  • Last modified date

    2021-01-22

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

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

Fix information

  • Fixed component name

    IBM MQ BASE MP

  • Fixed component ID

    5724H7271

Applicable component levels

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSYHRD","label":"IBM MQ"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"910"}]

Document Information

Modified date:
23 January 2021