IBM Support

IT30819: DB2 SERVER TERMINATES ABNORMALLY IN SQLNQ_UDF_SPECIFIC WITH STMT_CONC=LITERALS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In some rare instances, with the statement concentrator enabled
    (database cfg stmt_conc=LITERALS), the Db2 server may terminate
    abnormally while compiling a SQL query.
    
    The stack will look something like this example from Linux:
    ...
    0x00007F3156B46CD4
    _Z18sqlnq_udf_specificPP8stknode_i10actiontypePhP3loc + 0x0395
                    (/home/.../sqllib/lib64/libdb2e.so.1)
    0x00007F31562917D0 _Z12sqlnp_smactnP8sqlnp_cbi + 0x2bee
                    (/home/.../sqllib/lib64/libdb2e.so.1)
    0x00007F3156275323 _Z12sqlnp_parserP8sqlnp_cb + 0x0a87
                    (/home/.../sqllib/lib64/libdb2e.so.1)
    0x00007F315627F412
    _Z10sqlnp_mainP12sqlnq_stringbP3locPP9sqlnq_qur + 0x1346
                    (/home/.../sqllib/lib64/libdb2e.so.1)
    0x00007F3156A1681D
    _Z21sqlnq_handle_sql_stmtRP9sqlnq_qtbRK12sqlnq_string13sqlnq_qur
    Type14sqlnq_qtbStateS4_S4_PKhP13sqlrg_trigrecP22sqlrg_resolved_r
    t_listP20sqlnq_namespace_listPK14sqlrxCollationhhP3loc + 0x08f8
                    (/home/.../sqllib/lib64/libdb2e.so.1)
    0x00007F3156BB88B4
    _Z31sqlnq_expand_inline_scalar_funcP9sqlnq_pidP9sqlnq_oprP9sqlnq
    _expbbbb + 0x2ee2
                    (/home/.../sqllib/lib64/libdb2e.so.1)
    ...
    

Local fix

  • Disable the statement concentrator (stmt_conc=OFF)
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to Db2 version 11.1.4.6 or later                     *
    ****************************************************************
    

Problem conclusion

  • First fixed in Db2 version 11.1.4.6
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT30819

  • 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

    2019-11-02

  • Closed date

    2021-03-17

  • Last modified date

    2021-03-17

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

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

    IT30866

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