[R] Error: address 0x6951c20, cause 'memory not mapped'

Duncan Murdoch murdoch.duncan at gmail.com
Sat Feb 26 02:45:48 CET 2011


On 25/02/2011 11:24 AM, Jannis wrote:
> Dear R list,
>
>
> I get a strange error in R:
>
>   *** caught segfault ***
> address 0x6951c20, cause 'memory not mapped'
>
> Traceback:
>   1: .C("spline_eval", z$method, nu = as.integer(n), x = as.double(xout),     y = double(n), z$n, z$x, z$y, z$b, z$c, z$d, PACKAGE = "stats")
>   2: spline(gam.data$x[, col.data], gam.smooths.all$fit[, m], xout = gam.results.global[m,     , "x.values"], ties = mean)
>   3: eval.with.vis(expr, envir, enclos)
>   4: eval.with.vis(ei, envir)
>   5: source(file.path(getwd(), "Skripte", "r", "GAM_hourly", "1_calcs_GAM_all_sites_hourly.R"),     echo = TRUE, max.deparse.length = 2e+05)
>
> Possible actions:
> 1: abort (with core dump, if enabled)
> 2: normal R exit
> 3: exit R without saving workspace
> 4: exit R saving workspace
>
>
>
> It seems as whether the error occurs when I try to perform a spline interpolation of a smooth function. Can anybody give me some hints on where to dig for a solution?

Upgrade to a recent release, and if the error still occurs, try to 
isolate it to a simple reproducible example.

Duncan Murdoch

>
> Thanks a lot
> Jannis
>
>
> My R version (if this has anything to do with it):
>
>> sessionInfo()
> R version 2.10.1 (2009-12-14)
> x86_64-unknown-linux-gnu
>
> locale:
>   [1] LC_CTYPE=de_DE.UTF-8       LC_NUMERIC=C
>   [3] LC_TIME=de_DE.UTF-8        LC_COLLATE=de_DE.UTF-8
>   [5] LC_MONETARY=C              LC_MESSAGES=de_DE.UTF-8
>   [7] LC_PAPER=de_DE.UTF-8       LC_NAME=C
>   [9] LC_ADDRESS=C               LC_TELEPHONE=C
> [11] LC_MEASUREMENT=de_DE.UTF-8 LC_IDENTIFICATION=C
>
> attached base packages:
> [1] stats     graphics  grDevices utils     datasets  methods   base
>
> other attached packages:
> [1] mgcv_1.6-2
>
> loaded via a namespace (and not attached):
> [1] grid_2.10.1        lattice_0.18-3     Matrix_0.999375-43 nlme_3.1-96
> [5] tools_2.10.1
>
>
>
>
>
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list