IBM Support

IT33977: DB2 SERVER TERMINATES ABNORMALLY WHEN GETTING PLAN IN EXPLAIN MODE.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When generating an explain plan for a query, DB2 can trap and
    shut down abnormally due to zzjoin index recommendation.
    
    This is the stack trace from the trap file that gets generated:
    
    0x00007FFFF1476EC1
    _Z24sqlnx_exp_RETURN_analyzeP23sqlnx_exp_lolepop_parms + 0x23e1
    (/var/ibmdb2/nypxt350/sqllib/lib64/libdb2e.so.1)
    0x00007FFFF145F317
    _Z22sqlnx_exp_analyze_planP23sqlnx_exp_lolepop_parms + 0x02a7
    (/var/ibmdb2/nypxt350/sqllib/lib64/libdb2e.so.1)
    0x00007FFFF14637E7 _Z18sqlnx_explain_planP9sqlnq_qur + 0x03f7
    (/var/ibmdb2/nypxt350/sqllib/lib64/libdb2e.so.1)
    0x00007FFFF0E56F7D
    _Z10sqlnn_cmplP8sqeAgentP11sqlrrstrings17sqlnn_compileModesP14sq
    lrr_cmpl_enviiPP9sqlnq_qur + 0x3b6d
    (/var/ibmdb2/nypxt350/sqllib/lib64/libdb2e.so.1)
    0x00007FFFF0E53401
    _Z10sqlnn_cmplP8sqeAgentP11sqlrrstrings17sqlnn_compileModesP14sq
    lrr_cmpl_env + 0x0021
    (/var/ibmdb2/nypxt350/sqllib/lib64/libdb2e.so.1)
    0x00007FFFF16B67FE
    _Z17sqlra_compile_varP8sqlrr_cbP14sqlra_cmpl_envPhitiiiiiP14SQLP
    _LOCK_INFOP16sqlra_cached_varPiS5_Pb + 0x07ee
    (/var/ibmdb2/nypxt350/sqllib/lib64/libdb2e.so.1)
    0x00007FFFF16C4225
    _Z14sqlra_find_varP8sqlrr_cbP17sqlra_cached_stmt13sqlra_stmt_idj
    jPhjthP14sqlra_cmpl_env15sqlra_fill_modePiiS8_iiiS8_P14SQLP_LOCK
    _INFOPP16sqlra_cached_varS8_bSA_Pb + 0x06b5
    (/var/ibmdb2/nypxt350/sqllib/lib64/libdb2e.so.1)
    0x00007FFFF16FF60D _Z13sqlra_get_varP8sqlrr_cbiibPbS1_ + 0x07ad
    (/var/ibmdb2/nypxt350/sqllib/lib64/libdb2e.so.1)
    0x00007FFFF1646ED1
    _Z13sqlrr_prepareP14db2UCinterfaceP16db2UCprepareInfo + 0x0151
    (/var/ibmdb2/nypxt350/sqllib/lib64/libdb2e.so.1)
    0x00007FFFF0CA8847
    _Z19sqljs_ddm_prpsqlsttP14db2UCinterfaceP13sqljDDMObject +
    0x08b7
    (/var/ibmdb2/nypxt350/sqllib/lib64/libdb2e.so.1)
    0x00007FFFF39BEC26
    _Z21sqljsParseRdbAccessedP13sqljsDrdaAsCbP13sqljDDMObjectP14db2U
    Cinterface + 0x0396
    (/var/ibmdb2/nypxt350/sqllib/lib64/libdb2e.so.1)
    0x00007FFFF39BF01D
    _Z10sqljsParseP13sqljsDrdaAsCbP14db2UCinterfaceP8sqeAgentb +
    0x037d
    (/var/ibmdb2/nypxt350/sqllib/lib64/libdb2e.so.1)
    0x00007FFFF0C9C22C address: 0x00007FFFF0C9C22C ; dladdress:
    0x00007FFFEF7ED000 ; offset in lib: 0x00000000014AF22C ;
    (/var/ibmdb2/nypxt350/sqllib/lib64/libdb2e.so.1)
    0x00007FFFF0C9B01F address: 0x00007FFFF0C9B01F ; dladdress:
    0x00007FFFEF7ED000 ; offset in lib: 0x00000000014AE01F ;
    (/var/ibmdb2/nypxt350/sqllib/lib64/libdb2e.so.1)
    0x00007FFFF0C98E03 address: 0x00007FFFF0C98E03 ; dladdress:
    0x00007FFFEF7ED000 ; offset in lib: 0x00000000014ABE03 ;
    (/var/ibmdb2/nypxt350/sqllib/lib64/libdb2e.so.1)
    0x00007FFFF0C98B93 _Z17sqljsDrdaAsDriverP18SQLCC_INITSTRUCT_T +
    0x00f3
    (/var/ibmdb2/nypxt350/sqllib/lib64/libdb2e.so.1)
    0x00007FFFF0A55C13 _ZN8sqeAgent6RunEDUEv + 0x0823
    (/var/ibmdb2/nypxt350/sqllib/lib64/libdb2e.so.1)
    0x00007FFFF1AAEA33 _ZN9sqzEDUObj9EDUDriverEv + 0x00f3
    (/var/ibmdb2/nypxt350/sqllib/lib64/libdb2e.so.1)
    0x00007FFFF1AAE939 _Z10sqlzRunEDUPcj + 0x0009
    (/var/ibmdb2/nypxt350/sqllib/lib64/libdb2e.so.1)
    0x00007FFFF151CC51 sqloEDUEntry + 0x02a1
    (/var/ibmdb2/nypxt350/sqllib/lib64/libdb2e.so.1)
    0x00007FFFF79C5AA1 address: 0x00007FFFF79C5AA1 ; dladdress:
    0x00007FFFF79BE000 ; offset in lib: 0x0000000000007AA1 ;
    (/lib64/libpthread.so.0)
    0x00007FFFEE66EC4D clone + 0x006d
    (/lib64/libc.so.6)
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * all                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to 11.1.4.7                                          *
    ****************************************************************
    

Problem conclusion

  • Upgrade to 11.1.4.7
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT33977

  • 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

    2020-08-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:

    IT34005 428AC7Ÿ IT34006 IT34007

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • RB10 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