From ligges at statistik.uni-dortmund.de  Thu May 12 18:46:39 2005
From: ligges at statistik.uni-dortmund.de (ligges@statistik.uni-dortmund.de)
Date: Thu May 12 18:46:47 2005
Subject: [Rd] segfault on large number of open brackets (PR#7859)
Message-ID: <20050512164639.2CFADE17A@slim.kubism.ku.dk>

Liaw, Andy wrote:

> I believe that's been fixed in R-2.1.0.  Please check.
> 
> I got the same segfault with R-2.0.1 on SuSE Linux x86_64, but on both that
> machine and my WinXP latop, I get syntax error.  E.g.,
> 
> R : Copyright 2005, The R Foundation for Statistical Computing
> Version 2.1.0 Patched (2005-05-12), ISBN 3-900051-07-0
> 
> R is free software and comes with ABSOLUTELY NO WARRANTY.
> You are welcome to redistribute it under certain conditions.
> Type 'license()' or 'licence()' for distribution details.
> 
>   Natural language support but running in an English locale
> 
> R is a collaborative project with many contributors.
> Type 'contributors()' for more information and
> 'citation()' on how to cite R or R packages in publications.
> 
> Type 'demo()' for some demos, 'help()' for on-line help, or
> 'help.start()' for a HTML browser interface to help.
> Type 'q()' to quit R.
> 
> 
>>(((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((
> 
> + (((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((
> Error: syntax error


With R-2.1.0 (release!) I get syntax error on Windows, no error (at 
least not after the first couple of hundred openings) on Linux, but the 
described *segfault* on Solaris 5.7 (UltraSparc).
[I am too lazy to try out R-patched on the slowish Solaris machine yet]

Uwe Ligges


> Andy
> 
> 
> 
>>From: m.e.bruche@lse.ac.uk
>>
>>Full_Name: Max
>>Version: R 2.0.1 (2004-11-15)
>>OS: Gentoo Linux
>>Submission from: (NULL) (158.143.49.181)
>>
>>
>>I leaned on the "(" key by accident, and it looks as if R 
>>segfaults on a large
>>number (88 or more in my case) open brackets:
>>
>>Script started on Thu May 12 15:18:04 2005
>>$ R
>>
>>R : Copyright 2004, The R Foundation for Statistical Computing
>>Version 2.0.1  (2004-11-15), ISBN 3-900051-07-0
>>
>>R is free software and comes with ABSOLUTELY NO WARRANTY.
>>You are welcome to redistribute it under certain conditions.
>>Type 'license()' or 'licence()' for distribution details.
>>
>>R is a collaborative project with many contributors.
>>Type 'contributors()' for more information and
>>'citation()' on how to cite R or R packages in publications.
>>
>>Type 'demo()' for some demos, 'help()' for on-line help, or
>>'help.start()' for a HTML browser interface to help.
>>Type 'q()' to quit R.
>>
>>
>>((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((
>>((((((((((((((((
>>(((((((((
>>+ (
>>Segmentation fault
>>$ uname -a
>>Linux max 2.6.11-gentoo-r6 #2 Sat May 7 19:24:52 GMT 2005 
>>i686 Intel(R)
>>Pentium(R) 4 CPU 2.40GHz GenuineIntel GNU/Linux
>>$ exit
>>
>>Script done on Thu May 12 15:18:16 2005
>>
>>Regards,
>>
>>Max
>>
>>R compiled with
>>gcc 3.3.5
>>glibc-2.3.4
>>
>>______________________________________________
>>R-devel@stat.math.ethz.ch mailing list
>>https://stat.ethz.ch/mailman/listinfo/r-devel
>>
>>
>>
> 
> 
> ______________________________________________
> R-devel@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel


[Rd] segfault on large number of open brackets (PR#7859)
ligges@statistik.uni-dortmund.de