[cl-debian] Bug#407606: cmucl fails at initialization

Faré fahree at gmail.com
Thu May 3 22:28:50 UTC 2007


It's pretty reproducible here, with cmucl 19d-20061116-1, which is the
latest I find in unstable. When you test it, does your $TERM match
your $TERMCAP ? Otherwise, cmucl might not be trying to use it.

TERM=screen.linux
TERMCAP='SC|screen.linux|VT 100/ANSI X3.64 virtual terminal:\
        :hs:ts=\E_:fs=\E\\:ds=\E_\E\\:\
        :DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:bs:bt=\E[Z:\
        :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:ct=\E[3g:\
        :do=^J:nd=\E[C:pt:rc=\E8:rs=\Ec:sc=\E7:st=\EH:up=\EM:\
        :le=^H:bl=^G:cr=^M:it#8:ho=\E[H:nw=\EE:ta=^I:is=\E)0:\
        :li#27:co#100:am:xn:xv:LP:sr=\EM:al=\E[L:AL=\E[%dL:\
        :cs=\E[%i%d;%dr:dl=\E[M:DL=\E[%dM:dc=\E[P:DC=\E[%dP:\
        :im=\E[4h:ei=\E[4l:mi:IC=\E[%d@:ks=\E[?1h\E=:\
        :ke=\E[?1l\E>:vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l:\
        :ti=\E[?1049h:te=\E[?1049l:us=\E[4m:ue=\E[24m:so=\E[3m:\
        :se=\E[23m:mb=\E[5m:md=\E[1m:mh=\E[2m:mr=\E[7m:\
        :me=\E[m:ms:\
        :Co#8:pa#64:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:AX:\
        :vb=\Eg:as=\E(0:ae=\E(B:\
        :ac=\140\140aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++,,hhII00:\
        :k0=\E[10~: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~:kb=:\
        :K2=\E[G:kB=\E[Z:kh=\E[1~:@1=\E[1~:kH=\E[4~:@7=\E[4~:\
        :kN=\E[6~:kP=\E[5~:kI=\E[2~:kD=\E[3~:ku=\EOA:kd=\EOB:\
        :kr=\EOC:kl=\EOD:'

or
TERMCAP='SC|screen.linux|VT 100/ANSI X3.64 virtual terminal:\
        :kr=\EOC111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111:kl=\EOD22222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222:ku=\EOA111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111:kd=\EOB4444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444:'

[ François-René ÐVB Rideau | Reflection&Cybernethics | http://fare.tunes.org ]
Majority, n.:
        That quality that distinguishes a crime from a law.


On 03/05/07, Peter Van Eynde <pvaneynd at debian.org> wrote:
> Faré wrote:
> > After some experimentation, it looks like the problem is a buffer
> > overflow (of all things!) when variable $TERMCAP is too big.
>
> Interesting. And dangerous.
>
> But I cannot reproduce it:
>
> $ echo $TERMCAP | wc -c
> 11448
> $ cmucl
> CMU Common Lisp CVS 19d 19d-release (19D), running on frost
> With core: /usr/lib/cmucl/lisp.core
> Dumped on: Sat, 2006-12-30 21:27:55+01:00 on frost
> For support see http://www.cons.org/cmucl/support.html Send bug reports
> to the debian BTS.
> or to pvaneynd at debian.org
> type (help) for help, (quit) to exit, and (demo) to see the demos
>
> Loaded subsystems:
>      Python 1.1, target Intel x86
>      CLOS based on Gerd's PCL 2004/04/14 03:32:47





More information about the Cl-debian mailing list