IBM Support

IT33147: Running the endmqm command results in munmap_chunk(): invalid pointer 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

  • When using IBM MQ, the command endmqm shows a memory
    overwrite problem:
    .
    *** Error in `endmqm': munmap_chunk(): invalid pointer:
    0x00000000008e9380 ***
    
    ======= Backtrace: =========
    
    /usr/lib64/libc.so.6(+0x7f804)[0x7f04e3315804]
    /opt/mqm/v9101/lib64/libmqmcs_r.so(xcsFreeMemFn+0x39a)[0x7f04e4f
    ba29a]
    /opt/mqm/v9101/lib64/libmqmcs_r.so(xcsDisconnectSharedMemSet+0x3
    82)[0x7f04e4ff5f22]
    /opt/mqm/v9101/lib64/libmqmcs_r.so(xcsDisconnectSharedSubpool+0x
    894)[0x7f04e4fdfa24]
    /opt/mqm/v9101/lib64/libmqmcs_r.so(xcsTerminate+0xca4)[0x7f04e4f
    5fbf4]
    /opt/mqm/v9101/lib64/libmqmr_r.so(rppDisconnectPool+0x15f)[0x7f0
    4e456143f]
    /opt/mqm/v9101/lib64/libmqmr_r.so(rrxStopAllChannels+0x1313)[0x7
    f04e44da203]
    endmqm[0x401f23]
    /usr/lib64/libc.so.6(__libc_start_main+0xf5)[0x7f04e32b8545]
    endmqm[0x403683]
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    Users with a large number of channels are more likely to be
    affected by this problem.
    
    
    Platforms affected:
    MultiPlatform
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    This problem is caused by an internal memory overwrite during
    endmqm processing.
    

Problem conclusion

  • The code has been corrected to fix the memory overwrite.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
    Version    Maintenance Level
    v9.1 LTS   9.1.0.7
    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

    IT33147

  • 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-06-10

  • Closed date

    2020-11-10

  • Last modified date

    2020-11-10

  • 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:
11 November 2020