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

DB2 EDU may keep looping in signal handler and never return when LOAD
commands are called from stored procedures

product:
DB2 FOR LUW / DB2FORLUW / 980 - DB2
Problem description:
DB2 EDU first traps due to a SIGSEGV (signal #11), then in 
signal handler it keeps looping between "pdLogInternal" and 
"sqlm*" functions and never returns. 
This problem only occurs when running LOAD commands via 
routines, e.g. "ADMIN_CMD". 
 
Following symptoms can help you identify this issue: 
-- The trapped EDU never terminates (can be seen in "db2pd -edu" 
result). 
-- "FODC_Trap_XXX" directory created, trap file generated, but 
no dump files. 
-- In db2diag.log, no information for the trap. 
-- The correspoding application appears hung. 
   The DB2 instance may also hang if the hanging agent is 
holding some latches being requested by others. 
-- The "db2pd -edu" result shows the EDU clocks up a lot of user 
CPU time. 
-- In the trap file, you may see "sqlmStopWaitTimeInterval" or 
"sqlmStartWaitTimeInterval" at the top of the stack trace. 
-- A series of stack traces for the apparently hung EDU shows 
movement and "pdLogInternal" and "sqlm* (e.g. sqlmStopInterval)" 
functions at the top of the stack. 
   To get the stack trace of the EDU, you will need some OS 
utilities. For example, OS debugger or the "pdump.sh" SHELL 
script provided by IBM for AIX platform.
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* All users of version 9.8 on Linux, Unix and                  * 
* Windowsplatforms.                                            * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* DB2 EDU first traps due to a SIGSEGV (signal #11), then      * 
* insignal handler it keeps looping between "pdLogInternal"    * 
* and"sqlm*" functions and never returns.This problem only     * 
* occurs when running LOAD commands viaroutines, e.g.          * 
* "ADMIN_CMD".Following symptoms can help you identify this    * 
* issue:-- The trapped EDU never terminates (can be seen in    * 
* "db2pd-edu" result).-- "FODC_Trap_XXX" directory created,    * 
* trap file generated,but no dump files.-- In db2diag.log, no  * 
* information for the trap.-- The correspoding application     * 
* appears hung.The DB2 instance may also hang if the hanging   * 
* agent isholding some latches being requested by others.--    * 
* The "db2pd -edu" result shows the EDU clocks up a lot ofuser * 
* CPU time.-- In the trap file, you may see                    * 
* "sqlmStopWaitTimeInterval"or "sqlmStartWaitTimeInterval" at  * 
* the top of the stacktrace.-- A series of stack traces for    * 
* the apparently hung EDUshows movement and "pdLogInternal"    * 
* and "sqlm* (e.g.sqlmStopInterval)" functions at the top of   * 
* the stack.To get the stack trace of the EDU, you will need   * 
* some OSutilities. For example, OS debugger or the "pdump.sh" * 
* SHELLscript provided by IBM for AIX platform.                * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Update to V9.8 FP3 or  avoid  running LOAD commands          * 
* viastored procedures such as ADMIN_CMD.                      * 
****************************************************************
Local Fix:
The issue can be avoided by not running LOAD commands via stored 
procedures such as ADMIN_CMD.
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
First fixed in DB2 UDB Version 9.8 FixPak 3.
Workaround
The issue can be avoided by not running LOAD commands via stored 
procedures such as ADMIN_CMD.
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
29.04.2010
10.01.2011
10.01.2011
Problem solved at the following versions (IBM BugInfos)
9.8.,
9.8.FP3
Problem solved according to the fixlist(s) of the following version(s)
9.8.0.3 FixList