IBM Support

IT25267: CALLING STORED PROCEDURE { ? = CALL SOMESPNAME( ?, ?, ?, ?, ? ) } RESULTS IN APPLICATION CRASH 0XC0000005

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • ODBC/CLI applicaiton might crash if we are calling the SP using
    ODBC escape sequence and using
    parameter marker for return value of the SP and binding the
    param type as INPUT for OUTPUT parameter.
    
    example of the crashing SQL:
    { ? = CALL someSPName( ?, ?, ?, ?, ? ) }
    
    Crashing stack:
    db2sys!sqlddGetExtendedDDEntry+0x3f8
    db2app!CLI_callbDrdaInput+0x6e1d
    db2app!sqljrGenSqlDta+0xec4
    db2app!sqljrDrdaArExecute+0x12c
    db2app!CLI_sqlCallProcedure+0xe1
    db2app!?SQLExecute2.@@YAFPAUCLI_STATEMENTINFO@@PAUCLI_ERRORHEADE
    RINFO@@@Z+0xe5b
    db2app!SQLExecute+0x107c
    odbc32!SQLExecute+0x320
    (more functions)
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All CLI/ODBC users calling SP with ODBC escape sequence      *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 version 11.1.4.4                              *
    ****************************************************************
    

Problem conclusion

  • DB2 v11.1 M4FP4 will contain the fix.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT25267

  • Reported component name

    DB2 CONNECT

  • Reported component ID

    DB2CONNCT

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-06-05

  • Closed date

    2018-12-02

  • Last modified date

    2018-12-02

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

  • Fixed component ID

    DB2CONNCT

Applicable component levels

  • RB10 PSN

       UP

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M"},"Platform":[{"code":"PF054","label":"z Systems"}],"Version":"11.1","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
19 June 2020