IBM Support

IT03501: UR ISOLATION QUERY NEEDING ALIAS RESOLUTION MIGHT LEAD TO STACK CORRUPTION (SEGV) IF AN ALIAS IS CREATED AT THE SAME TIME.

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • If you run a query with UR isolation and that query deals with
    aliases (for example, uses the TABLE_NAME function) you might
    end up with stack corruption if at the same time another session
    is (re-)creating an alias used by the statement.
    
    The stack corruption will most likely prevent the trap file from
    containing a valid stack and will also prevent a debugger from
    unwinding the stack but a manual unwind would show 'memcpy()'
    issued from 'sqlrlResolveAlias()'.
    
    Key indicators would include a instruction pointer register
    indicating memcpy() and a signal address in thread stack memory.
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See description above.                                       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 V9.7 FP10 or higher.                          *
    ****************************************************************
    

Problem conclusion

  • First fixed in DB2 V9.7 FP10
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT03501

  • 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-07-31

  • Closed date

    2014-11-13

  • Last modified date

    2014-11-13

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

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

    IT06422

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 #: IT03501

Modified date: 13 November 2014