A fix is available
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
5300-09 - use AIX APAR IZ80480 5300-10 - use AIX APAR IZ80481 5300-11 - use AIX APAR IZ73507 5300-12 - use AIX APAR IZ80482 6100-02 - use AIX APAR IZ80484 6100-03 - use AIX APAR IZ75841 6100-04 - use AIX APAR IZ81358 6100-05 - use AIX APAR IZ80485 6100-06 - use AIX APAR IZ80488 6100-06 - use AIX APAR IZ80486 6100-06 - use AIX APAR IZ80488 7100-00 - use AIX APAR IZ80489
APAR Information
APAR number
IZ73507
Reported component name
AIX 5.3
Reported component ID
5765G0300
Reported release
530
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Submitted date
2010-03-26
Closed date
2010-04-28
Last modified date
2013-03-27
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
IZ75841 IZ80480 IZ80481 IZ80482 IZ80484 IZ80485 IZ80486 IZ80488
IZ80489 IZ81358 U839407
Fix information
Fixed component name
AIX 5.3
Fixed component ID
5765G0300
Applicable component levels
R530 PSY U839407
UP10/09/20 I 1000
[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11P","label":"APARs - AIX 5.3 environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"530","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
27 March 2013