Just as one more datapoint: I cannot reproduce the segfault, with
R 3.5.1 on (L)Ubuntu 18.04. (I use the Ubuntu package, i.e. I did not build from source.)

regards
    Enrico


Quoting Göran Broström <goran.brost...@umu.se>:

I am running R 3.5.1 on ubuntu 18.04, installed via apt. When I run R from the bash prompt, I get (reinstalling r-base doesn't help)

devtools::install_github("goranbrostrom/eha", build_vignettes = TRUE)

 *** caught segfault ***
address 0x68456, cause 'memory not mapped'

Traceback:
 1: dyn.load(file, DLLpath = DLLpath, ...)
 2: library.dynam(lib, package, package.lib)
 3: loadNamespace(name)
 4: doTryCatch(return(expr), name, parentenv, handler)
 5: tryCatchOne(expr, names, parentenv, handlers[[1L]])
 6: tryCatchList(expr, classes, parentenv, handlers)
 7: tryCatch(loadNamespace(name), error = function(e) stop(e))
 8: getNamespace(ns)
 9: asNamespace(ns)
10: getExportedValue(pkg, name)
11: curl::new_handle
12: handle(name)
13: handle_find(url)
14: handle_url(handle, url, ...)
15: httr::GET(url, path = path, httr::write_disk(path = tmp), auth)
16: remote_package_name.github_remote(remote)
17: remote_package_name(remote)
18: install_remote(..., quiet = quiet)
19: doTryCatch(return(expr), name, parentenv, handler)
20: tryCatchOne(expr, names, parentenv, handlers[[1L]])
21: tryCatchList(expr, classes, parentenv, handlers)
22: tryCatch(install_remote(..., quiet = quiet), error = function(e) { if (!quiet) { message("Installation failed: ", conditionMessage(e)) } FALSE})
23: FUN(X[[i]], ...)
24: vapply(remotes, try_install_remote, ..., FUN.VALUE = logical(1))
25: install_remotes(remotes, quiet = quiet, ...)
26: devtools::install_github("goranbrostrom/eha", build_vignettes = TRUE)

Possible actions:
1: abort (with core dump, if enabled)
2: normal R exit
3: exit R without saving workspace
4: exit R saving workspace
Selection: 3
Segmentation fault (core dumped)
-----------------------------------------------------------------
devtools is version 1.13.6 in all cases.

However, running the same in RStudio: No problem.

The same setup, but on ubuntu 16.04 (another computer): No problem.

On my Mac: No problem.

Is it ubuntu, devtools, or me? If it is me, what can I do?

Göran

_______________________________________________
R-SIG-Debian mailing list
R-SIG-Debian@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-debian



--
Enrico Schumann
Lucerne, Switzerland
http://enricoschumann.net

_______________________________________________
R-SIG-Debian mailing list
R-SIG-Debian@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-debian

Reply via email to