R abnormal exit when plotting lm (PR#308)

Peter Dalgaard BSA p.dalgaard@biostat.ku.dk
08 Dec 1999 22:29:42 +0100


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

> Ulf Mehlig <umehlig@uni-bremen.de> writes:
> 
> >  Dear R-developers,
> > 
> >  recently I sent a bug report about plot(aov()) crashing R (resp. the
> >  X Windows part of R) without reporting the data I used.
> > 
> >  In the meantime, I discovered, that the problem is due to a .RData
> >  file -- without it, there is no crash, with that .RData loaded, the
> >  following small sequence of commands crashes R 0.90, too, on my
> >  machine. R had been started with "--vsize 16M --nsize 4000k":
> > 
> >  ----------------------------------------------------------------------
> >  
> >  > x <- data.frame(id=rep(c("a", "b", "c"), 100), val=rnorm(1:300))
> >  > plot(aov(val ~ id, data=x))
> >  Hit <Return> to see next plot: 
> >  Hit <Return> to see next plot: 
> >  Hit <Return> to see next plot: 
> >  X Error of failed request:  BadValue (integer parameter out of range for operation)
> >    Major opcode of failed request:  53 (X_CreatePixmap)
> >      Value in failed request:  0x0
> >        Serial number of failed request:  1229
> >          Current serial number in output stream:  1235
> > 
> > 	 Process R exited abnormally with code 1 at Wed Dec  8 19:25:58 1999
> 
> Happens here too. Will have a look.

Reproduce without the .RData file with

 X11(point=16,h=5,w=5)
 x <- data.frame(id=rep(c("a", "b", "c"), 100), val=rnorm(1:300))
 plot(aov(val ~ id, data=x))

(The X11 thing was in .First)
-- 
   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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._