From antonio.fabio at gmail.com  Tue May 13 09:45:12 2008
From: antonio.fabio at gmail.com (Antonio, Fabio Di Narzo)
Date: Tue, 13 May 2008 09:45:12 +0200
Subject: [Rd] (PR#11281) Bug in R 2.7 for over long lines
	(crasher+proposed fix!)
In-Reply-To: <20080513070513.EFB42283415A@mail.pubhealth.ku.dk>
References: <20080513070513.EFB42283415A@mail.pubhealth.ku.dk>
Message-ID: <b0808fdc0805130045o61993ecak8bbdb6139982f16b@mail.gmail.com>

2008/5/13  <maechler at stat.math.ethz.ch>:
>>>>>> "BDR" == Prof Brian Ripley <ripley at stats.ox.ac.uk>
>>>>>>     on Tue, 13 May 2008 07:32:43 +0100 (BST) writes:
>
>    BDR> This example does not crash in R 2.7.0, R-patched nor
>    BDR> R-devel (r45677) for me (x86_64 F8 Linux.)  It also
>    BDR> does not crash with the CRAN build of R 2.7.0 on
>    BDR> Windows XP.
>
> Neither does it for me in R 2.7.0
> on two x86_64 Linux platforms:
>   Ubuntu 8.04 and Redhat Enterprise 5.1

I get a segfault.

> sessionInfo()
R version 2.7.0 (2008-04-22)
i686-pc-linux-gnu

locale:
LC_CTYPE=it_IT.UTF-8;LC_NUMERIC=C;LC_TIME=it_IT.UTF-8;LC_COLLATE=it_IT.UTF-8;LC_MONETARY=C;LC_MESSAGES=it_IT.UTF-8;LC_PAPER=it_IT.UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=it_IT.UTF-8;LC_IDENTIFICATION=C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

$ uname -r
2.6.22-14-generic


>
> Martin
>
>    BDR> On Tue, 13 May 2008, Soeren Sonnenburg wrote:
>
>    >> On Mon, 2008-05-12 at 11:10 +0200,
>    >> maechler at stat.math.ethz.ch wrote:
>    >>> Hi Soeren,
>    >>>>>>>> "SS" == Soeren Sonnenburg <bugreports at nn7.de> on
>    >>>>>>>> Sat, 10 May 2008 05:32:14 +0000 writes:
>    >>>
>    SS> On Sat, 2008-04-26 at 09:38 +0200, Peter Dalgaard wrote:
>    >>> >> bugreports at nn7.de wrote: > OK, I am just sending it
>    >>> here >> too as it looks like r-devel at r-project.org > is
>    >>> not the >> right place:
>    >>> >>>
>    >>> >> I think it was seen there too, just that noone got
>    >>> around >> to reply. In R-bugs, there's a filing system
>    >>> so that it >> won't be completely forgotten...
>    >>>
>    SS> Looks like no one cares about this :(
>    >>>
>    >>> Just "looks like" but it aint...
>    >>>
>    SS> What should I do now? I mean I pointed directly to the
>    SS> bug and did show how it could be fixed....
>    >>>
>    >>> I'm not among the parse experts within R-core, but I
>    >>> think the main problem with your report is that you talk
>    >>> about a crash but do not provide "self-contained
>    >>> reproducible" code to produce such a crash, but just the
>    >>> assertion that you get crashes when working on R <->
>    >>> Swig interaction.  Can you construct simple R code
>    >>> producing the crash?
>    >>
>    >> No. I put however difficult autogenerated (~800k big!) .R
>    >> code that will crash R 2.7 at
>    >> http://nn7.de/debugging/Features.R for everyone to enjoy
>    >> :)
>    >>
>    >> Sourcing it will crash R2.7.0 (without my fix) but not
>    >> 2.8.
>    >>
>    >> Soeren
>    >>
>    >> ______________________________________________
>    >> R-devel at r-project.org mailing list
>    >> https://stat.ethz.ch/mailman/listinfo/r-devel
>    >>
>
> --
> Brian D. Ripley,                  ripley at stats.ox.ac.uk
>    BDR> Professor of Applied Statistics,
>    BDR> http://www.stats.ox.ac.uk/~ripley/ University of
>    BDR> Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road,
>    BDR> +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865
>    BDR> 272595
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>



-- 
Antonio, Fabio Di Narzo
Ph.D. student at
Department of Statistical Sciences
University of Bologna, Italy



[Rd] (PR#11281) Bug in R 2.7 for over long lines (crasher+proposed fix!)
Antonio, Fabio Di Narzo