From p.dalgaard@kubism.ku.dk  Thu Jun 26 17:15:27 1997
From: p.dalgaard@kubism.ku.dk (Peter Dalgaard BSA)
Date: 26 Jun 1997 18:15:27 +0200
Subject: R-alpha: lbeta, ctrl-C and crashes
In-Reply-To: Kurt Hornik's message of Thu, 26 Jun 1997 10:51:05 +0200
References: <9706250920.AA11845@alpha.luc.ac.be>
 <Pine.SUN.3.95.970625083652.2283A-100000@zen>
 <199706260536.HAA00517@aragorn.ci.tuwien.ac.at>
 <x23eq5rbz9.fsf@bush.kubism.ku.dk>
 <199706260851.KAA01127@aragorn.ci.tuwien.ac.at>
Message-ID: <x2radppcgw.fsf@bush.kubism.ku.dk>

Kurt Hornik <Kurt.Hornik@ci.tuwien.ac.at> writes:

> > $ ldd R/bin/R.binary 
> >         libSM.so.6 => /usr/X11R6/lib/libSM.so.6.0
> >         libICE.so.6 => /usr/X11R6/lib/libICE.so.6.0
> >         libX11.so.6 => /usr/X11R6/lib/libX11.so.6.1
> >         libf2c.so.0 => /usr/lib/libf2c.so.0.20
> >         libdl.so.1 => /lib/libdl.so.1.7.14
> >         libreadline.so.2 => /usr/lib/libreadline.so.2.0
> >         libtermcap.so.2 => /lib/libtermcap.so.2.0.8
> >         libm.so.5 => /lib/libm.so.5.0.8
> >         libc.so.5 => /lib/libc.so.5.4.23

> hornik@aragorn:~/Work/misc$ ldd /usr/local/lib/R/bin/R.binary 
>         libSM.so.6 => /usr/X11R6/lib/libSM.so.6		(6.0)
>         libICE.so.6 => /usr/X11R6/lib/libICE.so.6	(6.0)
>         libX11.so.6 => /usr/X11R6/lib/libX11.so.6	(6.1)
>         libdl.so.1 => /lib/libdl.so.1			(1.8.10)
>         libreadline.so.2 => /lib/libreadline.so.2	(2.1)
>         libm.so.5 => /lib/libm.so.5			(5.0.8)
>         libc.so.5 => /lib/libc.so.5			(5.4.23)
>         libncurses.so.3.0 => /lib/libncurses.so.3.0	(3.0)
> 
> (I added the full version numbers manually.)
> 
> The obvious difference is that Debian uses ncurses instead of termcap.
> 

Another obvious difference is libreadline2.*1*. I just tried compiling
without readline (edit src/include/Platform.h ; make clean ; make) and
the problem disappeared. However, RedHat still seems to be shipping
libreadline2.0 There are calls to signal() in libreadline, so it
could well be the culprit.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


R-alpha: lbeta, ctrl-C and crashes
Peter Dalgaard BSA