RStudio 在 Ubuntu 上崩溃了。

我的RStudio突然在打开文件(R或Rmd)时崩溃了。

enter image description here

我遇到一个奇怪的弹窗,不得不强制关闭它。这个错误也几乎会冻结其他打开的应用程序,比如浏览器。

RStudio正常打开。我可以在控制台中运行代码,而且运行正常。我可以创建新文件并从那里运行代码。但是,如果我尝试保存该文件,就会出现此错误。到目前为止,只有当我保存或打开R/Rmd文件时才会出现问题。通过终端运行R也完全正常。

这个问题是昨天开始的,当时我的硬盘已经满了,没有可用空间了。然后很明显我无法再保存了。之后,我已经清理了硬盘上的空间。我的硬盘上还有35GB的可用空间。并且系统已经重新启动过。

我已经尝试删除了我的主目录下的.rstudio-desktop文件夹,但没有起作用。然后我卸载并重新安装了RStudio,但也没有解决问题。有人有任何想法吗?

R version 3.5.2 (2018-12-20)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 18.04.2 LTS

RStudio Version 1.1.463 – © 2009-2018 RStudio, Inc.
Mozilla/5.0 (X11; Linux x86_64) 
AppleWebKit/538.1 (KHTML, like Gecko)
RStudio Safari/538.1 Qt/5.4.0

编辑:根据建议添加了错误日志。

运行journalctl -f,结果如下:

Mar 15 14:41:05 elmo systemd[1]: Starting Process error reports when automatic reporting is enabled...
Mar 15 14:41:05 elmo whoopsie-upload-all[14945]: ERROR: whoopsie is not running
Mar 15 14:41:05 elmo systemd[1]: apport-autoreport.service: Main process exited, code=exited, status=1/FAILURE
Mar 15 14:41:05 elmo systemd[1]: apport-autoreport.service: Failed with result 'exit-code'.
Mar 15 14:41:05 elmo systemd[1]: Failed to start Process error reports when automatic reporting is enabled.

在命令行中运行了RStudio,并得到以下结果:
load glyph failed err=6 face=0x2372ac0, glyph=2798
load glyph failed err=6 face=0x2372ac0, glyph=2798
[1]    14976 killed     rstudio

Rstudio在上述两种情况下都崩溃并被终止了。

运行journalctl -f并查看RStudio崩溃时的输出。或者打开终端并从那里运行RStudio,当它不可避免地崩溃时,也在那里检查输出。 - j-money
请编辑您的原帖并添加此信息,这样我们就不必在评论中搜索有用的信息了。 - j-money
你使用的是什么桌面环境?你的显卡和驱动程序是什么?你正在运行Wayland吗?你的Ubuntu版本是多少? - N0rbert
Ubuntu 18.04.2 带有 GNOME 桌面。不太清楚 Wayland 是什么,但我可能没有在运行它。 - mindlessgreen
2个回答


删除此文件/home/user/.config/QtProject.conf.lock解决了问题。