IBM Support

IV30075: SYSTEM CRASH IN SEMSLEEP() WHEN CREATING/DELETING SEMAPHORES APPLIES TO AIX 7100-01

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 7100-01 Technology Level with
    * bos.mp64 below the 7.1.1.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 IV30075.
    * Prior to fix availability, an interim fix is available from
    * ftp://public.dhe.ibm.com/aix/ifixes/iv30075/
    ****************************************************************
    

Problem conclusion

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

Temporary fix

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

Comments

APAR Information

  • APAR number

    IV30075

  • Reported component name

    AIX V7.1

  • Reported component ID

    5765H4000

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    YesHIPER

  • Submitted date

    2012-10-12

  • Closed date

    2012-12-07

  • Last modified date

    2013-11-25

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

    IV27680

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

    IV33155 U859405

Fix information

  • Fixed component name

    AIX V7.1

  • Fixed component ID

    5765H4000

Applicable component levels

  • R710 PSY U859405

       UP13/04/30 I 1000

[{"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":"710","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":"710","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11R","label":"AIX 7.1 HIPERS, APARs and Fixes"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
25 November 2013