DB2 - Problem description
Problem IC97131 | Status: Closed |
POSSIBLE CRASH (SEGV/ABORT) IN SQLDFORMATLOBLONGCOL() WITH LOAD FROM CURSOR ON TABLE WITH LOB AND CODESET CONVERSION | |
product: | |
DB2 FOR LUW / DB2FORLUW / A50 - DB2 | |
Problem description: | |
It is possible for the engine to crash with segv when loading LOB that require code page conversion between the source db and target db. Typical statement would be: - db2 connect to db1 with code page A - db2 declare cursor db2 (with code page B) for select * from tab - db2 load from cursor insert into tab The crash will happen with the following stack: 0x09000000AE0D485C sqldFormatLobLongCol + 0xAFC 0x09000000AE0D8B54 sqluLoadFormatFixedVar + 0xD34 0x09000000AE0CE738 sqluFormatDMRec + 0x1B38 0x09000000AE08E0E4 sqluGetAndFormatRecords + 0x30E4 0x09000000AE087590 iRun + 0x710 0x09000000ADF11C94 sqluLoadEDUDriver + 0x534 0x09000000ABCBB44C sqloEDUEntry + 0x32C | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * All platforms * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 version 10.5 fix pack 4 or higher. * **************************************************************** | |
Local Fix: | |
Try to use the same code page in both source db and target db when performing the load from cursor. | |
available fix packs: | |
DB2 Cancun Release 10.5.0.4 (also known as Fix Pack 4) for Linux, UNIX, and Windows | |
Solution | |
The fix will be included in DB2 version 10.5 fix pack 4. | |
Workaround | |
Try to use the same code page in both source db and target db when performing the load from cursor. | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 23.10.2013 08.09.2014 08.09.2014 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) | |
10.5.0.4 |