IBM Support

IZ94049: UNEXPECTED EINVAL RETURNED DURING SEM_UNDO OPERATION APPLIES TO AIX 6100-03

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • During semop() operation with SEM_UNDO flag,
    the unexpected EINVAL is returned when the semaphore
    number
    is more than 32768. The maximum number of undo structure
    should be 1024, but the application will exit with EINVAL
    when the number of undo structure is more than 512.
    

Local fix

  • N/A
    

Problem summary

  • semop subroutine returns EINVAL for SEM_UNDO operation
    if semaphore number is greater than 32767.
    

Problem conclusion

  • Modify the semaoe declaration/definition to take ushort
    as third argument.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ94049

  • Reported component name

    AIX 610 STD EDI

  • Reported component ID

    5765G6200

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2011-01-31

  • Closed date

    2011-01-31

  • Last modified date

    2013-03-24

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

    IZ87334

  • 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 U840511

       UP11/03/22 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":"610","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":"610","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSAUMY","label":"IBM AIX Enterprise Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11Q","label":"AIX 6.1 HIPERS, APARs and Fixes"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
24 March 2013