IBM Support

IV64665: PROCSTACK HANGS IN EXIT() AFTER IT RECEIVES SIGSEGV 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

  • procstack hangs in exit() after it receives sigsegv
    signal.
    The stack info for the hang is :
    (0)> tpid -d 42598508
    SLOT NAME STATE TID PRI RQ CPUID CL WCHAN
    
    pvthread+050E00 1294!procstac RUN 50E00DB 06C 24 0
    
    (0)> f pvthread+050E00
    pvthread+050E00 STACK:
    Use current context [F00000002FF47600] of cpu 24
    [9000000000407EC]free_y+00022C (09001000A04AFF38,
    09001000A04AFF48 [??])
    [900000000029F98]free_common+0000D8 (??)
    [9000000008E4494]__vd__FPv+000014 (??)
    [9000000008B6398]09000000008B6398 ()
    [900000000054E40]exit+000140 (??)
    [100000A08]sighdl+000028 (??)
    [00004AD8].sig64+000070 ()
    [kdb_read_mem] no real storage @ FFFFFFFFFFF8F70
    

Local fix

Problem summary

  • procstack hangs in exit() with below stack :
    (0)> f pvthread+050E00
    pvthread+050E00 STACK:
    Use current context  F00000002FF47600  of cpu 24
     9000000000407EC free_y+00022C (09001000A04AFF38,
    09001000A04AFF48  ?? )
     900000000029F98 free_common+0000D8 (??)
     9000000008E4494 __vd__FPv+000014 (??)
     9000000008B6398 09000000008B6398 ()
     900000000054E40 exit+000140 (??)
     100000A08 sighdl+000028 (??)
     00004AD8 .sig64+000070 ()
     kdb_read_mem  no real storage @ FFFFFFFFFFF8F70
    

Problem conclusion

  • Call _exit() in the signal handler which is Async-Signal-Safe
    instead calling exit()
    

Temporary fix

Comments

  • 6100-08 - use AIX APAR IV70132
    6100-09 - use AIX APAR IV64929
    7100-02 - use AIX APAR IV70196
    7100-03 - use AIX APAR IV64665
    

APAR Information

  • APAR number

    IV64665

  • Reported component name

    AIX V7.1

  • Reported component ID

    5765H4000

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2014-09-08

  • Closed date

    2014-09-11

  • Last modified date

    2015-09-30

Fix information

  • Fixed component name

    AIX V7.1

  • Fixed component ID

    5765H4000

Applicable component levels

  • R710 PSY U865836

       UP15/05/19 I 1000

PTF to Fileset Mapping



Document information

More support for: AIX Enterprise Edition

Software version: 710

Operating system(s): AIX

Reference #: IV64665

Modified date: 30 September 2015