I'm using RStudio 1.2.1335 on Ubuntu 18.04.2. Right after upgrading, I tried editing a CSS file and serving a site using blogdown. RStudio would frequently crash while I was editing the CSS file. When I try opening toml files, RStudio immediately crashes every time.
I upgraded to RStudio 1.2 on Windows 10 and I have no such issues. The same CSS and toml files don't cause RStudio to crash on Windows.
What might be going on?
Can you provide a reproducible example; specifically, a CSS / TOML file that crashes RStudio when opened?
I'd also be curious what the output of
lsof -p `pgrep rstudio`
is within a terminal after launching RStudio.
Sure. Even this minimal toml causes RStudio to crash within a few seconds of opening it.
title = ""
theme = "hugo-tranquilpeak-theme"
baseURL = "/"
publishDir = "/"
ignoreFiles = ["\\.R$", "\\.Rmd$", "\\.Rmarkdown$", "_files$", "_cache$", "exampleSite"]
languageCode = "en-us"
defaultContentLanguage = "en-us"
paginate = 7
canonifyurls = true
# Menu Configuration
[[menu.main]]
weight = 1
identifier = "about"
name = "About"
pre = "<i class=\"sidebar-button-icon fa fa-lg fa-question\"></i>"
url = "/#about"
[[menu.main]]
weight = 2
identifier = "categories"
name = "Categories"
pre = "<i class=\"sidebar-button-icon fa fa-lg fa-bookmark\"></i>"
url = "/categories"
[[menu.main]]
weight = 3
identifier = "tags"
name = "Tags"
pre = "<i class=\"sidebar-button-icon fa fa-lg fa-tags\"></i>"
url = "/tags"
[[menu.main]]
weight = 4
identifier = "archives"
name = "Archives"
pre = "<i class=\"sidebar-button-icon fa fa-lg fa-archive\"></i>"
url = "/archives"
[[menu.main]]
weight = 5
identifier = "rss"
name = "RSS"
pre = "<i class=\"sidebar-button-icon fa fa-lg fa-rss\"></i>"
url = "/index.xml"
As for the output of lsof -p \
pgrep rstudio`` in the terminal after launching RStudio... it's really really long. You sure you want it?
Yes, I'm sure (you can upload it as a gist as a simple way to share it if needed)
FWIW, I'm running 1.2. and Ubuntu 18.04 and it doesn't crash it for me. So it looks system-specific to me.
test
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
rstudio 8172 evroot cwd DIR 8,2 4096 5505026 /home/evroot
rstudio 8172 evroot rtd DIR 8,2 4096 2 /
rstudio 8172 evroot txt REG 8,2 8896120 10239196 /usr/lib/rstudio/bin/rstudio
rstudio 8172 evroot mem CHR 226,0 485 /dev/dri/card0
rstudio 8172 evroot DEL REG 0,24 93 /dev/shm/.org.chromium.Chromium.6fdYd9
rstudio 8172 evroot DEL REG 0,5 4063247 /SYSV00000000
rstudio 8172 evroot mem REG 8,2 757076 11272849 /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf
rstudio 8172 evroot mem REG 8,2 611056 10239240 /usr/lib/rstudio/plugins/imageformats/libqwebp.so
rstudio 8172 evroot mem REG 8,2 27488 10239239 /usr/lib/rstudio/plugins/imageformats/libqwbmp.so
This file has been truncated. show original
I should also add that now RStudio crashes whenever I grab the scrollbar and yank it up or down when a script or dataset is being viewed.
Hi
I have the same problem since I installed R 1.2.1335 on Ubuntu 18.04.2, but I just see a solution. In my case it was an issue with the display driver. I switch from Using X.Org X server -- Nouveau display driver to nvidia-driver-390 and all seems to work perfectly.
opened 10:07PM - 29 Oct 18 UTC
closed 12:11AM - 02 Apr 20 UTC
bug
reproducible
desktop integration
Rstudio preview version is crashing when trying to change global settings, or ev… en changing pane boundaries.
### System details
RStudio Edition : Desktop
RStudio Version : 1.2.1070
OS Version : Ubuntu 18.04
R Version : 3.5.1
### Steps to reproduce the problem
Open Rstudio, open a file, try to expand pane.
### Describe the problem in detail
Here is console output when starting rstudio from zsh.
```
rstudio
[5115:5188:1030/090320.916538:ERROR:nss_util.cc(750)] After loading Root Certs, loaded==false: NSS error code: -8018
rstudio: ../../nouveau/pushbuf.c:727: nouveau_pushbuf_data: Assertion `kref' failed.
Received signal 6
#0 0x7fbfff2850a5 <unknown>
#1 0x7fbffdfc6141 <unknown>
#2 0x7fbfff28543d <unknown>
#3 0x7fbffb1c7890 <unknown>
#4 0x7fbff95e9e97 gsignal
#5 0x7fbff95eb801 abort
#6 0x7fbff95db39a <unknown>
#7 0x7fbff95db412 __assert_fail
#8 0x7fbfdc7d7b8d nouveau_pushbuf_data
#9 0x7fbfdc7d7b46 nouveau_pushbuf_data
#10 0x7fbfdc7d7c14 <unknown>
#11 0x7fbfdc7d7ebf <unknown>
#12 0x7fbfdc7d8a50 nouveau_pushbuf_kick
#13 0x7fbfdd1fb176 <unknown>
#14 0x7fbfdce6be0b <unknown>
#15 0x7fbfdcfcf17a <unknown>
#16 0x7fbfdeb620c8 <unknown>
#17 0x7fbfef0acc52 <unknown>
#18 0x7fbffbcc5d9d QOpenGLContext::swapBuffers()
#19 0x7fbffbf2cf7b QPlatformBackingStore::composeAndFlush()
#20 0x7fbfefb1ad15 <unknown>
#21 0x7fbffc4ffa1a <unknown>
#22 0x7fbffc500fbe <unknown>
#23 0x7fbffc50242e <unknown>
#24 0x7fbffc502d70 <unknown>
#25 0x7fbffc5192cf QWidgetPrivate::syncBackingStore()
#26 0x7fbffc530120 QWidget::event()
#27 0x7fbffc63cec1 QMainWindow::event()
#28 0x7fbffc4f363c QApplicationPrivate::notify_helper()
#29 0x7fbffc4fa987 QApplication::notify()
#30 0x7fbffb653028 QCoreApplication::notifyInternal2()
#31 0x7fbffb655abb QCoreApplicationPrivate::sendPostedEvents()
#32 0x7fbffb6a7b63 <unknown>
#33 0x7fbff2637287 g_main_context_dispatch
#34 0x7fbff26374c0 <unknown>
#35 0x7fbff263754c g_main_context_iteration
#36 0x7fbffb6a71af QEventDispatcherGlib::processEvents()
#37 0x7fbfefb8db81 <unknown>
#38 0x7fbffb65189a QEventLoop::exec()
#39 0x7fbffb65a424 QCoreApplication::exec()
#40 0x5592bce7f2aa <unknown>
#41 0x7fbff95ccb97 __libc_start_main
#42 0x5592bce82afb <unknown>
r8: 0000000000000000 r9: 00007fff1f4fd600 r10: 0000000000000008 r11: 0000000000000246
r12: 00007fbfdc7d972a r13: 00007fbfdc7d9743 r14: 00000000000002d7 r15: 0000000000000003
di: 0000000000000002 si: 00007fff1f4fd600 bp: 00007fbff97627d8 bx: 0000000000000000
dx: 0000000000000000 ax: 0000000000000000 cx: 00007fbff95e9e97 sp: 00007fff1f4fd600
ip: 00007fbff95e9e97 efl: 0000000000000246 cgf: 002b000000000033 erf: 0000000000000000
trp: 0000000000000000 msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
Calling _exit(1). Core file will not be generated.
```
1 Like
I'm using Nouveau right now, I believe. I'll give the proprietary 390 driver a shot and report back. Thanks.
Alright. That did the trick, @Schreiber . Thank you for the help.
For anyone reading this in the future: I switched to Nvidia-390, uninstalled RStudio 1.2, restarted the computer, and reinstalled RStudio 1.2. I can now use the scrollbars and open/edit RMarkdown and toml files without crashing.
Indeed, this is something known about the Noveau driver already with the RStudio Desktop 1.2. pre-releases (and now with the official 1.2.1335 release). See https://github.com/rstudio/rstudio/issues/3781 .
system
Closed
April 20, 2019, 4:45pm
11
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed. If you have a query related to it or one of the replies, start a new topic and refer back with a link.