IBM Support

IC93225: CLI APPLICATION MAY TRAP DUE TO MEMORY CORRUPTION

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • An CLI application may trap due to memory corruption.
    In the db2diag.log file you will get message 'Corrupt pool free
    tree node.':
    
    2013-05-23-21.12.34.979000+120 E853648F549          LEVEL:
    Severe
    PID     : 248                  TID : 6996           PROC :
    sample.EXE
    INSTANCE:                      NODE : 000           DB   :
    SAMPLE
    APPID   : 172.25.2.122.58290.130523191234
    HOSTNAME: MYHOST
    EDUID   : 6996
    FUNCTION: DB2 UDB, SQO Memory Management,
    sqloDiagnoseFreeBlockFailure, probe:999
    MESSAGE : Memory validation failure, diagnostic file dumped.
    DATA #1 : String, 28 bytes
    Corrupt pool free tree node.
    DATA #2 : File name, 28 bytes
    248.6996.mem_diagnostics.txt
    
    2013-05-23-21.12.35.011000+120 I854199F1266         LEVEL:
    Warning
    PID     : 248                  TID : 6996           PROC :
    sample.EXE
    INSTANCE:                      NODE : 000           DB   :
    SAMPLE
    APPID   : 172.25.2.122.58290.130523191234
    HOSTNAME: MYHOST
    EDUID   : 6996
    FUNCTION: DB2 UDB, SQO Memory Management, sqlogmblkEx,
    probe:1000
    MESSAGE : ZRC=0x820F0002=-2112946174=SQLO_INV_MEM "Invalid
    memory addr"
              DIA8561C A invalid memory block was encountered.
    DATA #1 : String, 43 bytes
    Memory management block allocation failure.
    DATA #2 : Codepath, 8 bytes
    20:28
    DATA #3 : Memory pool handle pointer,
    PD_TYPE_MEM_POOL_HANDLE_PTR, 8 bytes
    0x0000000003e008f8
    DATA #4 : Requested size, PD_TYPE_MEM_REQUESTED_SIZE, 8 bytes
    19
    DATA #5 : Adjusted block size, PD_TYPE_MEM_ADJUSTED_SIZE, 8
    bytes
    64
    DATA #6 : Options for requested block, PD_TYPE_GET_MEM_OPTIONS,
    4 bytes
    0x00000000
    DATA #7 : Pointer to address that will be set by new allocation,
    PD_TYPE_PTR_TO_ADDRESS_OUT, 8 bytes
    0x00000000043ef488
    DATA #8 : File name, PD_TYPE_OSS_MEM_FILE_NAME, 10 bytes
    sqlesetc.C
    DATA #9 : Line of code, PD_TYPE_OSS_MEM_LINE_NUM, 8 bytes
    2635
    DATA #10: Resource binding pointer,
    PD_TYPE_RESOURCE_BINDING_PTR, 8 bytes
    0x0000000000000000
    
    2013-05-23-21.12.35.073000+120 I855467F492          LEVEL:
    Severe
    PID     : 248                  TID : 6996           PROC :
    sample.EXE
    INSTANCE:                      NODE : 000           DB   :
    SAMPLE
    APPID   : 172.25.2.122.58290.130523191234
    HOSTNAME: MYHOST
    EDUID   : 6996
    FUNCTION: DB2 UDB, base sys utilities, sqlePopulateSetInfoBlk,
    probe:400
    RETCODE : ZRC=0x820F0002=-2112946174=SQLO_INV_MEM "Invalid
    memory addr"
              DIA8561C A invalid memory block was encountered.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 version 9.7 Fix Pack 9                        *
    ****************************************************************
    

Problem conclusion

  • First fixed in DB2 version 9.7 Fix Pack 9
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC93225

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-06-19

  • Closed date

    2013-12-16

  • Last modified date

    2013-12-16

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

    IC93167

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

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 PSN

       UP



Document information

More support for: DB2 for Linux, UNIX and Windows

Software version: 9.7

Reference #: IC93225

Modified date: 16 December 2013