RStudio 4.0.3 Crashes on Ubuntu 20.04.1 ERROR session hadabend; LOGGED FROM: rstudio::core::Error

Crash Information:

My RStudio has been crashing a lot recently after updating to the newest release of Ubuntu. It seems like this is related to opening/loading files, but I don't know how to confirm that.

Steps to reproduce -

RStudio crashed at opts_knit$set

> require(dplyr)
> require("knitr")
> require(readr)
> require(readxl)
> opts_knit$set(root.dir = "~/R/Data/Data 201/Week 4")

Here are Ubuntu logs

jon@rstudio:~$ journalctl -f
-- Logs begin at Fri 2020-05-29 22:51:25 UTC. --
Nov 21 12:28:36 rstudio systemd[1008]: Startup finished in 655ms.
Nov 21 12:28:36 rstudio systemd[1]: Started User Manager for UID 1000.
Nov 21 12:28:36 rstudio systemd[1]: Started Session 5 of user jon.
Nov 21 12:29:29 rstudio snapd[701]: storehelpers.go:551: cannot refresh: snap has no updates available: "core", "core18", "lxd"
Nov 21 12:29:29 rstudio snapd[701]: autorefresh.go:410: auto-refresh: all snaps are up-to-date
Nov 21 13:17:01 rstudio CRON[1139]: pam_unix(cron:session): session opened for user root by (uid=0)
Nov 21 13:17:01 rstudio CRON[1140]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Nov 21 13:17:01 rstudio CRON[1139]: pam_unix(cron:session): session closed for user root
Nov 21 13:37:03 rstudio rsession-jon[1214]: ERROR session hadabend; LOGGED FROM: rstudio::core::Error {anonymous}::rInit(const rstudio::r::session::RInitInfo&) src/cpp/session/SessionMain.cpp:655
Nov 21 13:37:44 rstudio kernel: TCP: request_sock_TCP: Possible SYN flooding on port 3501. Sending cookies.  Check SNMP counters.

System Information:

This is an Ubuntu VM running on Proxmox. RStudio is installed on an SSD with the data stored on a seperate drive that is mounted locally.

  • Your sessionInfo():
> sessionInfo()
R version 4.0.3 (2020-10-10)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 20.04.1 LTS

Matrix products: default
BLAS:   /usr/lib/x86_64-linux-gnu/openblas-pthread/libblas.so.3
LAPACK: /usr/lib/x86_64-linux-gnu/openblas-pthread/liblapack.so.3

locale:
 [1] LC_CTYPE=C.UTF-8       LC_NUMERIC=C           LC_TIME=C.UTF-8        LC_COLLATE=C.UTF-8     LC_MONETARY=C.UTF-8   
 [6] LC_MESSAGES=C.UTF-8    LC_PAPER=C.UTF-8       LC_NAME=C              LC_ADDRESS=C           LC_TELEPHONE=C        
[11] LC_MEASUREMENT=C.UTF-8 LC_IDENTIFICATION=C   

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] ggplot2_3.3.2 readxl_1.3.1  readr_1.4.0   knitr_1.30    dplyr_1.0.2   tidyr_1.1.2  

loaded via a namespace (and not attached):
 [1] Rcpp_1.0.5       pillar_1.4.6     compiler_4.0.3   cellranger_1.1.0 tools_4.0.3      digest_0.6.27   
 [7] lifecycle_0.2.0  tibble_3.0.4     gtable_0.3.0     lattice_0.20-41  pkgconfig_2.0.3  rlang_0.4.8     
[13] Matrix_1.2-18    cli_2.1.0        rstudioapi_0.11  xfun_0.19        withr_2.3.0      generics_0.1.0  
[19] vctrs_0.3.4      hms_0.5.3        grid_4.0.3       tidyselect_1.1.0 glue_1.4.2       R6_2.5.0        
[25] fansi_0.4.1      purrr_0.3.4      magrittr_1.5     scales_1.1.1     ellipsis_0.3.1   htmltools_0.5.0 
[31] assertthat_0.2.1 colorspace_1.4-1 munsell_0.5.0    crayon_1.3.4    

Crash Report:

jon@rstudio:~$ /usr/lib/rstudio/bin/rstudio-backtrace.sh
-bash: /usr/lib/rstudio/bin/rstudio-backtrace.sh: No such file or directory
1 Like

This topic was automatically closed 21 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.