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

ON IA32 PLATFORM(Windows or Linux), DATABASE MARKED BAD AND APPL ICATIONS
RECEIVEDSQL1034C DUE TO SQLP_BADLSN FOUND

product:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problem description:
On IA32 platforms, due to a rare race condition, an internal 
 
64bit value might be assigned only half 
its byte value. This will cause an application to fail with 
the error "SQL1034C  The database is damaged...". 
 
You can find SQLP_BADLSN error in db2diag.log. The following is 
a snippet of db2diag.log: 
 
EDUID   : 1234                 EDUNAME: db2agent (SAMPLE) 
FUNCTION: DB2 UDB, data protection services, sqlpgrlg, 
probe:9120 
DATA #1 : <preformatted> 
diff 3043, count 3043, fromptr 0x374f6bf3, CharPtr 0x374f7017, 
pageLso 236223202312, LowPageLso 236223198237 
... 
EDUID   : 1234                 EDUNAME: db2agent (SAMPLE) 
FUNCTION: DB2 UDB, data protection services, sqlpgrlg, 
probe:2510 
DATA #1 : <preformatted> 
 -2028994519 when reading LSO 236223201280 from log file 
S0001234.LOG  dpsAgtCbF 
lags 0 setSkipOutputBuf 0 
CALLSTCK: 
  [0] 0xB4AAB503 
_Z8sqlpgrlgP8sqeAgentjyjPcP13SQLO_MEM_POOLP8SQLP_LRHPS1_ + 0x623 
  [1] 0xB5D330CC 
_Z16sqlpReadLogForCCP8sqeAgentyjPcP13SQLO_MEM_POOLP8SQLP_LRHPS1_ 
+ 0x92 
  [2] 0xB51575A4 _Z25sqldGetCurrentlyCommittedP13SQLD_DFM_WORKy 
+ 0x136 
  [3] 0xB4CA6C46 /home/db2inst/sqllib/lib32/libdb2e.so.1 + 
0x1834C46 
  [4] 0xB4CA703A /home/db2inst/sqllib/lib32/libdb2e.so.1 + 
0x183503A 
  [5] 0xB68DF33B /home/db2inst/sqllib/lib32/libdb2e.so.1 + 
0x346D33B 
  [6] 0xB68DDE83 _Z8sqlischfP7SQLI_CBtj + 0x2E9 
  [7] 0xB68DAD99 
_Z7sqlirdkP8sqeAgentP10SQLI_IXPCRP9SQLD_IXCByP8SQLD_KEYP12SQLI_K 
EYDATAP9sqli_scanPi 
+ 0x79F 
  [8] 0xB683FA48 _Z14sqldIndexFetchP8SQLD_CCBP8SQLZ_RID + 0x152 
  [9] 0xB683D2EF 
_Z12sqldRowFetchP8sqeAgentP8SQLD_CCBjjPP10SQLD_VALUEP8SQLZ_RIDjP 
12SQLD_ID_LISTP9SQLP_LSN8 
+ 0x2E9 
... 
EDUID   :1234                 EDUNAME: db2agent (SAMPLE) 
FUNCTION: DB2 UDB, index manager, sqliLockUncond, probe:2573 
RETCODE : ZRC=0x87100029=-2028994519=SQLP_BADLSN "Invalid LSN 
value." 
          DIA8538C An invalid log sequence number (LSN), the 
value was "".
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* All                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* SQLP_BADLSN error can be found in db2diag.log and SQL1034C   * 
* "The database is damaged..." error message received due to   * 
* rare race condition                                          * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 Version 9.7 Fix Pack 4                        * 
****************************************************************
Local Fix:
Set database parameter CUR_COMMIT to DISABLED
available fix packs:
DB2 Version 9.7 Fix Pack 4 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 5 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 6 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 7 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 8 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 10 for Linux, UNIX, and Windows

Solution
Problem was first fixed in Version 9.7 Fix Pack 4
Workaround
See LOCAL FIX
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
24.08.2010
02.05.2011
02.05.2011
Problem solved at the following versions (IBM BugInfos)
9.7.FP4
Problem solved according to the fixlist(s) of the following version(s)
9.7.0.4 FixList