Re: [Rd] segfault on 2.11.0 with large POSIXct vector using as.character
> > > This has been fixed for a while in R-patched. The 2.11.1 release on Monday > should be fine. > Apparently people aren't running the betas/release candidates. You really > should run the test versions to flush out bugs. If you'd run the > pre-release versions of 2.11.0, this bug would likely have been found before > release. The standard tests can miss things; the advantage of open source > is there are many eyes looking for bugs. But if those eyes are closed, the > model doesn't work. > I'd say it does work, and did. As far as catching before release, that sounds great, as great as having no bugs. I am not too sure that my tests could have caught a bug that the got passed the R tests though, so passing along a segfault issue to those who might know the source better seemed prudent -- even if I could only have the time to test against the released version. Thanks for the fix! Jeff > Duncan Murdoch > > >> >>> invisible(as.character(Sys.time()+1:7e4)) >>> invisible(as.character(Sys.time()+1:8e4)) >>> invisible(as.character(Sys.time()+1:9e4)) >>> >>> >> Error: segfault from C stack overflow >> >> >> >> >>> invisible(as.character(Sys.time()+1:5e5)) >>> >>> >> Error: segfault from C stack overflow >> >> Thanks, >> Jeff >> >> >> >>> sessionInfo() >>> >>> >> R version 2.11.0 (2010-04-22) >> x86_64-apple-darwin10.2.0 >> >> locale: >> [1] en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8 >> >> attached base packages: >> [1] stats graphics grDevices utils datasets methods base >> >> >> >> >>> sessionInfo() >>> >>> >> R version 2.11.0 (2010-04-22) >> i486-pc-linux-gnu >> >> locale: >> [1] LC_CTYPE=en_US.utf8 LC_NUMERIC=C >> [3] LC_TIME=en_US.utf8LC_COLLATE=en_US.utf8 >> [5] LC_MONETARY=C LC_MESSAGES=en_US.utf8 >> [7] LC_PAPER=en_US.utf8 LC_NAME=C >> [9] LC_ADDRESS=C LC_TELEPHONE=C >> [11] LC_MEASUREMENT=en_US.utf8 LC_IDENTIFICATION=C >> >> attached base packages: >> [1] stats graphics grDevices utils datasets methods base >> >> >> > > -- Jeffrey Ryan jeffrey.r...@insightalgo.com ia: insight algorithmics www.insightalgo.com [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Re: [Rd] segfault on 2.11.0 with large POSIXct vector using as.character
Jeff Ryan wrote: Running "as.character" on a large POSIXct causes a segfault on my 2.11 (2010-04-22) install. Seems to crash at around 9e4 ... on OSX and Ubuntu at least. This has been fixed for a while in R-patched. The 2.11.1 release on Monday should be fine. Apparently people aren't running the betas/release candidates. You really should run the test versions to flush out bugs. If you'd run the pre-release versions of 2.11.0, this bug would likely have been found before release. The standard tests can miss things; the advantage of open source is there are many eyes looking for bugs. But if those eyes are closed, the model doesn't work. Duncan Murdoch invisible(as.character(Sys.time()+1:7e4)) invisible(as.character(Sys.time()+1:8e4)) invisible(as.character(Sys.time()+1:9e4)) Error: segfault from C stack overflow invisible(as.character(Sys.time()+1:5e5)) Error: segfault from C stack overflow Thanks, Jeff sessionInfo() R version 2.11.0 (2010-04-22) x86_64-apple-darwin10.2.0 locale: [1] en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8 attached base packages: [1] stats graphics grDevices utils datasets methods base sessionInfo() R version 2.11.0 (2010-04-22) i486-pc-linux-gnu locale: [1] LC_CTYPE=en_US.utf8 LC_NUMERIC=C [3] LC_TIME=en_US.utf8LC_COLLATE=en_US.utf8 [5] LC_MONETARY=C LC_MESSAGES=en_US.utf8 [7] LC_PAPER=en_US.utf8 LC_NAME=C [9] LC_ADDRESS=C LC_TELEPHONE=C [11] LC_MEASUREMENT=en_US.utf8 LC_IDENTIFICATION=C attached base packages: [1] stats graphics grDevices utils datasets methods base __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Re: [Rd] segfault on 2.11.0 with large POSIXct vector using as.character
On my Vista system there is no seg fault: > invisible(as.character(Sys.time()+1:5e5)) > win.version() [1] "Windows Vista (build 6002) Service Pack 2" > R.version.string [1] "R version 2.11.0 Patched (2010-04-26 r51822)" On Wed, May 26, 2010 at 7:29 AM, Jeff Ryan wrote: > Running "as.character" on a large POSIXct causes a segfault on my 2.11 > (2010-04-22) install. Seems to crash at around 9e4 ... on OSX and Ubuntu at > least. > >> invisible(as.character(Sys.time()+1:7e4)) >> invisible(as.character(Sys.time()+1:8e4)) >> invisible(as.character(Sys.time()+1:9e4)) > Error: segfault from C stack overflow > > >> invisible(as.character(Sys.time()+1:5e5)) > Error: segfault from C stack overflow > > Thanks, > Jeff > >> sessionInfo() > R version 2.11.0 (2010-04-22) > x86_64-apple-darwin10.2.0 > > locale: > [1] en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8 > > attached base packages: > [1] stats graphics grDevices utils datasets methods base > > >> sessionInfo() > R version 2.11.0 (2010-04-22) > i486-pc-linux-gnu > > locale: > [1] LC_CTYPE=en_US.utf8 LC_NUMERIC=C > [3] LC_TIME=en_US.utf8 LC_COLLATE=en_US.utf8 > [5] LC_MONETARY=C LC_MESSAGES=en_US.utf8 > [7] LC_PAPER=en_US.utf8 LC_NAME=C > [9] LC_ADDRESS=C LC_TELEPHONE=C > [11] LC_MEASUREMENT=en_US.utf8 LC_IDENTIFICATION=C > > attached base packages: > [1] stats graphics grDevices utils datasets methods base >> > > -- > Jeffrey Ryan > jeffrey.r...@insightalgo.com > > ia: insight algorithmics > www.insightalgo.com > > [[alternative HTML version deleted]] > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
[Rd] segfault on 2.11.0 with large POSIXct vector using as.character
Running "as.character" on a large POSIXct causes a segfault on my 2.11 (2010-04-22) install. Seems to crash at around 9e4 ... on OSX and Ubuntu at least. > invisible(as.character(Sys.time()+1:7e4)) > invisible(as.character(Sys.time()+1:8e4)) > invisible(as.character(Sys.time()+1:9e4)) Error: segfault from C stack overflow > invisible(as.character(Sys.time()+1:5e5)) Error: segfault from C stack overflow Thanks, Jeff > sessionInfo() R version 2.11.0 (2010-04-22) x86_64-apple-darwin10.2.0 locale: [1] en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8 attached base packages: [1] stats graphics grDevices utils datasets methods base > sessionInfo() R version 2.11.0 (2010-04-22) i486-pc-linux-gnu locale: [1] LC_CTYPE=en_US.utf8 LC_NUMERIC=C [3] LC_TIME=en_US.utf8LC_COLLATE=en_US.utf8 [5] LC_MONETARY=C LC_MESSAGES=en_US.utf8 [7] LC_PAPER=en_US.utf8 LC_NAME=C [9] LC_ADDRESS=C LC_TELEPHONE=C [11] LC_MEASUREMENT=en_US.utf8 LC_IDENTIFICATION=C attached base packages: [1] stats graphics grDevices utils datasets methods base > -- Jeffrey Ryan jeffrey.r...@insightalgo.com ia: insight algorithmics www.insightalgo.com [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel