DB2 - Problem description
Problem IC65397 | Status: Closed |
INSTANCE MAY CRASH IF THE DOUBLE FREE OCCURS WHEN GETAUTHORITIES TRIES TO FREE THE MEMORY ALREADY FREED. | |
product: | |
DB2 FOR LUW / DB2FORLUW / 970 - 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.7 FixPack 2. * **************************************************************** | |
Local Fix: | |
Changing SHMMAX to proper value. | |
available fix packs: | |
DB2 Version 9.7 Fix Pack 2 for Linux, UNIX, and Windows | |
Solution | |
Problem was first fixed in DB2 UDB Version 9.7 FixPack 2. | |
Workaround | |
see LOCAL FIX. | |
BUG-Tracking | |
forerunner : APAR is sysrouted TO one or more of the following: IC66983 IC74426 follow-up : | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 05.01.2010 22.06.2010 22.06.2010 |
Problem solved at the following versions (IBM BugInfos) | |
9.7.FP2 | |
Problem solved according to the fixlist(s) of the following version(s) | |
9.7.0.2 |