IBM Support

IV56211: TMPFILE() RARE RACE CONDITION, MIGHT FAIL WITH ERROR EEXIST 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

  • tmpfile() might fail, after setting errno to EEXIST,
    in very rare conditions, most likely several applications
    using tmpfile() to create temporary files in the same
    directory.
    

Local fix

Problem summary

  • tmpfile() might fail, after setting errno to EEXIST,
    in very rare conditions, most likely several applications
    using tmpfile() to create temporary files in the same
    directory.
    

Problem conclusion

  • Code changes have been made such that when tmpfile,
    finds a file with the same name is created in between,
    the generation of temporary name and creating the file,
    it will try to create another file with a different name,
    instead of failing immediately.
    

Temporary fix

Comments

  • 6100-07 - use AIX APAR IV58309
    6100-08 - use AIX APAR IV57893
    6100-09 - use AIX APAR IV56211
    6100-09 - use AIX APAR IV56211
    6100-09 - use AIX APAR IV56211
    7100-01 - use AIX APAR IV56002
    7100-02 - use AIX APAR IV57052
    7100-03 - use AIX APAR IV56260
    7100-04 - use AIX APAR IV56275
    

APAR Information

  • APAR number

    IV56211

  • Reported component name

    AIX 610 STD EDI

  • Reported component ID

    5765G6200

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2014-03-04

  • Closed date

    2014-03-04

  • Last modified date

    2016-05-10

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

    IV56002

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

Fix information

  • Fixed component name

    AIX 610 STD EDI

  • Fixed component ID

    5765G6200

Applicable component levels

  • R610 PSY U866355

       UP14/05/21 I 1000



Document information

More support for: AIX Standard Edition

Software version: 610

Operating system(s): AIX

Reference #: IV56211

Modified date: 10 May 2016