IBM Support

IV22652: AUTOFS DAEMON, AUTOMOUNTD, CORE DUMP WHEN FDOPEN() FAILED APPLIES TO AIX 7100-01

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • autofs daemon, automountd, core dump when fdopen() failed
    the stack trace
    fgets(??, ??, ??) at 0xd011bdb0
    get_line(??, ??, ??, ??) at 0x100043e4
    read_execout(??, ??, ??, ??, ??) at 0x100115c4
    getmapent_files(??, ??, ??, ??, ??, ??, ??) at 0x100129f0
    getmapent(??, ??, ??, ??, ??, ??, ??) at 0x10006390
    do_lookup1(??, ??, ??, ??, ??, ??, ??, ??) at 0x10029014
    autofs_lookup_1_r(??, ??, ??) at 0x10002334
    autofs_prog(??, ??) at 0x10002a38
    _svc_prog_dispatch(??, ??, ??) at 0xd06c63bc
    _svc_run_mt() at 0xd06c9000
    svc_run.svc_run() at 0xd06ca370
    main(??, ??) at 0x10000e44
    
    where the fp passed into get_line() is NULL
    

Local fix

Problem summary

  • autofs daemon, automountd, core dump when fdopen() failed
    the stack trace
    fgets(??, ??, ??) at 0xd011bdb0
    get_line(??, ??, ??, ??) at 0x100043e4
    read_execout(??, ??, ??, ??, ??) at 0x100115c4
    getmapent_files(??, ??, ??, ??, ??, ??, ??) at 0x100129f0
    getmapent(??, ??, ??, ??, ??, ??, ??) at 0x10006390
    do_lookup1(??, ??, ??, ??, ??, ??, ??, ??) at 0x10029014
    autofs_lookup_1_r(??, ??, ??) at 0x10002334
    autofs_prog(??, ??) at 0x10002a38
    _svc_prog_dispatch(??, ??, ??) at 0xd06c63bc
    _svc_run_mt() at 0xd06c9000
    svc_run.svc_run() at 0xd06ca370
    main(??, ??) at 0x10000e44
    
    where the fp passed into get_line() is NULL
    

Problem conclusion

  • in read_execout(), if fdopen() returns NULl return -1
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV22652

  • Reported component name

    AIX V7.1

  • Reported component ID

    5765H4000

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2012-06-08

  • Closed date

    2012-06-08

  • Last modified date

    2013-03-26

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

    IV20112

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

Fix information

  • Fixed component name

    AIX V7.1

  • Fixed component ID

    5765H4000

Applicable component levels

  • R710 PSY U848037

       UP12/07/17 I 1000

PTF to Fileset Mapping

[{"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":"710","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":"710","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11R","label":"AIX 7.1 HIPERS, APARs and Fixes"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
26 March 2013