[Rd] segfault when applying strange coercion (PR#2923)
Peter Dalgaard BSA
p.dalgaard at biostat.ku.dk
Tue May 6 00:09:38 MEST 2003
Peter Dalgaard BSA <p.dalgaard at biostat.ku.dk> writes:
> ligges at statistik.uni-dortmund.de writes:
>
> > I made a mistake -- and R crashed. A (more or less) reproducible example
> > seems to be:
> >
> > x <- matrix(nrow=20000, ncol=20)
> > x$any <- numeric(0)
> >
> > It is possible to crash R by executing these lines several times (1 -
> > 20) on Windows as well as on Solaris (might be related to PR#2880 -
> > let's call it "non-existing list elements")
>
> Linux too: (r-devel)
Fixed now in r-patched. Thanks to Rob for reminding me of Luke's
REPROTECT mechanism.
--
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
More information about the R-devel
mailing list