Debian bug report logs - #627
IOT trap in info program

Package: info; Reported by: mitchell@mdd.comm.mot.com (Bill Mitchell); 90 days old.

Message received at debian-bugs:


From cus.cam.ac.uk!iwj10 Wed Apr  5 06:46:22 1995
Return-Path: <iwj10@cus.cam.ac.uk>
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0rwVPZ-0006MhC; Wed, 5 Apr 95 06:46 PDT
Received: from bootes.cus.cam.ac.uk by pixar.com with SMTP id AA13097
  (5.65c/IDA-1.4.4 for <debian-bugs@pixar.com>); Wed, 5 Apr 1995 06:45:53 -0700
Received: by bootes.cus.cam.ac.uk 
	(Smail-3.1.29.0 #30) id m0rwVOy-000C08C; Wed, 5 Apr 95 14:45 BST
Received: by chiark
	id m0rwHrN-0000XMZ
	(Debian /\oo/\ Smail3.1.29.1 #29.30); Wed, 5 Apr 95 00:18 BST
Message-Id: <m0rwHrN-0000XMZ.ijackson@nyx.cs.du.edu>
Date: Wed, 5 Apr 95 00:18 BST
From: iwj10@cus.cam.ac.uk (Ian Jackson)
To: bug-texinfo@prep.ai.mit.edu, debian-bugs@pixar.com
Subject: Re: Bug#627: IOT trap in info program

Bill Mitchell <mitchell@mdd.comm.mot.com> writes,
in Debian GNU/Linux bug report #627:
> Input         Reaction seen
> -----         -------------
> "info"        displays Top node
> "C-h"         displays help window, overwriting Top node
>               (note:  On my Sun, this splits the window)
> "C-x C-b"     displays menu of previous.y-visited nodes
>               (note: screen is split, and this is put in the lower window)
> "Tab"         moves cursor to "* (dir)Top::" entry
> "Return"      displays Top node in lower window
> "C-x 1"       IOT Trap/Abort
>               (On my Sun, this deletes all other windows)

I am able to reproduce this.  I'm using GCC 2.6.3 -O2, under Linux
1.2.0 on an Intel i486DX/33.

I'm running the program in an 80x15 xterm (note the small number of
lines), with the following TERMCAP:

vs|xterm|xterm-24|xterms|vs100|xterm terminal emulator (X Window System):is=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:rs=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:AL=\E[%dL:DL=\E[%dM:DC=\E[%dP:DO=\E[%dB:UP=\E[%dA:LE=\E[%dD:RI=\E[%dC:al=\E[L:am:bl=^G:bs:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:co#80:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:ho=\E[H:im=\E[4h:ei=\E[4l:mi:ks=\E[?1h\E=:ke=\E[?1l\E>:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:kn#20:@0=\E[1~:kI=\E[2~:kD=\E[3~:*6=\E[4~:kP=\E[5~:kN=\E[6~:km:kb=^H:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:li#24:md=\E[1m:me=\E[m:mr=\E[7m:ms:nd=\E[C:pt:eA=\E)0:as=^N:ae=^O:ml=\El:mu=\Em:sc=\E7:rc=\E8:sf=\n:so=\E[7m:se=\E[m:sr=\EM:ti=\E7\E[?47h:te=\E[2J\E[?47l\E8:up=\E[A:us=\E[4m:ue=\E[m:xn:

Bill Mitchell reports that he gets the bug on a Linux console too, but
I can't reproduce it there.  This may have something to do with the
fact that my console is 132x43.

I have patched the Info program very slightly, to correct a few minor
deficiencies.  The patches are attached.  Two of them are fixes for
bugs which have already been reported here; the other adds some
support needed for Debian's modular packaging scheme, where any
combination of Info and/or Emacs may be installed on a system.

When replying to this bug report, I'd be grateful if you'd preserve
the CC to debian-bugs@pixar.com, and keep the subject line starting
with `Re: Bug#627'.  This will allow our automatic bug tracking system
to file your messages alongside the original report from Bill
Mitchell.

Ian.

diff -ruN texinfo-3.1.orig/info/filesys.c texinfo-3.1/info/filesys.c
--- texinfo-3.1.orig/info/filesys.c	Fri May 21 21:51:43 1993
+++ texinfo-3.1/info/filesys.c	Tue Aug 23 19:02:40 1994
@@ -74,9 +74,10 @@
 };
 
 static COMPRESSION_ALIST compress_suffixes[] = {
-  { ".Z", "uncompress" },
-  { ".Y", "unyabba" },
-  { ".z", "gunzip" },
+  { ".Z",  "uncompress" },
+  { ".Y",  "unyabba" },
+  { ".z",  "gunzip" },
+  { ".gz", "gunzip" },
   { (char *)NULL, (char *)NULL }
 };
 
diff -ruN texinfo-3.1.orig/info/infodoc.c texinfo-3.1/info/infodoc.c
--- texinfo-3.1.orig/info/infodoc.c	Thu Feb  4 03:59:03 1993
+++ texinfo-3.1/info/infodoc.c	Wed Sep  7 22:21:47 1994
@@ -292,6 +292,9 @@
   /* Try to get the info file for Info. */
   node = info_get_node ("Info", nodename);
 
+  /* If that fails, try to show our own info-stnd Info file. */
+  if (!node) node = info_get_node ("Info-stnd", "Top");
+
   if (!node)
     {
       if (info_recent_file_error)
diff -ruN texinfo-3.1.orig/info/terminal.c texinfo-3.1/info/terminal.c
--- texinfo-3.1.orig/info/terminal.c	Fri May 21 22:26:05 1993
+++ texinfo-3.1/info/terminal.c	Sat Dec  3 02:54:01 1994
@@ -135,6 +135,9 @@
 static void
 terminal_end_using_terminal ()
 {
+  if (term_goto)
+    tputs (tgoto (term_goto, 0, screenheight-1), 1, output_character_function);
+  
   send_to_terminal (term_end_use);
 }
 

Acknowledgement sent to iwj10@cus.cam.ac.uk (Ian Jackson):
Extra info received and forwarded. Full text available.
Information forwarded to debian-devel@pixar.com:
Bug#627; Package info. Full text available.

Message received at debian-bugs:


From mdd.comm.mot.com!mitchell Wed Mar 22 09:04:36 1995
Return-Path: <mitchell@mdd.comm.mot.com>
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0rrTpi-0005rSC; Wed, 22 Mar 95 09:04 PST
Received: from motgate.mot.com by pixar.com with SMTP id AA15855
  (5.65c/IDA-1.4.4 for <debian-bugs@pixar.com>); Wed, 22 Mar 1995 09:04:28 -0800
Received: from pobox.mot.com (pobox.mot.com [129.188.137.100]) by motgate.mot.com (8.6.11/8.6.10/MOT-3.6) with ESMTP id LAA06160; Wed, 22 Mar 1995 11:04:27 -0600
Received: from mdd.comm.mot.com (mdisea.mdd.comm.mot.com [138.242.64.201]) by pobox.mot.com (8.6.11/8.6.10/MOT-3.6) with SMTP id LAA19852; Wed, 22 Mar 1995 11:04:26 -0600
Received: from bb29c.mdd.comm.mot.com by mdd.comm.mot.com (4.1/SMI-4.1)
	id AA27995; Wed, 22 Mar 95 09:04:25 PST
Received: by bb29c.mdd.comm.mot.com (4.1/SMI-4.1)
	id AA24249; Wed, 22 Mar 95 09:04:23 PST
Date: Wed, 22 Mar 95 09:04:23 PST
From: mitchell@mdd.comm.mot.com (Bill Mitchell)
Message-Id: <9503221704.AA24249@bb29c.mdd.comm.mot.com>
To: iwj10@cus.cam.ac.uk, debian-bugs@pixar.com
Subject: Re: Bug#627: IOT trap in info program

> I can reproduce this.  I have to make the xterm I'm testing the
> program in very small to get C-h not to split the window.

I wasn't using X.  It was on an 80X25 console screen when I ran
across the bug.

> [...]


Message sent:


From: iwj10@thor.cam.ac.uk (Ian Jackson)
To: mitchell@mdd.comm.mot.com (Bill Mitchell)
Subject: Bug#627: Info received (was Bug#627: IOT trap in info program)
In-Reply-To: <9503221704.AA24249@bb29c.mdd.comm.mot.com>
References: <9503221704.AA24249@bb29c.mdd.comm.mot.com>

Thank you for the additional information you have supplied regarding
this problem report.  It has been forwarded to the developers to
accompany the original report.

If you wish to continue to submit further information on your problem,
please do the same thing again: send it to debian-bugs@pixar.com, ensuring
that the Subject line starts with "Bug#627" or "Re: Bug#627" so that
we can identify it as relating to the same problem.

Please do not reply to the address at the top of this message,
unless you wish to report a problem with the bug-tracking system.

Ian Jackson
(maintainer, debian-bugs)


Message sent to debian-devel@pixar.com:


Subject: Bug#627: IOT trap in info program
Reply-To: mitchell@mdd.comm.mot.com (Bill Mitchell), debian-bugs@pixar.com
Resent-To: debian-devel@pixar.com
Resent-From: mitchell@mdd.comm.mot.com (Bill Mitchell)
Resent-Sender: iwj10@cus.cam.ac.uk
Resent-Date: Wed, 22 Mar 1995 17:18:02 GMT
Resent-Message-ID: <debian-bugs-handler.627.032217091429817@pixar.com>
X-Debian-PR-Package: info
X-Debian-PR-Keywords: 
Received: via spool for debian-bugs; Wed, 22 Mar 1995 17:18:02 GMT
Received: with rfc822 via encapsulated-mail id 032217091429817;
          Wed, 22 Mar 1995 17:09:15 GMT
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0rrTpi-0005rSC; Wed, 22 Mar 95 09:04 PST
Received: from motgate.mot.com by pixar.com with SMTP id AA15855
  (5.65c/IDA-1.4.4 for <debian-bugs@pixar.com>); Wed, 22 Mar 1995 09:04:28 -0800
Received: from pobox.mot.com (pobox.mot.com [129.188.137.100]) by motgate.mot.com (8.6.11/8.6.10/MOT-3.6) with ESMTP id LAA06160; Wed, 22 Mar 1995 11:04:27 -0600
Received: from mdd.comm.mot.com (mdisea.mdd.comm.mot.com [138.242.64.201]) by pobox.mot.com (8.6.11/8.6.10/MOT-3.6) with SMTP id LAA19852; Wed, 22 Mar 1995 11:04:26 -0600
Received: from bb29c.mdd.comm.mot.com by mdd.comm.mot.com (4.1/SMI-4.1)
	id AA27995; Wed, 22 Mar 95 09:04:25 PST
Received: by bb29c.mdd.comm.mot.com (4.1/SMI-4.1)
	id AA24249; Wed, 22 Mar 95 09:04:23 PST
Date: Wed, 22 Mar 95 09:04:23 PST
From: mitchell@mdd.comm.mot.com (Bill Mitchell)
Message-Id: <9503221704.AA24249@bb29c.mdd.comm.mot.com>
To: iwj10@cus.cam.ac.uk, debian-bugs@pixar.com

> I can reproduce this.  I have to make the xterm I'm testing the
> program in very small to get C-h not to split the window.

I wasn't using X.  It was on an 80X25 console screen when I ran
across the bug.

> [...]



Message received at debian-bugs:


From cus.cam.ac.uk!iwj10 Wed Mar 22 07:32:04 1995
Return-Path: <iwj10@cus.cam.ac.uk>
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0rrSOB-0007G5C; Wed, 22 Mar 95 07:32 PST
Received: from bootes.cus.cam.ac.uk by pixar.com with SMTP id AA13056
  (5.65c/IDA-1.4.4 for <debian-bugs@pixar.com>); Wed, 22 Mar 1995 07:31:58 -0800
Received: by bootes.cus.cam.ac.uk 
	(Smail-3.1.29.0 #30) id m0rrSEM-000BzwC; Wed, 22 Mar 95 15:21 GMT
Received: by chiark (Smail3.1.28.1 #3)
	id m0rrQI1-0002gOZ; Wed, 22 Mar 95 13:17 GMT
Message-Id: <m0rrQI1-0002gOZ.ijackson@nyx.cs.du.edu>
Date: Wed, 22 Mar 95 13:17 GMT
From: iwj10@cus.cam.ac.uk (Ian Jackson)
To: debian-bugs@pixar.com
Subject: Re: Bug#627: IOT trap in info program

Bill Mitchell reports:
> Input         Reaction seen
> -----         -------------
> "info"        displays Top node
> "C-h"         displays help window, overwriting Top node
>               (note:  On my Sun, this splits the window)
> "C-x C-b"     displays menu of previous.y-visited nodes
>               (note: screen is split, and this is put in the lower window)
> "Tab"         moves cursor to "* (dir)Top::" entry
> "Return"      displays Top node in lower window
> "C-x 1"       IOT Trap/Abort
>               (On my Sun, this deletes all other windows)

I can reproduce this.  I have to make the xterm I'm testing the
program in very small to get C-h not to split the window.

However, when I compile the program with -g -O2 and don't strip the
binary I'm unable to debug it because abort() has corrupted the stack
(why does abort ALWAYS have to corrupt the stack ?!).

If I take the -O flag off the compilation lines the bug goes away
(plain -O still triggers it).

I suspect a compiler (or perhaps library) problem.  I'm using GCC
2.5.8 and libc 4.5.26.

Could someone with GCC 2.6.3 and a newer libc try it, please ?

Ian.

Message sent:


From: iwj10@thor.cam.ac.uk (Ian Jackson)
To: iwj10@cus.cam.ac.uk (Ian Jackson)
Subject: Bug#627: Info received (was Bug#627: IOT trap in info program)
In-Reply-To: <m0rrQI1-0002gOZ.ijackson@nyx.cs.du.edu>
References: <m0rrQI1-0002gOZ.ijackson@nyx.cs.du.edu>

Thank you for the additional information you have supplied regarding
this problem report.  It has been forwarded to the developers to
accompany the original report.

If you wish to continue to submit further information on your problem,
please do the same thing again: send it to debian-bugs@pixar.com, ensuring
that the Subject line starts with "Bug#627" or "Re: Bug#627" so that
we can identify it as relating to the same problem.

Please do not reply to the address at the top of this message,
unless you wish to report a problem with the bug-tracking system.

Ian Jackson
(maintainer, debian-bugs)


Message sent to debian-devel@pixar.com:


Subject: Bug#627: IOT trap in info program
Reply-To: iwj10@cus.cam.ac.uk (Ian Jackson), debian-bugs@pixar.com
Resent-To: debian-devel@pixar.com
Resent-From: iwj10@cus.cam.ac.uk (Ian Jackson)
Resent-Sender: iwj10@cus.cam.ac.uk
Resent-Date: Wed, 22 Mar 1995 15:48:15 GMT
Resent-Message-ID: <debian-bugs-handler.627.032215342321276@pixar.com>
X-Debian-PR-Package: info
X-Debian-PR-Keywords: 
Received: via spool for debian-bugs; Wed, 22 Mar 1995 15:48:15 GMT
Received: with rfc822 via encapsulated-mail id 032215342321276;
          Wed, 22 Mar 1995 15:34:23 GMT
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0rrSOB-0007G5C; Wed, 22 Mar 95 07:32 PST
Received: from bootes.cus.cam.ac.uk by pixar.com with SMTP id AA13056
  (5.65c/IDA-1.4.4 for <debian-bugs@pixar.com>); Wed, 22 Mar 1995 07:31:58 -0800
Received: by bootes.cus.cam.ac.uk
	(Smail-3.1.29.0 #30) id m0rrSEM-000BzwC; Wed, 22 Mar 95 15:21 GMT
Received: by chiark (Smail3.1.28.1 #3)
	id m0rrQI1-0002gOZ; Wed, 22 Mar 95 13:17 GMT
Message-Id: <m0rrQI1-0002gOZ.ijackson@nyx.cs.du.edu>
Date: Wed, 22 Mar 95 13:17 GMT
From: iwj10@cus.cam.ac.uk (Ian Jackson)
To: debian-bugs@pixar.com

Bill Mitchell reports:
> Input         Reaction seen
> -----         -------------
> "info"        displays Top node
> "C-h"         displays help window, overwriting Top node
>               (note:  On my Sun, this splits the window)
> "C-x C-b"     displays menu of previous.y-visited nodes
>               (note: screen is split, and this is put in the lower window)
> "Tab"         moves cursor to "* (dir)Top::" entry
> "Return"      displays Top node in lower window
> "C-x 1"       IOT Trap/Abort
>               (On my Sun, this deletes all other windows)

I can reproduce this.  I have to make the xterm I'm testing the
program in very small to get C-h not to split the window.

However, when I compile the program with -g -O2 and don't strip the
binary I'm unable to debug it because abort() has corrupted the stack
(why does abort ALWAYS have to corrupt the stack ?!).

If I take the -O flag off the compilation lines the bug goes away
(plain -O still triggers it).

I suspect a compiler (or perhaps library) problem.  I'm using GCC
2.5.8 and libc 4.5.26.

Could someone with GCC 2.6.3 and a newer libc try it, please ?

Ian.


Message received at debian-bugs:


From mdd.comm.mot.com!mitchell Tue Mar 21 13:26:21 1995
Return-Path: <mitchell@mdd.comm.mot.com>
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0rrBRQ-0004uVC; Tue, 21 Mar 95 13:26 PST
Received: from motgate.mot.com by pixar.com with SMTP id AA15828
  (5.65c/IDA-1.4.4 for <debian-bugs@pixar.com>); Tue, 21 Mar 1995 13:26:00 -0800
Received: from pobox.mot.com (pobox.mot.com [129.188.137.100]) by motgate.mot.com (8.6.11/8.6.10/MOT-3.6) with ESMTP id PAA18522 for <debian-bugs@pixar.com>; Tue, 21 Mar 1995 15:26:01 -0600
Received: from mdd.comm.mot.com (mdisea.mdd.comm.mot.com [138.242.64.201]) by pobox.mot.com (8.6.11/8.6.10/MOT-3.6) with SMTP id PAA15253 for <debian-bugs@pixar.com>; Tue, 21 Mar 1995 15:26:00 -0600
Received: from bb29c.mdd.comm.mot.com by mdd.comm.mot.com (4.1/SMI-4.1)
	id AA24992; Tue, 21 Mar 95 13:25:59 PST
Received: by bb29c.mdd.comm.mot.com (4.1/SMI-4.1)
	id AA22173; Tue, 21 Mar 95 13:25:53 PST
Date: Tue, 21 Mar 95 13:25:53 PST
From: mitchell@mdd.comm.mot.com (Bill Mitchell)
Message-Id: <9503212125.AA22173@bb29c.mdd.comm.mot.com>
To: debian-bugs@pixar.com
Subject: IOT trap in info program


PACKAGE:  info
VERSION:  3.1
PACKAGE_REVISION:  6

Input         Reaction seen
-----         -------------
"info"        displays Top node
"C-h"         displays help window, overwriting Top node
              (note:  On my Sun, this splits the window)
"C-x C-b"     displays menu of previous.y-visited nodes
              (note: screen is split, and this is put in the lower window)
"Tab"         moves cursor to "* (dir)Top::" entry
"Return"      displays Top node in lower window
"C-x 1"       IOT Trap/Abort
              (On my Sun, this deletes all other windows)

Message sent:


From: iwj10@thor.cam.ac.uk (Ian Jackson)
To: mitchell@mdd.comm.mot.com (Bill Mitchell)
Subject: Bug#627: Acknowledgement (was: IOT trap in info program)
In-Reply-To: <9503212125.AA22173@bb29c.mdd.comm.mot.com>
References: <9503212125.AA22173@bb29c.mdd.comm.mot.com>

Thank you for the problem report you have sent regarding Debian GNU/Linux.
This is an automatically generated reply, to let you know your message has
been received.  It is being forwarded to the developers' mailing list for
their attention; they will reply in due course.

If you wish to submit further information on your problem, please send
it to debian-bugs@pixar.com, but please ensure that the Subject
line of your message starts with "Bug#627" or "Re: Bug#627" so that
we can identify it as relating to the same problem.

Please do not reply to the address at the top of this message,
unless you wish to report a problem with the bug-tracking system.

Ian Jackson
(maintainer, debian-bugs)


Message sent to debian-devel@pixar.com:


Subject: Bug#627: IOT trap in info program
Reply-To: mitchell@mdd.comm.mot.com (Bill Mitchell), debian-bugs@pixar.com
Resent-To: debian-devel@pixar.com
Resent-From: mitchell@mdd.comm.mot.com (Bill Mitchell)
Resent-Sender: iwj10@cus.cam.ac.uk
Resent-Date: Tue, 21 Mar 1995 21:33:01 GMT
Resent-Message-ID: <debian-bugs-handler.627.032121272823453@pixar.com>
X-Debian-PR-Package: info
X-Debian-PR-Keywords: 
Received: via spool for debian-bugs; Tue, 21 Mar 1995 21:33:01 GMT
Received: with rfc822 via encapsulated-mail id 032121272823453;
          Tue, 21 Mar 1995 21:27:28 GMT
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0rrBRQ-0004uVC; Tue, 21 Mar 95 13:26 PST
Received: from motgate.mot.com by pixar.com with SMTP id AA15828
  (5.65c/IDA-1.4.4 for <debian-bugs@pixar.com>); Tue, 21 Mar 1995 13:26:00 -0800
Received: from pobox.mot.com (pobox.mot.com [129.188.137.100]) by motgate.mot.com (8.6.11/8.6.10/MOT-3.6) with ESMTP id PAA18522 for <debian-bugs@pixar.com>; Tue, 21 Mar 1995 15:26:01 -0600
Received: from mdd.comm.mot.com (mdisea.mdd.comm.mot.com [138.242.64.201]) by pobox.mot.com (8.6.11/8.6.10/MOT-3.6) with SMTP id PAA15253 for <debian-bugs@pixar.com>; Tue, 21 Mar 1995 15:26:00 -0600
Received: from bb29c.mdd.comm.mot.com by mdd.comm.mot.com (4.1/SMI-4.1)
	id AA24992; Tue, 21 Mar 95 13:25:59 PST
Received: by bb29c.mdd.comm.mot.com (4.1/SMI-4.1)
	id AA22173; Tue, 21 Mar 95 13:25:53 PST
Date: Tue, 21 Mar 95 13:25:53 PST
From: mitchell@mdd.comm.mot.com (Bill Mitchell)
Message-Id: <9503212125.AA22173@bb29c.mdd.comm.mot.com>
To: debian-bugs@pixar.com


PACKAGE: info
VERSION: 3.1
PACKAGE_REVISION: 6

Input         Reaction seen
-----         -------------
"info"        displays Top node
"C-h"         displays help window, overwriting Top node
              (note:  On my Sun, this splits the window)
"C-x C-b"     displays menu of previous.y-visited nodes
              (note: screen is split, and this is put in the lower window)
"Tab"         moves cursor to "* (dir)Top::" entry
"Return"      displays Top node in lower window
"C-x 1"       IOT Trap/Abort
              (On my Sun, this deletes all other windows)


Ian Jackson / iwj10@thor.cam.ac.uk, with the debian-bugs tracking mechanism
This page last modified 06:43:02 GMT Wed 21 Jun