RMongo 安装失败并在 Ubuntu 中出现分段错误 [英] RMongo installation fails with Segmentation Fault in Ubuntu
问题描述
过去几个小时我一直在尝试安装具有以下输出的 RMongo 包:
I've been for last couple of hours trying to install the RMongo package with the following output:
> install.packages("RMongo")
Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
--- Please select a CRAN mirror for use in this session ---
trying URL 'https://repo.bppt.go.id/cran/src/contrib/RMongo_0.0.25.tar.gz'
Content type 'application/x-gzip' length 4169519 bytes (4.0 MB)
==================================================
downloaded 4.0 MB
* installing *source* package ‘RMongo’ ...
** package ‘RMongo’ successfully unpacked and MD5 sums checked
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
Segmentation fault (core dumped)
ERROR: loading failed
* removing ‘/usr/local/lib/R/site-library/RMongo’
The downloaded source packages are in
‘/tmp/RtmpHZoomn/downloaded_packages’
Warning message:
In install.packages("RMongo") :
installation of package ‘RMongo’ had non-zero exit status
我在尝试安装 xlsx 时也发现了同样的错误.
I've also identified the same error trying to install xlsx.
我不知道过去的发行版发生了什么变化,因为我已经在 Ubuntu 16.04.2 和 Ubuntu 17.04 上尝试过,结果相同.
I don't know what has changed in the past distros, since I've tried this with Ubuntu 16.04.2 and Ubuntu 17.04, with the same result.
这是对 Ubuntu 16.04.2 发行版中 R 环境的描述:
This is a description of the R environment in the Ubuntu 16.04.2 distro:
> sessionInfo()
R version 3.4.0 (2017-04-21)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 16.04.2 LTS
Matrix products: default
BLAS: /usr/lib/libblas/libblas.so.3.6.0
LAPACK: /usr/lib/lapack/liblapack.so.3.6.0
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=es_ES.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=es_ES.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=es_ES.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=es_ES.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] compiler_3.4.0 tools_3.4.0 tcltk_3.4.0
知道会发生什么吗?
推荐答案
linux-image-3.13.0-121-generic 和 linux-image-4.4.0-81-generic 包含对 堆栈冲突漏洞.
linux-image-3.13.0-121-generic and linux-image-4.4.0-81-generic contain a fix for the Stack Clash vulnerability.
小心内核更新,它修复了这个漏洞.当前补丁破坏了许多 java(sun/oracle 和 openjdk)应用程序.请参阅错误#1699772:linux-image-4.4.0-81-generic, linux-image-3.13.0-121-generic 回归:许多用户空间应用程序崩溃.解决方法是使用旧内核临时重启系统(Linux-image-3.13.0-119-generic in Trusty).
Be careful with kernel updates, which fix this vulnerability. Current patch breaks many java (sun/oracle and openjdk) applications. See Bug #1699772: linux-image-4.4.0-81-generic, linux-image-3.13.0-121-generic Regression: many user-space apps crashing. The solution is to temporary reboot system with old kernel (linux-image-3.13.0-119-generic in Trusty).
Ubuntu 内核开发人员 将准备新补丁几天.
Ubuntu kernel developers will prepare new patch in a few days.
更新: 最新更新(至少是 image-4.4.0-83-generic、linux-image-4.8.0-58-generic、linux-image-4.10.0-26-generic) 修复此漏洞和用户空间程序的问题.
UPDATE: Latest updates (at least image-4.4.0-83-generic, linux-image-4.8.0-58-generic, linux-image-4.10.0-26-generic) fix this vulnerability and problems with user-space programs.
这篇关于RMongo 安装失败并在 Ubuntu 中出现分段错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!