IBM Support

IZ80484: DEADLOCK BETWEEN DUP2 AND POLLSET_CTL THREAD. APPLIES TO AIX 6100-02

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Two threads of a multi threaded application my deadlock
    with one thread in dup2() and the other in pollset_ctl().
    The stack traces of the two threads will be
    [002F7408]slock+0006A4 (0000000000009034,
      80000000000090B2 [??])
    [00009558].simple_lock+000058 ()
    [0046EE58]pcache_list_lock+000028 ()
    [0046FAB0]pollcache_close+00003C (??)
    [003CD144]closefd+000144 (??, ??)
    [003CD40C]closex+000288 (??, ??)
    [004F7868]kfcntl+000C20 (??, ??, ??)
    [00003810].svc_instr+000110 ()
    and
    [00054140]e_block_thread+0004E0 ()
    [00054830]e_sleep_thread+00005C (??, ??, ??)
    [00413478]_getf_threaded+000108 (??, ??, ??)
    [0046F634]pcache_poll_pccb+000058 (??, ??, ??)
    [0046F4B4]pcache_activate_pccb+000044 (??, ??, ??)
    [0046FE48]pollcache_add+000104 (??, ??, ??)
    [00471624]pollset_ctl+0001F4 (??, ??, ??)
    [00003810].svc_instr+000110 ()
    

Local fix

Problem summary

  • Applicaiton or system hang with folowing stack trace
    00054140 e_block_thread+0004E0 ()
    e_sleep_thread+00005C (??, ??, ??)
    _getf_threaded+000108 (??, ??, ??)
    pcache_poll_pccb+000058 (??, ??, ??)
    pcache_activate_pccb+000044 (??, ??, ??)
    pollcache_add+000104 (??, ??, ??)
    pollset_ctl+0001F4 (??, ??, ??)
    .svc_instr+000110 ()
    And other thread possibly doing closefd()
    

Problem conclusion

  • Make pollset_ctl threads to check on fd status before doing
    any pollset_ctl operations
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ80484

  • Reported component name

    AIX 610 STD EDI

  • Reported component ID

    5765G6200

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2010-07-19

  • Closed date

    2010-07-19

  • Last modified date

    2013-03-27

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

    IZ73507

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

    U839853

Fix information

  • Fixed component name

    AIX 610 STD EDI

  • Fixed component ID

    5765G6200

Applicable component levels

  • R610 PSY U839853

       UP10/10/19 I 1000

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure 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":"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":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure 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":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure 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":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
17 December 2021