IBM Support

IV51943: EBADF RETURNS WHEN OPENING /PROC/<PID>/AS FILE AFTER IV38251 APPLIES TO AIX 6100-09

A fix is available

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • get EBADF when a process is stopping by PCSEXIT
    control message of /proc API when it tries to open
    /proc/<pid>/as.
    
    /proc/13566046/as: open(): errno=9
    /proc/13566046/map: open(): errno=9
    
    Also  /proc/<PID>/psinfo returns error.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:
    * Systems running the 6100-09 Technology Level with the
    * bos.mp64 fileset below the 7.1.3.15 level.
    ****************************************************************
    * PROBLEM DESCRIPTION:
    * get EBADF when a process is stopping by PCSEXIT
    * control message of /proc API when it tries to open
    * /proc/<pid>/as.
    * /proc/13566046/as: open(): errno=9
    * /proc/13566046/map: open(): errno=9
    * Also  /proc/<PID>/psinfo returns error.
    ****************************************************************
    * RECOMMENDATION:
    * Install APAR IV51943.
    ****************************************************************
    

Problem conclusion

  • Use a new method for communicating between exec and /proc
    files.
    

Temporary fix

Comments

  • 6100-07 - use AIX APAR IV52665
    6100-08 - use AIX APAR IV53162
    6100-09 - use AIX APAR IV51943
    6100-09 - use AIX APAR IV51943
    6100-09 - use AIX APAR IV51943
    7100-01 - use AIX APAR IV57612
    7100-02 - use AIX APAR IV50414
    7100-03 - use AIX APAR IV51488
    

APAR Information

  • APAR number

    IV51943

  • Reported component name

    AIX 610 STD EDI

  • Reported component ID

    5765G6200

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    YesPE

  • HIPER

    NoHIPER

  • Submitted date

    2013-11-11

  • Closed date

    2013-11-11

  • Last modified date

    2014-08-14

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

    IV50414

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

    IV52665 IV53162

Fix information

  • Fixed component name

    AIX 610 STD EDI

  • Fixed component ID

    5765G6200

Applicable component levels

  • R610 PSY U866369

       UP14/05/21 I 1000



Document information

More support for: AIX Standard Edition

Software version: 610

Operating system(s): AIX

Reference #: IV51943

Modified date: 14 August 2014