DB2 - Problembeschreibung
Problem IC74419 | Status: Geschlossen |
DB2TRC MIGHT TRAP WHEN FORMATTING LONG CLI MESSAGE WHILE PARSING A TRACE RECORD FOR SQLGETDIAGFIELDW | |
Produkt: | |
DB2 CONNECT / DB2CONNCT / 970 - DB2 | |
Problembeschreibung: | |
The db2trc executable that is shipped with the CLI/ODBC driver uses the "-cli" component customer formatter trace option by default when formatting a trace dump file ("format/fmt" command). If the trace dump contains a very long CLI message then db2trc might trap because of a corrupted stack. Note: The trap might also manifest in hang/looping within the SEGV signal handler. Such a long message text has been observed when parsing the trace dump record for a CLI SQLGetDiagFieldW() call. A stack trace gathered when running db2trc within a debugger like gdb shows: (gdb) run fmt ddntt.dmp ddntt.fmt Starting program: /workbig/user/clidriver/adm/db2trc fmt ddntt.dmp ddntt.fmt Trace truncated : NO Trace wrapped : NO Total number of trace records : 44585 Program received signal SIGSEGV, Segmentation fault. 0x0000000000423c05 in sqltcliTrcFmt () (gdb) where #0 0x0000000000423c05 in sqltcliTrcFmt () #1 0x006400650073006e in ?? () #2 0x0069006800740020 in ?? () #3 0x0072007000200073 in ?? () ... The top function will show sqltcliTrcFmt() while the rest of the call stack is corrupted. | |
Problem-Zusammenfassung: | |
**************************************************************** * USERS AFFECTED: * * ALL * **************************************************************** * PROBLEM DESCRIPTION: * * See Problem Description above. * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 Version 9.7 Fix Pack 4. * **************************************************************** | |
Local-Fix: | |
run "db2trc fmt -ncf <dump file> <format file>" to avoid the trap | |
verfügbare FixPacks: | |
DB2 Version 9.7 Fix Pack 4 for Linux, UNIX, and Windows | |
Lösung | |
First fixed in DB2 Version 9.7 Fix Pack 4. | |
Workaround | |
keiner bekannt / siehe Local-Fix | |
Weitere Daten | |
Datum - Problem gemeldet : Datum - Problem geschlossen : Datum - der letzten Änderung: | 11.02.2011 01.05.2011 01.05.2011 |
Problem behoben ab folgender Versionen (IBM BugInfos) | |
9.7.FP4 | |
Problem behoben lt. FixList in der Version | |
9.7.0.4 |