IBM Support

IC94634: THERE MIGHT BE A DOUBLE FREE OR LIST CORRUPTION IN THE SQLRLC_CSM_DEFUNCT() FUNCTION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The db2diag.log messages suggest that a db2agent process was
    trying to free a piece of memory that was freed during the
    execution of a stored procedure, which generated a Signal #11.
    
    The following are some example db2diag.log entries that might be
    produced if this problem occurs:
    
    2013-07-03-03.45.59.085998-240 I12279328E502   LEVEL: Severe
    PID     : 18886          TID : 46931736783168  PROC : db2sysc 0
    INSTANCE: db2inst1       NODE : 000            DB   : SAMPLE
    APPHDL  : 0-6894         APPID: 12.213.148.54.2064.130703071242
    AUTHID  : db2inst1       HOSTNAME: db2inst1_host
    EDUID   : 1063           EDUNAME: db2agent (SAMPLE) 0
    FUNCTION: DB2 UDB, SQO Memory Management,
    sqloDiagnoseFreeBlockFailure, probe:30
    DATA #1 : String, 12 bytes
    Double free.
    
    2013-07-03-03.45.59.277703-240 I12279831E603   LEVEL: Error
    PID     : 18886          TID : 46931736783168  PROC : db2sysc 0
    INSTANCE: db2inst1       NODE : 000            DB   : SAMPLE
    APPHDL  : 0-6894         APPID: 12.213.148.54.2065.130703071242
    AUTHID  : db2inst1       HOSTNAME: db2inst1_host
    EDUID   : 1063           EDUNAME: db2agent (SAMPLE) 0
    FUNCTION: DB2 UDB, base sys utilities, sqleagnt_sigsegvh,
    probe:1
    MESSAGE : Error in agent servicing application with coor_node:
    DATA #1 : Hexdump, 2 bytes
    0x00002AAF2540F952 : 0000
    
    The following is an example of a trap file stack that might be
    produced if this problem occurs:
    
    <StackTrace>
    -----FUNC-ADDR----
    ossDumpStackTraceV98
    OSSTrapFile::dumpEx
    sqlo_trce
    sqloEDUCodeTrapHandler
    __pthread_mutex_cond_lock
    sqloCrashOnCriticalMemoryValidationFailure
    sqlofmblkEx
    sqlrlc_csm_defunct
    sqlrlc_csm_processing
    sqlrlc_check_available_memory
    sqlrlc_auth_find_insert
    sqlrlc_rtn_get_auths
    sqlrlc_rtn_request_auths
    sqlrlgra
    sqlrlgad
    sqlrlFindProcedure
    sqlnq_resolve_procedure
    sqlnq_procedure_tresolve
    sqlnq_call_stmt
    sqlnp_smactn
    sqlnp_parser
    sqlnp_main
    sqlnn_cmpl
    sqlnn_cmpl
    sqlra_compile_var
    sqlra_find_var
    sqlra_get_var
    sqlrr_prepare
    sqljs_ddm_prpsqlstt
    sqljsParseRdbAccessed
    sqljsParse
    sqljsParseUowid
    sqljsWriteUowid
    sqljsParseCntqry
    sqljsDrdaAsDriver
    sqeAgent::RunEDU
    sqzEDUObj::EDUDriver
    sqlzRunEDU
    sqloEDUEntry
    pthread_create@@GLIBC_2.2.5
    clone
    

Local fix

  • There is currently no local fix for this issue.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All users                                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 version 10.1.0.3.                             *
    ****************************************************************
    

Problem conclusion

  • The problem is first fixed in DB2 version 10.1.0.3.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC94634

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    A10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    YesHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-08-05

  • Closed date

    2013-09-27

  • Last modified date

    2013-09-27

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

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

    IC94890

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • RA10 PSN

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
27 September 2013