IBM Support

IC86071: DB2 CAN TRAP IN SQLOGETMEMPOOLSTATSUNLATCHED OR SQLRA_SQLW_RAW_D UMP, WHEN STACKS OR DUMPS BEING COLLECTED ON THE ACTIVE AGENTS.

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • In very rare timing hole, DB2 can trap when stack trace are
    dumped.
    Few ways to dump stacks, which may result in this type of crash.
    
    db2pd -stack all
    db2pd -dump all
    kill -23 on db2sysc process on Linux
    
    
    You can check the db2diag.log for this type of messages:
    
    2012-07-26-09.21.17.769725-240 I60976190E527 LEVEL: Severe
    PID : 26093 TID : 46921704008000PROC : db2sysc 1
    INSTANCE: xxx NODE : 001
    EDUID : 60342 EDUNAME: db2agntdp (xxx ) 1
    FUNCTION: DB2 UDB, access plan manager, sqlra_sqlW_raw_dump,
    probe:175
    MESSAGE : MASTER TIME INFO
    DATA #1 : Hexdump, 32 bytes
    0x00002AAB000C13F8 : B4E2 0B50 0000 0000 A303 0000 8236 0E00
    ...P.........6..
    0x00002AAB000C1408 : 8336 0E00 B4E2 0B50 0000 0000 0000 0000
    .6.....P........
    
    This could be one of the stack dumped with signal #11 during the
    crash.
    
    0        ossDumpStackTraceEx
    1        OSSTrapFile::dumpEx
    2        sqlo_trce
    3        sqloEDUCodeTrapHandler
    4        GLIBC_PRIVATE
    5        sqloGetMemPoolStatsUnlatched
    6        ICCC_GetLibraryError
    7        sqlra_sqlWC_get_common
    8        sqlra_sqlW_raw_dump
    9        sqlrr_signal_handler
    10       sqloExecuteEDUExitList
    11       sqloDumpDiagInfoHandler
    12       GLIBC_PRIVATE
    13       semtimedop
    
    You can notice from the stack sqlra_sqlW_raw_dump, which is seen
    during the stack dump.
    

Local fix

  • Avoid running stack dumps when possible.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users collecting stacks or dumps on db2 process.             *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Please avoid running stack dumps.                            *
    ****************************************************************
    

Problem conclusion

  • APAR will be first fixed in Fixpack 9.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC86071

  • 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

    2012-08-22

  • Closed date

    2013-12-16

  • Last modified date

    2013-12-16

  • 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 #: IC86071

Modified date: 16 December 2013