Subject: xterm crashes with invalid termcap entry
To: None <current-users@netbsd.org>
From: Michael Core <520079546242-0001@t-online.de>
List: current-users
Date: 06/19/2002 17:29:54
Hi,

this is what I've just found out:

$ { echo set args -tn blahblah ;
     echo r ;
     echo bt ;
     sleep 3 ; } | gdb -quiet xterm
(no debugging symbols found)...(gdb) (gdb) 
Starting program: /usr/X11R6/bin/xterm -tn blahblah
Program received signal SIGSEGV, Segmentation fault.
0x482b4158 in cgetcap () from /usr/lib/libc.so.12
(gdb) #0  0x482b4158 in cgetcap () from /usr/lib/libc.so.12
#1  0x482b4edd in cgetstr () from /usr/lib/libc.so.12
#2  0x48269a80 in t_getstr () from /usr/lib/libtermcap.so.0
#3  0x48269b6a in tgetstr () from /usr/lib/libtermcap.so.0
#4  0x806c000 in spawn ()
#5  0x806b77a in main ()
#6  0x804c995 in ___start ()

$ xterm -version
XFree86 4.2.0(165)

Michael