RStudio Desktop keeps crashing

I apologize I am only helpdesk where I am and not a user of the application and not too familiar with the R and RStudio applications.

I have a user while working in one particular project, RStudio will crash. So far its while not doing anything particular, he gets a message: R Session Aborted (with the pic of the grey bomb) R Encountered a Fatal Error. The Session has been terminated.

Windows Error Logs will show Event ID 1000, Application Error. Faulting application name: rsession.exe, version 1.2.1114.0...Faulting module name: R.dll, version 3.52.10334.0.

the session log shows:
07 Jun 2019 19:25:30 [rsession-username] WARNING Abort requested; LOGGED FROM: bool __cdecl rstudio::session::connection::checkForAbort(class rstudio_boost::shared_ptr,const class rstudio_boost::function<void __cdecl(void)>) c:\jenkins\workspace\ide\windows\src\cpp\session\http\sessionhttpconnectionutils.cpp:140

and..
10 Jun 2019 11:27:31 [rdesktop] ERROR Main window closed unexpectedly; LOGGED FROM: auto __cdecl rstudio::desktop::MainWindow::closeEvent::<lambda_4cc4d0df19b92db780de6d80571f943a>::operator ()(class QVariant) const c:\jenkins\workspace\ide\windows\src\cpp\desktop\desktopmainwindow.cpp:281

There doesn't seem to be a trigger to make it happen, it just happens after working on this one project for a short period of time. The user can access the same project from a different PC and it seems to work fine.

System Information:

  • RStudio Edition: Desktop
  • RStudio Version: 1.2.1114 - Windows 7+ (64-bit)
  • OS Version: Windows 7
  • R Version: 3.5.2 (2018-12-20) -- "Eggshell Igloo"

Thanks in advance for any help! I will paste the diagnostics report below in case that helps.

[1] "1.2.1114"

$R
[1] "C:\PROGRA~1\R\R-35~1.2\bin\x64\R.exe"

$pdflatex
[1] ""

$bibtex
[1] ""

$gcc
[1] ""

$git
[1] ""

$svn
[1] ""

R version 3.5.2 (2018-12-20)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.1252
[2] LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C
[5] LC_TIME=English_United States.1252

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

loaded via a namespace (and not attached):
[1] compiler_3.5.2 tools_3.5.2

SysInfo:
sysname release
"Windows" "7 x64"
version nodename
"build 7601, Service Pack 1" "MAR-USERID-2"
machine login
"x86-64" "USERID"
user effective_user
"USERID" "USERID"

R Version:
_
platform x86_64-w64-mingw32
arch x86_64
os mingw32
system x86_64, mingw32
status
major 3
minor 5.2
year 2018
month 12
day 20
svn rev 75870
language R
version.string R version 3.5.2 (2018-12-20)
nickname Eggshell Igloo
$ALLUSERSPROFILE
[1] "C:\ProgramData"

$APPDATA
[1] "C:\Users\USERID\AppData\Roaming"

$CLICOLOR_FORCE
[1] "1"

$CommonProgramFiles
[1] "C:\Program Files\Common Files"

$CommonProgramFiles(x86)
[1] "C:\Program Files (x86)\Common Files"

$CommonProgramW6432
[1] "C:\Program Files\Common Files"

$COMPUTERNAME
[1] "MAR-USERID-2"

$ComSpec
[1] "C:\WINDOWS\system32\cmd.exe"

$FP_NO_HOST_CHECK
[1] "NO"

$GFORTRAN_STDERR_UNIT
[1] "-1"

$GFORTRAN_STDOUT_UNIT
[1] "-1"

$HOME
[1] "C:/Users/USERID/Documents"

$HOMEDRIVE
[1] "C:"

$HOMEPATH
[1] "\Users\USERID"

$INFA_TRUSTSTORE
[1] "C:\Informatica\10.2.0\clients\shared\security"

$JAVA_HOME
[1] "C:\Program Files\Java\jdk1.8.0_181\"

$LOCALAPPDATA
[1] "C:\Users\USERID\AppData\Local"

$LOGONSERVER
[1] "\\DMI-WIN-DC03"

$MSMPI_BIN
[1] "C:\Program Files\Microsoft MPI\Bin\"

$MSYS2_ENV_CONV_EXCL
[1] "R_ARCH"

$NUMBER_OF_PROCESSORS
[1] "8"

$OS
[1] "Windows_NT"

$PATH
[1] "C:\Program Files\R\R-3.5.2\bin\x64;C:\Informatica\10.2.0\clients\tools\datadirect;C:\Informatica\10.2.0\clients\tools\odbcdrv;C:\Informatica\10.2.0\clients\tools\jdbcdrv;C:\Informatica\10.2.0\clients\tools\sharedlibs;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Rtools\bin;C:\Program Files\Microsoft MPI\Bin\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Java\jre1.8.0_181\"

$PATHEXT
[1] ".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC"

$PROCESSOR_ARCHITECTURE
[1] "AMD64"

$PROCESSOR_IDENTIFIER
[1] "Intel64 Family 6 Model 42 Stepping 7, GenuineIntel"

$PROCESSOR_LEVEL
[1] "6"

$PROCESSOR_REVISION
[1] "2a07"

$ProgramData
[1] "C:\ProgramData"

$ProgramFiles
[1] "C:\Program Files"

$ProgramFiles(x86)
[1] "C:\Program Files (x86)"

$ProgramW6432
[1] "C:\Program Files"

$PROMPT
[1] "$P$G"

$PSModulePath
[1] "C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\"

$PUBLIC
[1] "C:\Users\Public"

$QT_D3DCREATE_MULTITHREADED
[1] "1"

$R_ARCH
[1] "/x64"

$R_COMPILED_BY
[1] "gcc 4.9.3"

$R_DOC_DIR
[1] "C:/PROGRA~1/R/R-35~1.2/doc"

$R_HOME
[1] "C:/PROGRA~1/R/R-35~1.2"

$R_LIBS_USER
[1] "C:/Users/USERID/Documents/R/win-library/3.5"

$R_USER
[1] "C:/Users/USERID/Documents"

$RMARKDOWN_MATHJAX_PATH
[1] "C:/Program Files/RStudio/resources/mathjax-26"

$RS_LOCAL_PEER
[1] "\\.\pipe\22522-rsession"

$RS_RPOSTBACK_PATH
[1] "C:/Program Files/RStudio/bin/rpostback"

$RS_SHARED_SECRET
[1] "63341846741"

$RSTUDIO
[1] "1"

$RSTUDIO_CONSOLE_COLOR
[1] "256"

$RSTUDIO_CONSOLE_WIDTH
[1] "80"

$RSTUDIO_MSYS_SSH
[1] "C:/Program Files/RStudio/bin/msys-ssh-1000-18"

$RSTUDIO_PANDOC
[1] "C:/Program Files/RStudio/bin/pandoc"

$RSTUDIO_SESSION_PORT
[1] "22522"

$RSTUDIO_USER_IDENTITY
[1] "USERID"

$RSTUDIO_WINUTILS
[1] "C:/Program Files/RStudio/bin/winutils"

$SESSIONNAME
[1] "Console"

$SystemDrive
[1] "C:"

$SystemRoot
[1] "C:\WINDOWS"

$TEMP
[1] "C:\Users\USERID\AppData\Local\Temp"

$TERM
[1] "xterm-256color"

$TMP
[1] "C:\Users\USERID\AppData\Local\Temp"

$UATDATA
[1] "C:\WINDOWS\CCM\UATData\D9F8C395-CAB8-491d-B8AC-179A1FE1BE77"

$USERDNSDOMAIN
[1] "DONEGALGROUP.COM"

$USERDOMAIN
[1] "DOMAINID"

$USERDOMAIN_ROAMINGPROFILE
[1] "DOMAINID"

$USERNAME
[1] "USERID"

$USERPROFILE
[1] "C:\Users\USERID"

$VBOX_MSI_INSTALL_PATH
[1] "C:\Program Files\Oracle\VirtualBox\"

$windir
[1] "C:\WINDOWS"

[1] ".GlobalEnv" "tools:rstudio" "package:stats"
[4] "package:graphics" "package:grDevices" "package:utils"
[7] "package:datasets" "package:methods" "Autoloads"
[10] "package:base"
Log file: rdesktop.log

10 Jun 2019 11:27:31 [rdesktop] ERROR Main window closed unexpectedly; LOGGED FROM: auto __cdecl rstudio::desktop::MainWindow::closeEvent::<lambda_4cc4d0df19b92db780de6d80571f943a>::operator ()(class QVariant) const c:\jenkins\workspace\ide\windows\src\cpp\desktop\desktopmainwindow.cpp:281

Log file: rsession-USERID.log

07 Jun 2019 19:25:30 [rsession-USERID] WARNING Abort requested; LOGGED FROM: bool __cdecl rstudio::session::connection::checkForAbort(class rstudio_boost::shared_ptr,const class rstudio_boost::function<void __cdecl(void)>) c:\jenkins\workspace\ide\windows\src\cpp\session\http\sessionhttpconnectionutils.cpp:140

If your user gets this error just with that particular project,then we would need to see the code that causes the crash to identify the cause, but very frequentley this happens when you run out of RAM memory during the execution of your code.

This is an old, unreleased version of RStudio. My first recommendation would be to have the user update either to the latest release, or alternatively the preview release.

This would imply that the crash is occurring within R as opposed to RStudio itself. Unfortunately, without a reproducible example or more information, it will hard for us to provide more guidance.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.