IBM Support

IC68282: INCORRECT MAPPING OF RC=2 I.E. ENOENT (FILE DOESN'T EXIST), TO ZRC=2 (WHICH MEANS DEADLOCK), INSIDE LOAD()

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • While trying to load a library using load(), if it  fails
    because the file doesn't exist, we try to print out errno 2,
    which is ENONET. (file doesn't exist.)  However, instead of
    calling pdLogSysRC() to print out errno, we call pdLog, which
    treats errno as zrc.  errno 2 means ENONENT.  zrc 2 means
    deadlock.  So, in db2diag.log, we have a deadlock message...
    
    2009-08-05-08.42.06.816763+060 I1406224C400       LEVEL: Severe
    PID     : 1090040              TID  : 1           PROC :
    db2fmp32 (3086)
    INSTANCE: db2uat               NODE : 000
    EDUID   : 1                    EDUNAME: db2fmp32 (3086)
    FUNCTION: DB2 UDB, oper system services, sqloLoadModuleEP,
    probe:40
    MESSAGE : ZRC=0x00000002=2
              DIA8002C A deadlock has occurred, rolling back
    transaction.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * V97Fp2                                                       *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * While trying to load a library using load(), if it  fails    *
    *                                                              *
    * because the file doesn't exist, we try to print out errno 2, *
    *                                                              *
    * which is ENONET. (file doesn't exist.)  However, instead of  *
    *                                                              *
    * calling pdLogSysRC() to print out errno, we call pdLog,      *
    * which                                                        *
    * treats errno as zrc.  errno 2 means ENONENT.  zrc 2 means    *
    *                                                              *
    * deadlock.  So, in db2diag.log, we have a deadlock message... *
    *                                                              *
    *                                                              *
    *                                                              *
    * 2009-08-05-08.42.06.816763+060 I1406224C400      LEVEL:      *
    * Severe                                                       *
    * PID    : 1090040              TID  : 1          PROC :       *
    *                                                              *
    * db2fmp32 (3086)                                              *
    *                                                              *
    * INSTANCE: db2uat              NODE : 000                     *
    *                                                              *
    * EDUID  : 1                    EDUNAME: db2fmp32 (3086)       *
    *                                                              *
    * FUNCTION: DB2 UDB, oper system services, sqloLoadModuleEP,   *
    *                                                              *
    * probe:40                                                     *
    *                                                              *
    * MESSAGE : ZRC=0x00000002=2                                   *
    *                                                              *
    *           DIA8002C A deadlock has occurred, rolling back     *
    *                                                              *
    * transaction.                                                 *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to V97Fp3                                            *
    ****************************************************************
    

Problem conclusion

  • fixed in v97fp3
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC68282

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-04-29

  • Closed date

    2010-09-24

  • Last modified date

    2010-09-24

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

    IZ60552

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

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 PSN

       UP



Document information

More support for: DB2 for Linux, UNIX and Windows

Software version: 9.7

Reference #: IC68282

Modified date: 24 September 2010