IBM Support

IT35979: DB2 SERVER MAY TERMINATE ABNORMALLY WHEN USING SUBSTR

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Issuing a query with substr may cause the Db2 server to
    terminate abnormally. The stack looks similar to this example
    from Linux:
    
    
    
    0x00007F536F25757D _Z18psmBindoutCompleteP14db2UCinterface +
    0x001d
    
    0x00007F536F24E00E
    _Z28sqlribnoCbToZValueExecutePsmP14db2UCinterface + 0x1b4e
    
    0x00007F536EF044DB address: 0x00007F536EF044DB ; dladdress:
    0x00007F5366F75000 ; offset in lib: 0x0000000007F8F4DB ;
    
    0x00007F536EF04019 _Z8sqlribnoP8sqlrr_cb + 0x0079
    
    0x00007F536F087E1D _Z15sqlriSectInvokeP8sqlrr_cbP12sqlri_opparm
    + 0x04bd
    
    0x00007F536EA960EE _Z29sqlrr_process_execute_requestP8sqlrr_cbib
    + 0x0f5e
    
    0x00007F536EA6B9D3 _Z13sqlrr_executeP14db2UCinterfaceP9UCstpInfo
    + 0x02a3
    
    0x00007F5368C4555F _ZN10pvmPackage14executeSectionEP5sqlcajb +
    0x08bf
    
    0x00007F5368C44C01 _ZN3PVM12executeQueryEjb + 0x0101
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Server may hit a trap when the issue happens.                *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to 11.1.4.7 version                                  *
    ****************************************************************
    

Problem conclusion

  • The issue fixed in 11.1.4.7
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT35979

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-02-21

  • Closed date

    2022-04-16

  • Last modified date

    2022-04-16

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

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

    IT39524

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • RB10 PSN

       UP

  • RB50 PSN

       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