IBM Support

IC95876: FORMATTING DB2TRC USING -CLI OPTION TERMINATES ABNORMALLY ON 64BIT LU PLATFORMS FOR 32BIT APPLICATIONS.

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Formatting db2trc with -CLI option terminates abnormally on
    64bit platform for 32 bit application with linuxppc64, hpifp64
    platforms. db2trc crashes while generating CLI trace for
    SQLConnect as below:
    
    regress2@i5qalnx02$ db2trc fmt -cli c.dmp c.cli
    Trace truncated                   : NO
    Trace wrapped                     : NO
    Total number of trace records     : 8128
    
    ATTENTION: db2trc terminated abnormally because it detected a
    trap inside the "CLITRC" component custom formatter.  This
    occurred while
    formatting trace record #0.
    
    You can workaround this problem by using the "-ncf" option when
    formatting your dump file.  This option disables the component
    custom
    formatting.
    
    The last line in corrupted CLI trace file is:
    SQLConnect( hDbc=0:1, szDSN="stlec1.....
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Generating CLI trace for 32 bit application on 64bit LU      *
    * platforms.                                                   *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to db2_v97fp9 or later releases.                     *
    ****************************************************************
    

Problem conclusion

  • db2_v97fp9 contains this fix. After fix, cli trace gets
    generated well.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC95876

  • Reported component name

    DB2 CONNECT

  • Reported component ID

    DB2CONNCT

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-09-11

  • Closed date

    2013-12-16

  • Last modified date

    2013-12-16

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

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

    IC96310 IC96696

Fix information

  • Fixed component name

    DB2 CONNECT

  • Fixed component ID

    DB2CONNCT

Applicable component levels

  • R970 PSY

       UP



Document information

More support for: DB2 for Linux, UNIX and Windows

Software version: 9.7

Reference #: IC95876

Modified date: 16 December 2013