Rstudio session aborted fatal error

crash-report

#1

Hello,

I am experiencing frequent fatal errors that cause my Rstudio session to crash. The log files give the following errors (many many of them, not enough room to paste all):

04 Apr 2018 19:54:16 [rdesktop] ERROR system error 104 (Connection reset by peer); OCCURRED AT: void rstudio::core::http::AsyncClient<SocketService>::handleReadStatusLine(const rstudio_boost::system::error_code&) [with SocketService = rstudio_boost::asio::basic_stream_socket<rstudio_boost::asio::local::stream_protocol>] /home/ubuntu/rstudio/src/cpp/core/include/core/http/AsyncClient.hpp:376; LOGGED FROM: void rstudio::desktop::NetworkReply::onError(const rstudio::core::Error&) /home/ubuntu/rstudio/src/cpp/desktop/DesktopNetworkReply.cpp:288

03 Apr 2018 19:07:28 [rsession-fintzij] CLIENT EXCEPTION (rsession-fintzij): (TypeError) : undefined is not an object (evaluating 'this.a.a.r.row');|||com/google/gwt/dev/jjs/intrinsic/com/google/gwt/lang/Exceptions.java#28::wrap|||com/google/gwt/core/client/impl/SchedulerImpl.java#167::runScheduledTasks|||com/google/gwt/core/client/impl/SchedulerImpl.java#338::flushPostEventPumpCommands|||com/google/gwt/core/client/impl/SchedulerImpl.java#76::execute|||com/google/gwt/core/client/impl/SchedulerImpl.java#140::execute|||com/google/gwt/core/client/impl/Impl.java#244::apply|||com/google/gwt/core/client/impl/Impl.java#283::entry0|||#-1::anonymous|||com/google/gwt/cell/client/AbstractEditableCell.java#41::viewDataMap|||Client-ID: 33e600bb-c1b1-46bf-b562-ab5cba070b0e|||User-Agent: Mozilla/5.0 (X11  N  Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) RStudio Safari/538.1 Qt/5.4.2

I'm not sure how to go about diagnosing the problem. Deleting the session info, as suggested in a few threads, has not solved the problem. Any suggestions on how to prevent this behavior would be really appreciated. I have copied the system info from the diagnostic file below.

Thank you!
Jon

[1] "1.1.442"

$R
[1] "/usr/bin/R"

$pdflatex
[1] "/usr/bin/pdflatex"

$bibtex
[1] "/usr/bin/bibtex"

$gcc
[1] "/usr/bin/gcc"

$git
[1] "/usr/bin/git"

$svn
[1] ""

R version 3.4.4 (2018-03-15)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 16.04.4 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               LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8     LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                  LC_ADDRESS=C               LC_TELEPHONE=C             LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C

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

other attached packages:
[1] stemr_0.1.0

loaded via a namespace (and not attached):
[1] compiler_3.4.4 tools_3.4.4    yaml_2.1.18    Rcpp_0.12.16   odeintr_1.7.1

SysInfo:
                                             sysname                                              release                                              version
                                             "Linux"                                  "4.13.0-37-generic" "#42~16.04.1-Ubuntu SMP Wed Mar 7 16:03:28 UTC 2018"
                                            nodename                                              machine                                                login
                            "fintzij-ThinkPad-T470s"                                             "x86_64"                                            "unknown"
                                                user                                       effective_user
                                           "fintzij"                                            "fintzij"

R Version:
               _
platform       x86_64-pc-linux-gnu
arch           x86_64
os             linux-gnu
system         x86_64, linux-gnu
status
major          3
minor          4.4
year           2018
month          03
day            15
svn rev        74408
language       R
version.string R version 3.4.4 (2018-03-15)
nickname       Someone to Lean On
$CLICOLOR_FORCE
[1] "1"

$CLUTTER_IM_MODULE
[1] "xim"

$COMPIZ_BIN_PATH
[1] "/usr/bin/"

$COMPIZ_CONFIG_PROFILE
[1] "ubuntu"

$DBUS_SESSION_BUS_ADDRESS
[1] "unix:abstract=/tmp/dbus-0PNqiCsses"

$DEFAULTS_PATH
[1] "/usr/share/gconf/ubuntu.default.path"

$DESKTOP_SESSION
[1] "ubuntu"

$DISPLAY
[1] ":0"

$EDITOR
[1] "vi"

$GDM_LANG
[1] "en_US"

$GDMSESSION
[1] "ubuntu"

$GIO_LAUNCHED_DESKTOP_FILE
[1] "/usr/share/applications/rstudio.desktop"

$GIO_LAUNCHED_DESKTOP_FILE_PID
[1] "23478"

$GIT_ASKPASS
[1] "rpostback-askpass"

$GNOME_DESKTOP_SESSION_ID
[1] "this-is-deprecated"

$GNOME_KEYRING_CONTROL
[1] ""

$GNOME_KEYRING_PID
[1] ""

$GPG_AGENT_INFO
[1] "/home/fintzij/.gnupg/S.gpg-agent:0:1"

$GTK2_MODULES
[1] "overlay-scrollbar"

$GTK_IM_MODULE
[1] "ibus"

$GTK_MODULES
[1] "gail:atk-bridge:unity-gtk-module"

$HOME
[1] "/home/fintzij"

$IM_CONFIG_PHASE
[1] "1"

$INSTANCE
[1] ""

$JOB
[1] "unity-settings-daemon"

$LANG
[1] "en_US.UTF-8"

$LANGUAGE
[1] "en_US"

$LD_LIBRARY_PATH
[1] "/usr/lib/R/lib::/lib:/usr/lib/x86_64-linux-gnu:/usr/lib/jvm/default-java/jre/lib/amd64/server"

$LN_S
[1] "ln -s"

$LOGNAME
[1] "fintzij"

$MAKE
[1] "make"

$MANDATORY_PATH
[1] "/usr/share/gconf/ubuntu.mandatory.path"

$PAGER
[1] "/usr/bin/pager"

$PATH
[1] "/home/fintzij/bin:/home/fintzij/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"

$PWD
[1] "/home/fintzij"

$QT4_IM_MODULE
[1] "xim"

$QT_ACCESSIBILITY
[1] "1"

$QT_IM_MODULE
[1] "ibus"

$QT_LINUX_ACCESSIBILITY_ALWAYS_ON
[1] "1"

$QT_QPA_PLATFORMTHEME
[1] "appmenu-qt5"

$R_BROWSER
[1] "xdg-open"

$R_BZIPCMD
[1] "/bin/bzip2"

$R_DOC_DIR
[1] "/usr/share/R/doc"

$R_GZIPCMD
[1] "/bin/gzip -n"

$R_HOME
[1] "/usr/lib/R"

$R_INCLUDE_DIR
[1] "/usr/share/R/include"

$R_LIBS_SITE
[1] "/usr/local/lib/R/site-library:/usr/lib/R/site-library:/usr/lib/R/library"

$R_LIBS_USER
[1] "~/R/x86_64-pc-linux-gnu-library/3.4"

$RMARKDOWN_MATHJAX_PATH
[1] "/usr/lib/rstudio/resources/mathjax-26"

$R_PAPERSIZE
[1] "letter"

$R_PAPERSIZE_USER
[1] "letter"

$R_PDFVIEWER
[1] "/usr/bin/xdg-open"

$R_PLATFORM
[1] "x86_64-pc-linux-gnu"

$R_PRINTCMD
[1] "/usr/bin/lpr"

$R_RD4PDF
[1] "times,inconsolata,hyper"

$R_SESSION_TMPDIR
[1] "/tmp/Rtmp9YCmYc"

$R_SHARE_DIR
[1] "/usr/share/R/share"

$RS_LOCAL_PEER
[1] "/tmp/28042-rsession"

$RS_PPM_FD_READ
[1] "30"

$RS_PPM_FD_WRITE
[1] "31"

$RS_RPOSTBACK_PATH
[1] "/usr/lib/rstudio/bin/rpostback"

$RS_SHARED_SECRET
[1] "16816927778469308861804289383"

$RSTUDIO
[1] "1"

$RSTUDIO_CONSOLE_COLOR
[1] "256"

$RSTUDIO_CONSOLE_WIDTH
[1] "176"

$RSTUDIO_PANDOC
[1] "/usr/lib/rstudio/bin/pandoc"

$RSTUDIO_SESSION_PORT
[1] "28042"

$RSTUDIO_USER_IDENTITY
[1] "fintzij"

$RSTUDIO_WINUTILS
[1] "bin/winutils"

$R_SYSTEM_ABI
[1] "linux,gcc,gxx,gfortran,?"

$R_TEXI2DVICMD
[1] "/usr/bin/texi2dvi"

$R_UNZIPCMD
[1] "/usr/bin/unzip"

$R_ZIPCMD
[1] "/usr/bin/zip"

$SED
[1] "/bin/sed"

$SESSION
[1] "ubuntu"

$SESSIONTYPE
[1] "gnome-session"

$SHELL
[1] "/bin/bash"

$SHLVL
[1] "0"

$SSH_AUTH_SOCK
[1] "/run/user/1000/keyring/ssh"

$TAR
[1] "/bin/tar"

$TERM
[1] "xterm-256color"

$UNITY_DEFAULT_PROFILE
[1] "unity"

$UNITY_HAS_3D_SUPPORT
[1] "true"

$UPSTART_EVENTS
[1] "xsession started"

$UPSTART_INSTANCE
[1] ""

$UPSTART_JOB
[1] "unity7"

$UPSTART_SESSION
[1] "unix:abstract=/com/ubuntu/upstart-session/1000/1341"

$USER
[1] "fintzij"

$XAUTHORITY
[1] "/home/fintzij/.Xauthority"

$XDG_CONFIG_DIRS
[1] "/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg"

$XDG_CURRENT_DESKTOP
[1] "Unity"

$XDG_DATA_DIRS
[1] "/usr/share/ubuntu:/usr/share/gnome:/usr/local/share:/usr/share:/var/lib/snapd/desktop:/var/lib/snapd/desktop"

$XDG_GREETER_DATA_DIR
[1] "/var/lib/lightdm-data/fintzij"

$XDG_MENU_PREFIX
[1] "gnome-"

$XDG_RUNTIME_DIR
[1] "/run/user/1000"

$XDG_SEAT
[1] "seat0"

$XDG_SEAT_PATH
[1] "/org/freedesktop/DisplayManager/Seat0"

$XDG_SESSION_DESKTOP
[1] "ubuntu"

$XDG_SESSION_ID
[1] "c2"

$XDG_SESSION_PATH
[1] "/org/freedesktop/DisplayManager/Session0"

$XDG_SESSION_TYPE
[1] "x11"

$XDG_VTNR
[1] "7"

$XMODIFIERS
[1] "@im=ibus"

 [1] ".GlobalEnv"        "package:stemr"     "tools:rstudio"     "package:stats"     "package:graphics"  "package:grDevices" "package:utils"     "package:datasets"
 [9] "package:methods"   "Autoloads"         "package:base"