IBM Support

IV61488: DEADLOCK IN MULTITHREADED PROCESSES BETWEEN LIBS MUTEXES APPLIES TO AIX 7100-03

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A multi-threaded process of an authentication load
    module,
    such as pdosd, might hang due to a deadlock between two
    threads holding locks on mutex in security routines.
    
    Most of threads are blocked in global_lock_common, having
    stack similar to:
    
    _global_lock_common(??, ??, ??) at 0xd04f1620
    _rec_mutex_lock(??) at 0xd012b084
    _unload_secmethod(??) at 0xd01ed264
    getuserattrs(??, ??, ??) at 0xd020a514
    _getpwnam_shadow_r(??, ??, ??, ??, ??) at 0xd01ff080
    _posix_getpwnam_shadow_r(??, ??, ??, ??, ??, ??) at
    0xd01fc63c
    uid.getpwnam_r() at 0xd38e16fc
    

Local fix

  • N/A
    

Problem summary

  • unnecessary dce locks have been taken in libc code which cause
    deadlock situation.
    

Problem conclusion

  • Before taking dce locks, add a check to see if the module is
    dce module
    

Temporary fix

Comments

  • 6100-08 - use AIX APAR IV64452
    6100-09 - use AIX APAR IV61441
    6100-09 - use AIX APAR IV61441
    7100-02 - use AIX APAR IV64246
    7100-03 - use AIX APAR IV61488
    7100-04 - use AIX APAR IV61598
    

APAR Information

  • APAR number

    IV61488

  • Reported component name

    AIX V7.1

  • Reported component ID

    5765H4000

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2014-06-12

  • Closed date

    2014-06-12

  • Last modified date

    2016-05-11

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

    IV60586

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

Fix information

  • Fixed component name

    AIX V7.1

  • Fixed component ID

    5765H4000

Applicable component levels

  • R710 PSY U868052

       UP14/10/29 I 1000

[{"Business Unit":{"code":"BU009","label":"Systems - Cognitive"},"Product":{"code":"SSMV87","label":"AIX Enterprise Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":""},{"Business Unit":{"code":"BU011","label":"Systems - zSystems software"},"Product":{"code":"SSMVAX","label":"AIX Express Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":""},{"Business Unit":{"code":"BU011","label":"Systems - zSystems software"},"Product":{"code":"SG11R","label":"APARs - AIX 7.1 environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":""}]

Document Information

Modified date:
11 May 2016