[23852] in Athena Bugs
sun4 9.2.15: xterm crash as a result of some VI control sequences
daemon@ATHENA.MIT.EDU (Jim Paris)
Sat Aug 30 18:01:00 2003
Message-Id: <200308302200.h7UM0wSB011200@quickstation-random-hall.mit.edu>
To: bugs@MIT.EDU
Date: Sat, 30 Aug 2003 18:00:58 -0400
From: Jim Paris <bigjim@MIT.EDU>
System name: quickstation-random-hall.mit.edu
Type and version: Sun-Blade-100 9.2.15
Display type: ifb
Shell: /bin/athena/tcsh (/bin/bash?)
Window manager: unknown
What were you trying to do?
Particular editing actions in vi will crash xterm.
What's wrong:
The xterm crashes when presented with particular control sequences.
What should have happened:
Not crashed :)
Please describe any relevant documentation references:
quickstation-random-hall:~$ which xterm rxvt
/usr/openwin/bin/xterm
/mit/outland/arch/sun4x_59/bin/rxvt
quickstation-random-hall:~$ ls -al `which xterm rxvt`
-rwxr-xr-x 1 27454 mit 71852 Oct 18 2000 /mit/outland/arch/sun4x_59/bin/rxvt
-rwxr-xr-x 1 root bin 205660 Apr 30 2002 /usr/openwin/bin/xterm
quickstation-random-hall:~$ md5sum `which xterm rxvt`
67fc885378ed7e74ee8f7aa7f4c4ec6d /usr/openwin/bin/xterm
7a8d06e016b6bb0d1b86220040d17f32 /mit/outland/arch/sun4x_59/bin/rxvt
Take this typescript of a VI session:
begin 644 typescript.xtermdie
M&ULR-#LQ2!M;/S%H&STB8FQA:"(@6TYE=R!F:6QE72 ;6T@;6S)*"GX*"'X*
M"'X*"'X*"'X*"'X*"'X*"'X*"'X*"'X*"'X*"'X*"'X*"'X*"'X*"'X*"'X*
M"'X*"'X*"'X*"'X*"'X;6T@;6S(S0B)B;&%H(B!;3F5W(&9I;&5=&UM(&UM
M<QM;0&0;6T!F&UM (!M;0&$;6T!S&UM 9!M;0&8;6T @&UM 81M;0',;6T!D
M&UM 9AM;0" ;6T!A&UM <QM;0&0;6T!F&UM (!M;0&$;6T!S&UM 9!M;0&8;
M6T @&UM 81M;0',;6T!D&UM 9AM;0" ;6T!A&UM <QM;0&8;6T @&UM 81M;
M0',;6T!D&UM 9AM;0" ;6T!A&UM <QM;0&0;6T @&UM 81M;0',;6T!D&UM
M9AM;0" ;6T!A&UM <QM;0&0;6T @&UM 81M;0',;6T!D&UM 9AM;0" ;6T!A
M&UM <QM;0&0;6T!F&UM (!M;0&$;6T!S&UM 9!M;0" ;6T!A&UM <QM;0&0;
M6T @&UM 81M;0',;6T!D&UM 9AM;0" ;6T!A&UM <QM;0&8;6T!D&UM (!M;
M0&$-"AM;2QM;0',;6T!D&UM 9AM;0" ;6T!A&UM <QM;0&8;6T!D&UM (!M;
M0&$;6T!S&UM 9!M;0&8;6T @" T)( @(" @(&ULQ.S@P2 @(" @(&UM 81M;
M2 H;6T!A&ULQ.S<V2!M;0',;6T@*&UM (!M;,3LW-T@;6T!D&UM("AM;0&0;
M6S$[-SA(&UM 9AM;2 H;6T!F&ULQ.S<Y2!M;0&$;6T@*&UM <QM;,3LX,$@;
M6T!S#0H;6T!A"!M;0&0;6T!F&UM 81M;0',;6T!F&UM 81M;0',;6T!D&UM
M9AM;0#H;6T!W" T;6S(R0AM;2SIW#2)B;&%H(B!;3F5W(&9I;&5=(#$@;&EN
M92P@,3$R(&-H87)A8W1E<G,@&ULR.S$Q2 T;6S(R0AM;2SIQ#0H;6TH;6S\Q
$;!L^"C$R
end
UUdecode that, then start xterm in an 80x24 window:
xterm -geometry 80x24
In that term, do a "cat typescript.xtermdie" and the xterm hangs hard.
Now start rxvt instead:
rxvt -geometry 80x24
In that term, do a "cat typescript.xtermdie" and note how it doesn't die.
So the xterm that's on the current Sun athena machines seems entirely
broken. The xterm on a new Linux Athena install is fine.
In case you have trouble with that typescript, here's how I reproduce
it:
- Start /bin/vi
- Type 1.5 lines of text with no carriage returns
- Exit insert mode and move the cursor back within the first line.
- Enter insert mode and type until the cursor wraps at the edge of the
screen. The xterm hangs.
Let me know if you need more info or have trouble reproducing this.
It's not my X resources or anything, because I'm reporting this on
behalf of a friend who noticed it first with her login.
(No report on when this problem started, since she's been away from
MIT for over a year).
This has been verified on nerd-xing.
-jim