Bug 201246

Summary: xterm segfaults without /etc/termcap
Product: [Fedora] Fedora Reporter: hanishkvc <hanishkvc>
Component: xtermAssignee: Miroslav Lichvar <mlichvar>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5CC: dickey
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-12-14 13:37:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description hanishkvc 2006-08-03 19:25:29 UTC
Description of problem:
If there is no /etc/termcap file then xterm segfaults

Version-Release number of selected component (if applicable):
Latest FC5 xterm, based on yum update FC5

How reproducible:

Steps to Reproduce:
1. Rename /etc/termcap to something else
2. run xterm - it will segfault itself.
3. restore /etc/termcap
4. xterm will run properly 
  
Actual results:
xterm segfaults itself.

Expected results:
Either continue without termcap file or atleast display error message saying
"/etc/termcap missing" and then quit gracefully.

Additional info:

Comment 1 Thomas E. Dickey 2006-08-19 22:42:27 UTC
I can reproduce that (fix will be in #217).