IBM Support

IC76656: DB2 INSTANCE MAY TRAP WHILE DOING TWO PHASE COMMIT WHILE INSERTING ROWS AND APPLICATION IN INDOUBT STATE.

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as fixed if next.

Error description

  • DB2 Instance may trap while performing two phase commit while
    inserting rows and may put application in INDOUBT state.
    
    If we review the stack traces for this case,We will see DB2
    agent has trapped with a sig 11  while writing a log-record in
    sqlpgWaitForLrecOnDisk
    
    and the relevant stack make look like following
    
    Stack trace
    
    sqlpgWaitForLrecOnDisk__FP9SQLP_DBCBUl
    sqlpWriteToLog.fdpr.clone.289
    sqlpWriteLR
    sqlpxprp
    sqlrr_xprepare
    sqljsSyncPrepare
    sqljs_ddm_syncctl
    sqljsParseRdbAccessed
    sqljsParse.fdpr.clone
    qeAgentb
    @sqljsSqlam
    @sqljsDriveRequests
    @64@sqljsDrdaAsInnerDriver
    sqljsDrdaAsDriver
    RunEDU
    EDUDriver
    sqloEDUEntry
    </StackTrace>
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * DB2 users in AIX                                             *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * DB2 Instance may trap while performing two phase commit      *
    * while                                                        *
    * inserting rows and may put application in INDOUBT state.     *
    *                                                              *
    * If we review the stack traces for this case,We will see DB2  *
    * agent has trapped with a sig 11  while writing a log-record  *
    * in                                                           *
    * sqlpgWaitForLrecOnDisk                                       *
    *                                                              *
    * and the relevant stack make look like following              *
    *                                                              *
    * Stack trace                                                  *
    *                                                              *
    * sqlpgWaitForLrecOnDisk__FP9SQLP_DBCBUl                       *
    * sqlpWriteToLog.fdpr.clone.289                                *
    * sqlpWriteLR                                                  *
    * sqlpxprp                                                     *
    * sqlrr_xprepare                                               *
    * sqljsSyncPrepare                                             *
    * sqljs_ddm_syncctl                                            *
    * sqljsParseRdbAccessed                                        *
    * sqljsParse.fdpr.clone                                        *
    * qeAgentb                                                     *
    * @sqljsSqlam                                                  *
    * @sqljsDriveRequests                                          *
    * @64@sqljsDrdaAsInnerDriver                                   *
    * sqljsDrdaAsDriver                                            *
    * RunEDU                                                       *
    * EDUDriver                                                    *
    * sqloEDUEntry                                                 *
    * </StackTrace>                                                *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * first fixed in fixpack v9.7 fixpack 5.                       *
    ****************************************************************
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IC76656

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    970

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-05-26

  • Closed date

    2011-12-20

  • Last modified date

    2011-12-20

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

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

Modules/Macros

  • ENGN_SQM
    

Fix information

Applicable component levels

  • R970 PSY

       UP



Document information

More support for: DB2 for Linux, UNIX and Windows

Software version: 9.7

Reference #: IC76656

Modified date: 20 December 2011