home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Neueste VersionenFixList
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
Haben Sie Probleme? - Kontaktieren Sie uns.
Kostenlos registrieren anmeldung-x26
Kontaktformular kontakt-x26

DB2 - Problembeschreibung

Problem IC69450 Status: Geschlossen

IN LINUX, PRESSING '.' ON WELCOME PAGE IN INTERACTIVE MODE WILL
CRASH DB2TOP

Produkt:
DB2 FOR LUW / DB2FORLUW / 950 - DB2
Problembeschreibung:
In Linux, when pressing key '.' on db2top welcome page in 
interactive mode, db2top  will crash. 
 
<StackTrace> 
---FUNC-ADDR---- ------FUNCTION + OFFSET------ 
0000002A96F6DF7F ossDumpStackTraceEx + 0x01f7 
 
(/view/db2_v95fp4_linuxamd64_s090429/vbs/INST/lib/libdb2osse.so. 
1) 
0000002A96F69ABA _ZN11OSSTrapFile6dumpExEmiP7siginfoPvm + 0x00b4 
 
(/view/db2_v95fp4_linuxamd64_s090429/vbs/INST/lib/libdb2osse.so. 
1) 
0000002A96F69B81 _ZN11OSSTrapFile4dumpEmiP7siginfoPv + 0x0009 
 
(/view/db2_v95fp4_linuxamd64_s090429/vbs/INST/lib/libdb2osse.so. 
1) 
0000002A9618733B sqlo_trce + 0x03f3 
 
(/view/db2_v95fp4_linuxamd64_s090429/vbs/INST/lib/libdb2.so.1) 
000000000044E1E7 interrupt + 0x00ef 
                (db2top) 
0000002A97AAE380 address: 0x0000002A97AAE380 ; dladdress: 
0x0000002A97A80000 ; offset in lib: 0x000000000002E380 ; 
                (/lib64/tls/libc.so.6) 
0000002A97AA840E isdigit + 0x001e 
                (/lib64/tls/libc.so.6) 
0000000000442BCB do_foreground + 0x03af 
                (db2top) 
0000000000441BED main + 0x00d9 
                (db2top) 
0000002A97A9CACD __libc_start_main + 0x00fd 
                (/lib64/tls/libc.so.6) 
00000000004173AA __gxx_personality_v0 + 0x007a 
                (db2top) 
</StackTrace> 
 
that is because in main.c - > do_foreground() -> isdigit(ch), 
when pressing char '.', ch will be assigned to old_ch,  where 
old_ch was declared as " int old_ch " without initialization. On 
welcome page, old_ch hasn't be assigned to any value, yet. 
Hence, 
In Linux, isdigit(ch) will triger SIGSEGV, In AIX, this is fine, 
though. 
 
Fix: Initialize ch and old_chr to 0 when declaring variables.
Problem-Zusammenfassung:
IN LINUX, PRESSING '.' ON WELCOME PAGE IN INTERACTIVE MODE WILL 
CRASH DB2TOP
Local-Fix:
verfügbare FixPacks:
DB2 Version 9.5 Fix Pack 6a for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 7 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 8 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 9 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 10 for Linux, UNIX, and Windows

Lösung
Workaround
keiner bekannt / siehe Local-Fix
Bug-Verfolgung
Vorgänger  : APAR is sysrouted TO one or more of the following: IC69451 
Nachfolger : 
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
24.06.2010
30.06.2010
30.06.2010
Problem behoben ab folgender Versionen (IBM BugInfos)
Problem behoben lt. FixList in der Version