From rossini@stat.sc.edu  Wed Apr 23 16:45:29 1997
From: rossini@stat.sc.edu (Anthony Rossini)
Date: 23 Apr 1997 11:45:29 -0400
Subject: R-alpha: Re: R-beta: Version 0.49 Released
In-Reply-To: Kurt Hornik's message of Wed, 23 Apr 1997 17:28:37 +0200
References: <199704230925.VAA24453@stat1.stat.auckland.ac.nz> <199704231528.RAA14692@aragorn.ci.tuwien.ac.at>
Message-ID: <wnc7mht9206.fsf@fhat.stat.sc.edu>


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


    Kurt> I noticed the following problems (all already reported, but
    Kurt> not in TASKS).

 Kurt> * TASKS.OLD has

    Kurt> FROM: <Kurt.Hornik@ci.tuwien.ac.at>
    Kurt>         Btw, here's another way to produce a segfault with
    Kurt>         admittedly nonsense code:
    R> x <- 1:5 dimnames(x)[1,2] <- NULL
    Kurt>                 Segmentation fault
    Kurt>         [ Hmmm.  This seems to have gone away.  I get the
    Kurt>         error ] [ message "Error: incorrect number of
    Kurt>         subscripts on array". ]

    Kurt> On my Linux system, I still get the segfault.  Perhaps
    Kurt> others could check that?


segfault on Solaris 2.5.1, as well:


fhat 73 > R

R : Copyright 1997, Robert Gentleman and Ross Ihaka
Version 0.49 Beta (April 23, 1997)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type "license()" for details.

> x <- 1:5
> dimnames(x)[1,2] <- NULL
Segmentation fault (core dumped)
fhat 74 > gdb bin/R.binary core
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.15.1 (sparc-sun-solaris2.4), 
Copyright 1995 Free Software Foundation, Inc...
Core was generated by `/p1/apps/R/src/R-0.49/bin/R.binary'.
Program terminated with signal 11, Segmentation fault.

#0  0x254f0 in allocArray (mode=16, dims=0x175770) at array.c:124
124                     n = n * INTEGER(dims)[i];
(gdb) where
#0  0x254f0 in allocArray (mode=16, dims=0x175770) at array.c:124
#1  0xa6a0c in listAssign1 (call=0x2fb0a4, x=0x175770, subs=0x2fb0cc, 
    y=0x175770) at subassign.c:922
#2  0xa7650 in do_subassign (call=0x2fb0a4, op=0x1760bc, args=0x2fb090, 
    rho=0x17d1c8) at subassign.c:1119
#3  0x59b28 in eval (e=0x2fb0a4, rho=0x17d1c8) at eval.c:137
#4  0x5b630 in applydefine (call=0x2fafc8, op=0x175f40, args=0x2fafb4, 
    rho=0x17d1c8) at eval.c:625
#5  0x5b984 in do_set (call=0x2fafc8, op=0x175f40, args=0x2fafb4, rho=0x17d1c8)
    at eval.c:666
#6  0x59b28 in eval (e=0x2fafc8, rho=0x17d1c8) at eval.c:137
#7  0x65978 in R_Repl (rho=0x17d1c8, savestack=0, browselevel=0) at main.c:187
#8  0x65f4c in mainloop () at main.c:359
#9  0xcd6fc in main (ac=0, av=0xeffffa14) at system.c:267
(gdb) 



----
-tony (Anthony Rossini)	           Statistics Dept., U South Carolina
rossini@stat.sc.edu	           Columbia, SC 29208
http://www.stat.sc.edu/~rossini/   803-777-3578(O) 803-777-4048 (fax)  
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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: Re: R-beta: Version 0.49 Released
Anthony Rossini