IBM Support

IT29415: SCALAR FUNCTION HASH8 MAY RETURN DIFFERENT RESULTS FOR THE SAME INPUT ON POWER(TM) LITTLE ENDIAN SYSTEMS

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Scalar function HASH8 may return different results for the same
    input on POWER(TM) little endian systems.
    
    When the input to the HASH8 function is not an integral multiple
    of 4 bytes long, repeated invocations of the function for the
    same input may produce different output hash values.
    
    This affects Db2 running on POWER(TM) little endian Linux
    systems
    only.
    
    e.g.
    
      $ db2 "select v,hash8(v) hashvalue from hash8_test"
    
      V                 HASHVALUE
      ----------------- --------------------
      2T2GK31U09C059690 -8079510515070948960
      YV440MDK2G2809791 -3052657120253964598
    
        2 record(s) selected.
    
      $ db2 "select v,hash8(v) hashvalue from hash8_test"
    
      V                 HASHVALUE
      ----------------- --------------------
      2T2GK31U09C059690 -7493176833262375329
      YV440MDK2G2809791  3488698275826922457
    
        2 record(s) selected.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to Db2 11.1 Mod 4 Fixpack 5 or higher                *
    ****************************************************************
    

Problem conclusion

  • First fixed in Db2 11.1 Mod 4 Fixpack 5
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT29415

  • 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

    2019-06-11

  • Closed date

    2020-01-16

  • Last modified date

    2020-01-16

  • 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

[{"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":"11.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
16 January 2020