From p.dalgaard at biostat.ku.dk  Tue May  6 00:09:38 2003
From: p.dalgaard at biostat.ku.dk (Peter Dalgaard BSA)
Date: Tue May  6 01:09:39 2003
Subject: [Rd] segfault when applying strange coercion (PR#2923)
In-Reply-To: <x28ytlb42n.fsf@biostat.ku.dk>
References: <200305051736.h45Ha92b016451@pubhealth.ku.dk>
	<x28ytlb42n.fsf@biostat.ku.dk>
Message-ID: <x2n0i19ec6.fsf@biostat.ku.dk>

Peter Dalgaard BSA <p.dalgaard@biostat.ku.dk> writes:

> ligges@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@biostat.ku.dk)             FAX: (+45) 35327907


[Rd] segfault when applying strange coercion (PR#2923)
Peter Dalgaard BSA