IBM Support

IC71663: DB2TRC TRAPS WHILE FORMATTING COMMUNICATIONS BUFFER OF A TRACE DUMP FILE

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Description:
    
    db2trc traps while formatting communications buffer of a trace
    
    dump file
    
    Stack extracted from core dump file using a debugger looks as
    follows:
    
    detected a multithreaded program
    program terminated by signal SEGV (no mapping at the fault
    address)
    0xffffffff7b23d56c: strlen+0x007c:      ld      [%o1], %o2
    (...../dbx) where
    current thread: t@1
    =>[1] strlen(0x0, 0x0, 0xffffffff7ffc7c50, 0x7efefeff,
    0x81010100, 0xff00), at 0xffffffff7b23d56c
      [2] _doprnt(0x0, 0xffffffff7ffc7c50, 0x0, 0x0, 0x73, 0x0), at
    0xffffffff7b291280
      [3] vsnprintf(0x1003afc5a, 0xfff36, 0xffffffff767edf91,
    0xffffffff7ffc7e18, 0x73, 0x0), at 0xffffffff7b29343c
      [4] ossSnprintf(0x1003afc5a, 0xfff36, 0xffffffff767edf91,
    0x10005f5c8, 0x0, 0x1000), at 0xffffffff7edd30a4
      [5] pdFormatSQLRR_REQUEST_TYPE(0x1003afc5a, 0x4, 0x1003afc5a,
    0xffffffff7671a057, 0xfff36, 0x10005f5c8), at 0xffffffff76656e5c
      [6] pdFormatIntArg(0x1003afc26, 0xffffffff76917d30,
    0x1004bfca0, 0x1003afc5a, 0xfff6a, 0x48), at 0xffffffff7662a728
      [7] pdInvokeFmtFnc(0x18900003, 0x4, 0x1004bfca0, 0x1003afc26,
    0xfff6a, 0xffffffff7662a1d0), at 0xffffffff7d099310
      [8] pdFormatArgData(0x4, 0x10005f5ca, 0x1003afc1e,
    0xffffffffffffffff, 0x1, 0x0), at 0xffffffff7d095240
      [9] formatRecord(0x1c18, 0x1004bfbf0, 0xffffffff7fffa4b8,
    0x1003afc1e, 0x1c00, 0x1001796a8), at 0x100010f50
      [10] doFormat(0xffffffff7fffa4b8, 0xc06, 0x10000, 0x20000,
    0x52509, 0xffffffff7fffa4ba), at 0x100011be8
      [11] main(0x0, 0xffffffff7ffff53b, 0xffffffff7ffff2b0,
    0x100180828, 0x4, 0x3), at 0x100013704
    
    Local fix:
    none
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * DB2 9.7                                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Description:                                                 *
    *                                                              *
    * db2trc traps while formatting communications buffer of a trc *
    * dump file                                                    *
    *                                                              *
    * Stack extracted from core dump file using a debugger looks   *
    * as follows:                                                  *
    *                                                              *
    * detected a multithreaded program                             *
    * program terminated by signal SEGV (no mapping at the fault   *
    * address)                                                     *
    * 0xffffffff7b23d56c: strlen+0x007c:      ld      [%o1], %o2   *
    * (...../dbx) where                                            *
    * current thread: t@1                                          *
    * =>[1] strlen(0x0, 0x0, 0xffffffff7ffc7c50, 0x7efefeff,       *
    * 0x81010100, 0xff00), at 0xffffffff7b23d56c                   *
    * [2] _doprnt(0x0, 0xffffffff7ffc7c50, 0x0, 0x0, 0x73, 0x0),   *
    * at 0xffffffff7b291280                                        *
    * [3] vsnprintf(0x1003afc5a, 0xfff36, 0xffffffff767edf91,      *
    * 0xffffffff7ffc7e18, 0x73, 0x0), at 0xffffffff7b29343c        *
    * [4] ossSnprintf(0x1003afc5a, 0xfff36, 0xffffffff767edf91,    *
    * 0x10005f5c8, 0x0, 0x1000), at 0xffffffff7edd30a4             *
    * [5] pdFormatSQLRR_REQUEST_TYPE(0x1003afc5a, 0x4,             *
    * 0x1003afc5a, 0xffffffff7671a057, 0xfff36, 0x10005f5c8), at   *
    * 0xffffffff76656e5c                                           *
    * [6] pdFormatIntArg(0x1003afc26, 0xffffffff76917d30,          *
    * 0x1004bfca0, 0x1003afc5a, 0xfff6a, 0x48), at                 *
    * 0xffffffff7662a728                                           *
    * [7] pdInvokeFmtFnc(0x18900003, 0x4, 0x1004bfca0,             *
    * 0x1003afc26, 0xfff6a, 0xffffffff7662a1d0), at                *
    * 0xffffffff7d099310                                           *
    * [8] pdFormatArgData(0x4, 0x10005f5ca, 0x1003afc1e,           *
    * 0xffffffffffffffff, 0x1, 0x0), at 0xffffffff7d095240         *
    * [9] formatRecord(0x1c18, 0x1004bfbf0, 0xffffffff7fffa4b8,    *
    * 0x1003afc1e, 0x1c00, 0x1001796a8), at 0x100010f50            *
    * [10] doFormat(0xffffffff7fffa4b8, 0xc06, 0x10000, 0x20000,   *
    * 0x52509, 0xffffffff7fffa4ba), at 0x100011be8                 *
    * [11] main(0x0, 0xffffffff7ffff53b, 0xffffffff7ffff2b0,       *
    * 0x100180828, 0x4, 0x3), at 0x100013704                       *
    *                                                              *
    * Local fix:                                                   *
    * none                                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 Version 9.7 Fix Pack 4.                       *
    ****************************************************************
    

Problem conclusion

  • First fixed in DB2 9.7 Fix Pack 4.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC71663

  • 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-10-04

  • Closed date

    2011-05-25

  • Last modified date

    2011-05-25

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

  • 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

  • R970 PSY

       UP



Document information

More support for: DB2 for Linux, UNIX and Windows

Software version: 9.7

Reference #: IC71663

Modified date: 25 May 2011