IBM Support

IC80459: DB2 can crash during automatic statistics processing under rare circumstances

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Under rare circumstances, with AUTO_RUNSTATS enabled, you might
    experience a crash with a stack that includes sqlrr_atm and
    sqlrlc_foreach, for example:
    
    stack trace:
    0        ossDumpStackTraceEx
    1        OSSTrapFile::dumpEx
    2        sqlo_trce
    3        sqloEDUCodeTrapHandler
    4        __pthread_mutex_cond_lock
    5        entryCallback
    6        sqlrlc_foreach
    7        atmGetHardeningList
    8        atmAPI
    9        sqlrr_atm
    10       atmAPIEntry
    11       sqlerKnownProcedure
    
    You can also observe the following entry in the db2diag.log:
    
    2011-09-14-15.20.19.819600+540 I1244631E561        LEVEL: Severe
    
    PID     : 2646                 TID  : 47155783919936  PROC :
    db2sysc 0
    INSTANCE: db2inst1       NODE : 000                   DB   :
    SAMPLE
    APPHDL  : 0-3604           APPID: *LOCAL.db2inst1.110914062023
    AUTHID  : DB2INST1      EDUID   : 93                   EDUNAME:
    db2agent (SAMPLE) 0
    
    FUNCTION: DB2 UDB, RAS/PD component,
    pdResilienceIsSafeToSustain, probe:800
    DATA #1 : String, 37 bytes
    Trap Sustainability Criteria Checking
    DATA #2 : Hex integer, 8 bytes
    0x0000000400001040
    DATA #3 : Boolean, 1 bytes
    false
    
    The purpose of this apar is to prevent this crash to happen.
    
    Note: Since this APAR was created, root cause has been
    determined as APAR IC81500.
    

Local fix

  • Disable automatic statistics by setting AUTO_RUNSTATS to OFF.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Please upgrade to V9.7 FP6                                   *
    ****************************************************************
    

Problem conclusion

  • First fixed in V9.7 FP6
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC80459

  • 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

    2011-12-16

  • Closed date

    2012-06-19

  • Last modified date

    2012-06-19

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

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSEPGG","label":"DB2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.7","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
19 June 2012