DB2 - Problem description
Problem IC97118 | Status: Closed |
POSSIBLE CRASH (SEGV/ABORT) IN SQLDFORMATLOBLONGCOL() WITH LOAD FROM CURSOR ON TABLE WITH LOB AND CODESET CONVERSION | |
product: | |
DB2 FOR LUW / DB2FORLUW / 970 - 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 users who use LOAD FROM CURSOR and need codepage * * conversion for LOB data. * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 Version 9.7 Fixpack 10 or higher. * **************************************************************** | |
Local Fix: | |
Try to use the same code page in both source db and target db when performing the load from cursor. | |
Solution | |
The problem is firstly fixed in DB2 Version 9.7 Fixpack 10. | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 22.10.2013 28.07.2015 28.07.2015 |
Problem solved at the following versions (IBM BugInfos) | |
9.7.FP10 | |
Problem solved according to the fixlist(s) of the following version(s) | |
9.7.0.10 |