IBM Support

IT43696: Hang when MQ on AIX tries to write out the call stack after a heap-corruption SIGSEGV

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

  • The hang that followed the SIGSEGV was due to MQ calling AIX
    service function mt__trce() to write out the call stack.
    
    This service function calls pthread_suspend_others_np, which
    itself calls malloc, and this is an unsafe call within an
    exception handler, because the heap might be corrupt.
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    This only affects users running MQ on AIX in the extremely rare
    scenario where there has been corruption in the C runtime heap,
    resulting in a SIGSEGV exception that is handled by MQ's
    exception handler.
    
    
    Platforms affected:
    AIX
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    The AIX service function mt__trce() must not be used from an
    exception handler.
    

Problem conclusion

  • The MQ code has been corrected on AIX, to avoid calling the
    service function mt__trce() from an exception handler.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
    Version    Maintenance Level
    v9.2 LTS   9.2.0.30
    v9.3 LTS   9.3.0.25
    v9.4 LTS   9.4.0.5
    v9.x CD    9.4.1
    
    The latest available maintenance can be obtained from
    'IBM MQ Recommended Fixes'
    https://www.ibm.com/support/pages/recommended-fixes-ibm-mq
    
    If the maintenance level is not yet available information on
    its planned availability can be found in 'IBM MQ
    Planned Maintenance Release Dates'
    https://ibm.biz/mqplannedmaintenance
    
    ---------------------------------------------------------------
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT43696

  • Reported component name

    MQ BASE V9.2

  • Reported component ID

    5724H7281

  • Reported release

    920

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2023-05-04

  • Closed date

    2024-06-04

  • Last modified date

    2024-06-04

  • 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

    MQ BASE V9.2

  • Fixed component ID

    5724H7281

Applicable component levels

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSYHRD","label":"IBM MQ"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"920","Line of Business":{"code":"LOB67","label":"IT Automation \u0026 App Modernization"}}]

Document Information

Modified date:
04 June 2024