IBM Support

IJ06228: _ATFORK_PREPARE HANG WITHOUT LDAP APPLIES TO AIX 7100-05 18/09/24 PTF PECHANGE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A hang may occur in a multithreaded process that is
    forking child processes.
    
    One thread will be seen hung in _atfork_prepare:
    
    [0010B7B0]e_block_thread+000290 ()
    [001B8A40]nsleep_com+0000C0 (??)
    [001B9864]nsleep+000064 (??, ??)
    [00003938]syscall+000230 ()
    [90000000058090C]_p_nsleep+00000C (??, ??)
    [900000000039564]nsleep+0000E4 (??, ??)
    [900000000038F54]usleep+0000D4 (??)
    [90000000003F780]_libc_pre_fork+000260 ()
    [90000000058D13C]_atfork_prepare+0001BC ()
    [90000000010F63C]__fork+00003C ()
    
    Whereas another will likely be seen waiting on a rwlock:
    
    [90000000057B840]_event_sleep+000580 (??, ??, ??, ??,
     ??, ??)
    [90000000057C344]_event_wait+000344 (??, ??)
    [900000000590270]_rwlock_wait_local+000110 (??, ??,
    ??)
    [90000000059010C]_rwlock_wait+0000AC (??, ??, ??)
    [900000000590ED4]_rwlock_wrlock+0002B4 (??, ??, ??)
    [90000000006F144]method_getentry+000204 (??, ??, ??,
    ??, ??)
    [900000000085488]__method_getentry_v2+0001A8 (??, ??,
    ??, ??, ??, ??)
    [9000000000F331C]process_module+00019C (??, ??, ??, ??
    , ??)
    [9000000000F4218]getconfattrs+0006B8 (??, ??, ??)
    [9000000000F47C0]getconfattr+000260 (??, ??, ??, ??)
    [900000000088A78]getuserattrs+001998 (??, ??, ??)
    [9000000000F7658]getuserattr+000338 (??, ??, ??, ??)
    [9000000001F1ECC]loginsuccess+0000CC (??, ??, ??, ??)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:
    * Systems running the 7100-05 Technology Level with
    * any of the following filesets at or between the given levels:
    * MIN          MAX          FILESET
    * 7.1.5.0      7.1.5.17     bos.64bit
    * 7.1.5.0      7.1.5.17     bos.adt.prof
    * 7.1.5.0      7.1.5.16     bos.rte.control
    * 7.1.5.0      7.1.5.17     bos.rte.libc
    * 7.1.5.0      7.1.5.16     bos.rte.shell
    * 7.1.5.0      7.1.5.17     mcr.rte
    ****************************************************************
    * PROBLEM DESCRIPTION:
    * A hang may occur in a multithreaded process that is
    *  forking child processes.
    * One thread will be seen hung in _atfork_prepare:
    *  0010B7B0 e_block_thread+000290 ()
    *  001B8A40 nsleep_com+0000C0 (??)
    *  001B9864 nsleep+000064 (??, ??)
    *  00003938 syscall+000230 ()
    *  90000000058090C _p_nsleep+00000C (??, ??)
    *  900000000039564 nsleep+0000E4 (??, ??)
    *  900000000038F54 usleep+0000D4 (??)
    *  90000000003F780 _libc_pre_fork+000260 ()
    *  90000000058D13C _atfork_prepare+0001BC ()
    *  90000000010F63C __fork+00003C ()
    * Whereas another will likely be seen waiting on a rwlock:
    *  90000000057B840 _event_sleep+000580 (??, ??, ??, ??,
    *  ??, ??)
    *  90000000057C344 _event_wait+000344 (??, ??)
    *  900000000590270 _rwlock_wait_local+000110 (??, ??,
    * ??)
    *  90000000059010C _rwlock_wait+0000AC (??, ??, ??)
    *  900000000590ED4 _rwlock_wrlock+0002B4 (??, ??, ??)
    *  90000000006F144 method_getentry+000204 (??, ??, ??,
    * ??, ??)
    *  900000000085488 __method_getentry_v2+0001A8 (??, ??,
    * ??, ??, ??, ??)
    *  9000000000F331C process_module+00019C (??, ??, ??, ??
    * , ??)
    *  9000000000F4218 getconfattrs+0006B8 (??, ??, ??)
    *  9000000000F47C0 getconfattr+000260 (??, ??, ??, ??)
    *  900000000088A78 getuserattrs+001998 (??, ??, ??)
    *  9000000000F7658 getuserattr+000338 (??, ??, ??, ??)
    *  9000000001F1ECC loginsuccess+0000CC (??, ??, ??, ??)
    ****************************************************************
    * RECOMMENDATION:
    * Install APAR IJ06228.
    ****************************************************************
    

Problem conclusion

  • The relevant code in libs was modified to appropriately handle
    multi-threaded applications.
    

Temporary fix

Comments

  • 6100-09 - use AIX APAR IJ06511
    7100-05 - use AIX APAR IJ06228
    7200-03 - use AIX APAR IJ06902
    

APAR Information

  • APAR number

    IJ06228

  • Reported component name

    AIX V7.1

  • Reported component ID

    5765H4000

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    YesPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-05-04

  • Closed date

    2018-05-24

  • Last modified date

    2018-09-25

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

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

    IJ06511 IJ06584 IJ06718 IJ06777 IJ06902

Fix information

  • Fixed component name

    AIX V7.1

  • Fixed component ID

    5765H4000

Applicable component levels

  • R710 PSY U882520

       UP18/09/25 I 1000 Ø

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SG11R"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
20 April 2022