IBM Support

IT36928: IF ROW BEING SORTED IS VERY WIDE MEMORY OVERWRITES OR WRONG RESULTS ARE POSSIBLE.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • IF SORT IS DONE IN ROWSTORE LOGIC, NOT UNDER CTQ (COLUMNAR
    LOGIC) AND ROW GOING THROUGH SORT IS VERY WIDE:
    length of all fixed length columns + (number of variable length
    columns)*4 or 5 (depending on null-ability) is wider than 65535,
    then it is possible that during sort we will overwrite memory
    and
    cause traps or SQL0901 errors or wrong results.
    
    Examples of stacks for a trap:
    
    6   __intel_ssse3_rep_memcpy
    7   sqlsUnformatRow
    8   sqlsfetc
    9   sqlriFetch
    10 sqlrita
    11 sqlriSectInvoke
    12 sqlrr_process_fetch_request
    
    
    9         sqle_panic
    10       sqldValidateData
    11       sqldValFromFixed
    12       sqldExtractZvalFromRec
    13       sqldEvalDataPred
    14       sqlsEvalPred
    15       sqlsfetc
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to db2_v111m4fp7 or later                            *
    ****************************************************************
    

Problem conclusion

  • Upgrade to db2_v111m4fp7 or later
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT36928

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    YesHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-05-17

  • Closed date

    2022-04-17

  • Last modified date

    2022-04-20

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

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

    IT36937

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • RB10 PSY

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"DB2 for Linux- UNIX and Windows"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.1","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
04 May 2022