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 IC74426 Status: Closed

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

product:
DB2 FOR LUW / DB2FORLUW / 950 - 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:                                         * 
* See Error description field for more information.            * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to Version 9.5 FixPack 8.                            * 
****************************************************************
Local Fix:
Changing SHMMAX to proper value.
available fix packs:
DB2 Version 9.5 Fix Pack 8 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 9 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 10 for Linux, UNIX, and Windows

Solution
Problem was first fixed in DB2 UDB Version 9.5 FixPack 8.
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
11.02.2011
05.07.2011
05.07.2011
Problem solved at the following versions (IBM BugInfos)
9.5.FP8
Problem solved according to the fixlist(s) of the following version(s)
9.5.0.8 FixList