IBM Support

IT00467: DB2 MAY TRAP WHEN CHECKING FOR PROCEDURE DATA CONFLICTS WHEN DBMS_SQL ROUTINES ARE USED

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • When a procedure is invoked from a trigger, a dynamic compound
    statement, an SQL function or SQL method checking is required
    to ensure the integrity of the database and raise SQL0746N
    errors if need be.
    
     (See "Data conflicts when procedures read from or write to
    tables" in the product documentation for more information
    on this topic.)
    
    When the procedures make use of DBMS_SQL routines, references
    to internal constructs related to this checking are cached
    and are not correctly purged when the constructs are freed,
    leaving stale references.
    
    Problems only occur when further executions of the DBMS_SQL
    routines take place within the same connection as they
    attempt to use the stale references.
    
    Stacks associated with the problem will normally start with
    memory management functions - likely falsely reporting memory
    corruption - but will always include a function starting with
    "sqlriRWCon".
    
    An example stack:
    
        sqloCrashOnCriticalMemoryValidationFailure
        sqloCrashOnCriticalMemoryValidationFailure@glue707
        sqlofmblkEx
        sqlra_sqlC_mem_free_block__FP8sqlrr_cbUlPv
        sqlriRWConCheck__FP8sqlrr_cbUiP14sqlriTableInfo
        sqlriRWConCheck__FP8sqlrr_cbUiP14sqlriTableInfo@glue1032
        sqlriSectInitializeSimple__FP8sqlrr_cbP9sqlri_shdb
        ...
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 Version 9.7 Fix Pack 10                       *
    ****************************************************************
    

Problem conclusion

  • First fixed in DB2 Version 9.7 Fix Pack 10
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT00467

  • 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

    2014-03-21

  • Closed date

    2014-11-11

  • Last modified date

    2014-11-11

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

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

    IT04247

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 PSN

       UP



Document information

More support for: DB2 for Linux, UNIX and Windows

Software version: 9.7

Reference #: IT00467

Modified date: 11 November 2014