IBM Support

IV27680: SYSTEM CRASH IN SEMSLEEP() WHEN CREATING/DELETING SEMAPHORES APPLIES TO AIX 6100-07

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • System crash with following stack:
    
    (0)> f
    pvthread+0A4200 STACK:
    [000BF964]remove_e_list+000024 (F100010105974C00,
    F1000101025BB8D8 [??])
    [000D7BCC]e_block_thread+00050C ()
    [00609920]rtipc_tsleep_block+0001A0 (??, ??, ??)
    [0060C44C]rtsem_tsleep_thread+00024C (??, ??, ??, ??, ??,
    ??)
    [0060D09C]semsleep+0000DC (??, ??, ??, ??, ??, ??)
    [0060D670]atomic+000450 (??, ??, ??, ??, ??, ??, ??)
    [0060E350]rsemop+0002D0 (33E0005233E00052,
    070000038BFE88E0,
       0000000000000001, 0000000000000000, 0000000000000000,
    0000000000000000)
    [00610014]__semop+000074 (33E0005233E00052,
    070000038BFE88E0,
       0000000000000001)
    [00003850]ovlya_addr_sc_flih_main+000130 ()
    [kdb_get_virtual_memory] no real storage @
    70000038BFE87A0
    [900000000255B1C]0900000000255B1C ()
    [kdb_read_mem] no real storage @ FFFFFFFFFFF9500
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:
    * Systems running the 6100-07 Technology Level with
    * bos.mp64 below the 6.1.7.18 level.
    ****************************************************************
    * PROBLEM DESCRIPTION:
    * System can crash when certain workloads create and delete
    * semaphores at a very high rate.
    * One known cause of this when db2stop or stopsap is run on a
    * system where DB2 and SAP are running on the same host.
    *
    * Semaphore structures can be incorrectly overwritten while
    * threads using those structures are sleeping, and when they
    * wake up, they can make an invalid reference and crash the
    * system with a stack trace similar to this:
    *
    *      000BF964 remove_e_list+000024
    *      000D7BCC e_block_thread+00050C
    *      00609920 rtipc_tsleep_block+0001A0
    *      0060C44C rtsem_tsleep_thread+00024C
    *      0060D09C semsleep+0000DC
    *      0060D670 atomic+000450
    *      0060E350 rsemop+0002D0
    *      00610014 __semop+000074
    ****************************************************************
    * RECOMMENDATION:
    * Install APAR IV27680.
    * Prior to fix availability, an interim fix is available from
    * ftp://public.dhe.ibm.com/aix/ifixes/iv27680/
    ****************************************************************
    

Problem conclusion

  • Extend the possible range of semaphore sequence numbers to
    avoid potential of overwriting the wrong structure.
    

Temporary fix

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

Comments

  • 6100-07 - use AIX APAR IV27680
    6100-08 - use AIX APAR IV32845
    6100-08 - use AIX APAR IV32845
    7100-02 - use AIX APAR IV33155
    

APAR Information

  • APAR number

    IV27680

  • Reported component name

    AIX 610 STD EDI

  • Reported component ID

    5765G6200

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    YesHIPER

  • Submitted date

    2012-09-07

  • Closed date

    2012-12-07

  • Last modified date

    2013-11-25

Fix information

  • Fixed component name

    AIX 610 STD EDI

  • Fixed component ID

    5765G6200

Applicable component levels

  • R610 PSY U858623

       UP13/03/28 I 1000

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSLLZP","label":"AIX Standard Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSMV87","label":"AIX 6.1 Enterprise Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMVAX","label":"AIX Express Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSAUMY","label":"IBM AIX Enterprise Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11Q","label":"AIX 6.1 HIPERS, APARs and Fixes"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11R","label":"APARs - AIX 7.1 environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
25 November 2013