home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Latest versionsfixlist
11.1.0.7 FixList
10.5.0.9 FixList
10.1.0.6 FixList
9.8.0.5 FixList
9.7.0.11 FixList
9.5.0.10 FixList
9.1.0.12 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

DB2 - Problem description

Problem IC66983 Status: Closed

INSTANCE MAY CRASH IF THE DOUBLE FREE OCCURS WHEN GETAUTHORITIES TRIES TO
FREE THE MEMORY ALREADY FREED.

product:
DB2 FOR LUW / DB2FORLUW / 980 - DB2
Problem description:
Instance may crash if the double free occurs when getAuthorities 
tries to free the memory already freed. 
 
db2diag.log has the following entry. 
 
2009-12-04-06.33.20.075770+540 I29545722G462      LEVEL: Severe 
PID     : 3929                 TID  : 2851072912  PROC : db2sysc 
INSTANCE: db2inst1             NODE : 000         DB   : SAMPLE 
APPHDL  : 0-24716              APPID: 
*LOCAL.db2inst1.091203213334 
AUTHID  : DB2INST1 
EDUID   : 72                   EDUNAME: db2agent (SAMPLE) 
FUNCTION: DB2 UDB, SQO Memory Management, 
sqloDiagnoseFreeBlockFailure, probe:30 
DATA #1 : String, 12 bytes 
Double free. 
 
The trap file contains the stack trace like this. 
 
<StackTrace> 
--Frame--- ------Function + Offset------ 
0xA9EF68A4 sqloCrashOnCriticalMemoryValidationFailure + 0x0017 
        (/home/db2inst1/sqllib/lib32/libdb2e.so.1) 
0xA9EF690C sqlofmblkEx. + 0x0461 
        (/home/db2inst1/sqllib/lib32/libdb2e.so.1) 
0xA9EF6918 _Z9sqlofmblkPv + 0x000b 
        (/home/db2inst1/sqllib/lib32/libdb2e.so.1) 
0xA9EF6924 _Z28sqlerTrustedRtnCallbackFmblkjPPv + 0x001d 
        (/home/db2inst1/sqllib/lib32/libdb2e.so.1) 
0xA9EF695C _Z29sqlerTrustedRtnCallbackRouterjPPv + 0x00de 
        (/home/db2inst1/sqllib/lib32/libdb2e.so.1) 
0xA9EF69A8 getAuthorities + 0x0693 
        (/home/db2inst1/sqllib/bin/routine/db2dbroutext) 
0xA9EF7494 sqloInvokeFnArgs + 0x09d3 
        (/home/db2inst1/sqllib/lib32/libdb2e.so.1)
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* All                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* As same as Error description.                                * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to Version 9.8 FixPack 3.                            * 
****************************************************************
Local Fix:
Changing SHMMAX to proper value.
available fix packs:
DB2 Version 9.8 Fix Pack 3 for Linux, UNIX, and Windows
DB2 Version 9.8 Fix Pack 4 for AIX and Linux
DB2 Version 9.8 Fix Pack 5 for AIX and Linux

Solution
Problem was first fixed in DB2 UDB Version 9.8 FixPack 3.
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
08.03.2010
10.01.2011
10.01.2011
Problem solved at the following versions (IBM BugInfos)
9.8.FP3
Problem solved according to the fixlist(s) of the following version(s)
9.8.0.3 FixList