On Fri, 27 Sep 2019, Marc Girondot via R-sig-Geo wrote:

Dear,

When I load raster 3.0-7 package installed or from source or from binary in r 3.6.1 (macosX 10.14.6), I get a segmentation fault crash:

Had this been a general problem, it would show up in:

https://cran.r-project.org/web/checks/check_results_raster.html

Did you install binary from CRAN with the same result? Your OSX version is newer than that used on the CRAN testing framework - are other packages also failing? Have you checked that other packages are up to date? Probably the maintainer does not use OSX (nor do I), so it is hard to say what is specific about your system that is causing the problem. If you are trying to install from source, your Rcpp package may need refreshing, but it is very hard to tell. Do report back when resolved.

Roger


(see below)

As someone the same problem and a solution ? Thanks

 library("raster")
Le chargement a n??cessit?? le package : sp

??*** caught segfault ***
address 0x31, cause 'memory not mapped'

Traceback:
??1: Module(module, mustStart = TRUE, where = env)
??2: doTryCatch(return(expr), name, parentenv, handler)
??3: tryCatchOne(expr, names, parentenv, handlers[[1L]])
??4: tryCatchList(expr, classes, parentenv, handlers)
??5: tryCatch(Module(module, mustStart = TRUE, where = env), error = function(e) e)
??6: loadModule(module = "spmod", what = TRUE, env = ns, loadNow = TRUE)
??7: (function (ns) loadModule(module = "spmod", what = TRUE, env = ns, loadNow = TRUE))(<environment>)
??8: doTryCatch(return(expr), name, parentenv, handler)
??9: tryCatchOne(expr, names, parentenv, handlers[[1L]])
10: tryCatchList(expr, classes, parentenv, handlers)
11: tryCatch((function (ns) loadModule(module = "spmod", what = TRUE, env = ns, loadNow = TRUE))(<environment>),???????? error = function(e) e) 12: eval(substitute(tryCatch(FUN(WHERE), error = function(e) e),???????? list(FUN = f, WHERE = where)), where) 13: eval(substitute(tryCatch(FUN(WHERE), error = function(e) e),???????? list(FUN = f, WHERE = where)), where)
14: .doLoadActions(where, attach)
15: methods::cacheMetaData(ns, TRUE, ns)
16: loadNamespace(package, lib.loc)
17: doTryCatch(return(expr), name, parentenv, handler)
18: tryCatchOne(expr, names, parentenv, handlers[[1L]])
19: tryCatchList(expr, classes, parentenv, handlers)
20: tryCatch({?????? attr(package, "LibPath") <- which.lib.loc ns <- loadNamespace(package, lib.loc)?????? env <- attachNamespace(ns, pos = pos, deps, exclude, include.only)}, error = function(e) {?????? P <- if (!is.null(cc <- conditionCall(e)))???????????????? paste(" in", deparse(cc)[1L])?????? else ""?????? msg <- gettextf("package or namespace load failed for %s%s:\n %s",???????????????? sQuote(package), P, conditionMessage(e)) if (logical.return)???????????????? message(paste("Error:", msg), domain = NA)?????? else stop(msg, call. = FALSE, domain = NA)})
21: library("raster")

Possible actions:
1: abort (with core dump, if enabled)
2: normal R exit
3: exit R without saving workspace
4: exit R saving workspace

_______________________________________________
R-sig-Geo mailing list
R-sig-Geo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-geo



--
Roger Bivand
Department of Economics, Norwegian School of Economics,
Helleveien 30, N-5045 Bergen, Norway.
voice: +47 55 95 93 55; e-mail: roger.biv...@nhh.no
https://orcid.org/0000-0003-2392-6140
https://scholar.google.no/citations?user=AWeghB0AAAAJ&hl=en

_______________________________________________
R-sig-Geo mailing list
R-sig-Geo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-geo

Reply via email to