Bug 4803 - Screen & ircii coredumps
Screen & ircii coredumps
Status: CLOSED NEXTRELEASE
Product: Red Hat Raw Hide
Classification: Retired
Component: screen (Show other bugs)
1.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-08-31 09:39 EDT by Pekka Savola
Modified: 2014-03-16 22:09 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-08-31 15:23:25 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Pekka Savola 1999-08-31 09:39:19 EDT
After upgrading to the latest Raw Hide (RH6.0 worked fine, I
think a Rawhide like 6-10 days back did too), irc coredumps
right after being run when used with 'screen'.

screen-3.9.4-2
ircii-4.4-7
glibc-2.1.2-5
rawhide-release-19990824-1
Comment 1 Bill Nottingham 1999-08-31 10:42:59 EDT
Works for me on a clean install;
screen-3.9.4-2, ircii-4.4-7, glibc-2.1.2-7.

Do you have anything odd in your ircii configuration?
Comment 2 Pekka Savola 1999-08-31 10:53:59 EDT
It seems to work if I set my TERM to e.g. vt102, but if TERM=xterm,
there will be a core dump.
Comment 3 Bill Nottingham 1999-08-31 11:02:59 EDT
Works OK here, in the console, xterm, & gnome-terminal.

What does `rpm  -V termcap` say - do you have a modified
termcap?
Comment 4 Pekka Savola 1999-08-31 13:14:59 EDT
--- rpm -V termcap ---
S.5...GT c /etc/termcap
---
--- rpm -q termcap ---
termcap-9.12.6-15
---
--- ls -la /etc/termcap ---
-rw-r--r--   1 root     adm        548317 Jan 28  1999 /etc/termcap
---

Originally, this was a Redhat 5.2 box but I upgraded it to Rawhide.
That might have left something behind.  I haven't edited the termcap
file, and it didn't help after re-installing termcap RPM either -- rpm
-Uvh didn't seem to replace the old termcap.

I did 'rpm -e --nodeps termcap' and installed it again.  Now rpm -V
reports nothing and the file looks like this:
--- ls -la /etc/termcap ---
-rw-r--r--   1 root     root       434898 Mar 29 19:08 /etc/termcap
---

However, it still dumps the core.

Here's a part of strace if it's of any help..
------- strace irc --
ioctl(0, TIOCGWINSZ, {ws_row=28, ws_col=112, ws_xpixel=0,
ws_ypixel=0}) = 0
open("/dev/tty", O_RDWR)                = 3
ioctl(3, TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(3, SNDCTL_TMR_STOP, {B38400 opost isig -icanon -echo ...}) = 0
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++
-------------------
Comment 5 Bill Nottingham 1999-08-31 15:04:59 EDT
Aha. You're running the rawhide libtermcap, correct?

It's horribly horribly broken. Don't use it - it might even open
up security holes.
Downgrade to the 6.0 errata version, or wait for libtermcap-2.0.8-17,
which will be in next Raw Hide release.
Comment 6 Pekka Savola 1999-08-31 15:21:59 EDT
Libtermcap was indeed causing this.

Thanks for the diagnosis!

Note You need to log in before you can comment on or make changes to this bug.