IBM Support

IC78315: CRASH DURING LIKE PROCESSING WITH LONG PREDICATES AND MEMORY DEBUG OPTIONS TURNED ON

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • In V97 fixpack 4 only, if a query contains a "like" predicate
    where the column is a "long" type
    such as long varchar, then there is a small timing window that
    might cause a memory corruption
    when a section is being freed during the sql workspace memory
    management logic.
    
    Since this timing window is small, the actual symptom of the
    corruption has never
    been seen to date, but the exposure has been identified and
    fixed with this APAR.
    
    Because this is a memory corruption, there may be a few
    different possible symptoms, and
    an instance crash is possible. However, the problem itself was
    only discovered when certain
    memory debug options were enabled, which changed the timing and
    memory conditions that
    enabled the discovery of the problem.
    
    In that case, a crash was detected with the following stack:
    
    sqlri_like_free
    sqlricls_complex
    sqlricls
    sqlriecc
    sqlriCloseExecuteSectionComplex
    sqlriCloseExecuteSection
    sqlrr_process_execute_request
    sqlrr_execute
    sqljs_ddm_excsqlstt
    sqljsParseRdbAccessed
    sqljsParse
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * 97FP4 users using LIKE processing with LONG predicates and   *
    * memory debug options turned on.                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Crash during LIKE processing with LONG predicates and memory *
    * debug options turned on.                                     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to V97FP5 containing the fix.                        *
    ****************************************************************
    

Problem conclusion

  • Fixed in 97FP5.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC78315

  • 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-08-24

  • Closed date

    2012-01-19

  • Last modified date

    2012-01-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



Document information

More support for: DB2 for Linux, UNIX and Windows

Software version: 9.7

Reference #: IC78315

Modified date: 19 January 2012