Crash Information:
Description of crash -
RStudio mostly crashes when starting but also sometimes randomly within a session since the last update (Apr, 2019) on my Linux Debian stable machine. I have tried to re-install several times and also to install the previous version which worked well but it is not impossible to install the previous version due to dependencies issues (I don't know why).
Steps to reproduce -
System Information:
- RStudio Edition: Desktop
- RStudio Version: 1.2.1335
- OS Version: debian 9 stretch
- R Version: 3.6.0
- Your
sessionInfo()
:
R version 3.6.0 (2019-04-26)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Debian GNU/Linux 9 (stretch)
Matrix products: default
BLAS: /usr/lib/libblas/libblas.so.3.7.0
LAPACK: /usr/lib/lapack/liblapack.so.3.7.0
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] compiler_3.6.0
Crash Report:
RStudio Version: 1.2.1335
print(sessionInfo())
R version 3.6.0 (2019-04-26)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Debian GNU/Linux 9 (stretch)
Matrix products: default
BLAS: /usr/lib/libblas/libblas.so.3.7.0
LAPACK: /usr/lib/lapack/liblapack.so.3.7.0
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] compiler_3.6.0
/usr/bin/R
Linux ZZZZ 4.9.0-9-amd64 #1 SMP Debian 4.9.168-1 (2019-04-12) x86_64 GNU/Linux
GNU gdb (Debian 7.12-6) 7.12.0.20161007-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http ://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http ://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http ://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/lib/rstudio/bin/rsession...done.
[New LWP 5921]
[New LWP 5919]
[New LWP 5920]
[New LWP 5943]
[New LWP 5922]
[New LWP 5944]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/lib/rstudio/bin/rsession --config-file none --program-mode desktop --www-p'.
Program terminated with signal SIGABRT, Aborted.
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
[Current thread is 1 (Thread 0x7f4307692700 (LWP 5921))]
Thread 6 (Thread 0x7f42ff7fe700 (LWP 5944)):
#0 0x00007f430b733603 in select () at ../sysdeps/unix/syscall-template.S:84
No locals.
#1 0x0000563998a23e50 in rstudio::core::system::(anonymous namespace)::standardStreamCaptureThread(int, rstudio_boost::function<void (std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)> const&, int, rstudio_boost::function<void (std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)> const&) ()
No symbol table info available.
#2 0x0000563998b87226 in thread_proxy ()
No symbol table info available.
#3 0x00007f430d18e4a4 in start_thread (arg=0x7f42ff7fe700)
at pthread_create.c:456
__res =
pd = 0x7f42ff7fe700
now =
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139925731141376,
5575337918399689378, 140724195473566, 140724195473567,
139925722750976, 3, -5486955876344745310,
-5487197999557725534}, mask_was_saved = 0}}, priv = {pad = {
0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0,
canceltype = 0}}}
not_first_call =
pagesize_m1 =
sp =
freesize =
PRETTY_FUNCTION = "start_thread"
#4 0x00007f430b73ad0f in clone ()
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
No locals.
Thread 5 (Thread 0x7f4306e91700 (LWP 5922)):
#0 0x00007f430b73b303 in epoll_wait ()
at ../sysdeps/unix/syscall-template.S:84
No locals.
#1 0x000056399840c05c in rstudio_boost::asio::detail::epoll_reactor::run(bool, rstudio_boost::asio::detail::op_queue<rstudio_boost::asio::detail::task_io_service_operation>&) ()
No symbol table info available.
#2 0x000056399887b295 in rstudio_boost::asio::io_service::run() ()
No symbol table info available.
#3 0x0000563998b87226 in thread_proxy ()
No symbol table info available.
#4 0x00007f430d18e4a4 in start_thread (arg=0x7f4306e91700)
at pthread_create.c:456
__res =
pd = 0x7f4306e91700
now =
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139925855475456,
5575337918399689378, 140724195488254, 140724195488255,
139925847085056, 3, -5487185766079876446,
-5487197999557725534}, mask_was_saved = 0}}, priv = {pad = {
0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0,
canceltype = 0}}}
not_first_call =
pagesize_m1 =
sp =
freesize =
PRETTY_FUNCTION = "start_thread"
#5 0x00007f430b73ad0f in clone ()
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
No locals.
Thread 4 (Thread 0x7f42fffff700 (LWP 5943)):
#0 pthread_cond_timedwait@@GLIBC_2.3.2 ()
at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
No locals.
#1 0x00005639984eecf2 in rstudio::session::HttpConnectionQueue::waitForConnection(rstudio_boost::posix_time::time_duration const&) ()
No symbol table info available.
#2 0x00005639984f04eb in rstudio::session::HttpConnectionQueue::dequeConnection(rstudio_boost::posix_time::time_duration const&) ()
No symbol table info available.
#3 0x00005639983b8831 in rstudio::session::ClientEventService::run() ()
No symbol table info available.
#4 0x0000563998b87226 in thread_proxy ()
No symbol table info available.
#5 0x00007f430d18e4a4 in start_thread (arg=0x7f42fffff700)
at pthread_create.c:456
__res =
pd = 0x7f42fffff700
now =
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139925739534080,
5575337918399689378, 140724195474670, 140724195474671,
139925731143680, 3, -5486954775222504798,
-5487197999557725534}, mask_was_saved = 0}}, priv = {pad = {
0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0,
canceltype = 0}}}
not_first_call =
pagesize_m1 =
sp =
freesize =
PRETTY_FUNCTION = "start_thread"
#6 0x00007f430b73ad0f in clone ()
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
No locals.
Thread 3 (Thread 0x7f4307e93700 (LWP 5920)):
#0 pthread_cond_timedwait@@GLIBC_2.3.2 ()
at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
No locals.
#1 0x0000563998a021aa in rstudio::core::ThreadsafeQueue<rstudio::core::system::file_monitor::(anonymous namespace)::RegistrationCommand>::wait(rstudio_boost::posix_time::time_duration const&) [clone .isra.571] ()
No symbol table info available.
#2 0x0000563998a03150 in rstudio::core::system::file_monitor::(anonymous namespace)::checkForInput() ()
No symbol table info available.
#3 0x0000563998a53755 in rstudio::core::system::file_monitor::detail::run(rstudio_boost::function<void ()> const&) ()
No symbol table info available.
#4 0x0000563998a026bb in rstudio::core::system::file_monitor::(anonymous namespace)::fileMonitorThreadMain() ()
No symbol table info available.
#5 0x00005639988d1722 in rstudio_boost::detail::thread_data<rstudio_boost::function<void ()> >::run() ()
No symbol table info available.
#6 0x0000563998b87226 in thread_proxy ()
No symbol table info available.
#7 0x00007f430d18e4a4 in start_thread (arg=0x7f4307e93700)
at pthread_create.c:456
__res =
pd = 0x7f4307e93700
now =
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139925872260864,
5575337918399689378, 140724195488798, 140724195488799,
139925863870464, 3, -5487183565982879070,
-5487197999557725534}, mask_was_saved = 0}}, priv = {pad = {
0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0,
canceltype = 0}}}
not_first_call =
pagesize_m1 =
sp =
freesize =
PRETTY_FUNCTION = "start_thread"
#8 0x00007f430b73ad0f in clone ()
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
No locals.
Thread 2 (Thread 0x7f430de2c800 (LWP 5919)):
#0 0x00007f430d19722d in read () at ../sysdeps/unix/syscall-template.S:84
No locals.
#1 0x0000563998a3fc26 in rstudio::core::system::(anonymous namespace)::readPipe(int, std::__cxx11::basic_string<char, std::char_traits, std::allocator >, bool) ()
No symbol table info available.
#2 0x0000563998a40053 in rstudio::core::system::SyncChildProcess::readStdOut(std::__cxx11::basic_string<char, std::char_traits, std::allocator >)
()
No symbol table info available.
#3 0x00005639989f86de in rstudio::core::system::SyncChildProcess::run(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, rstudio::core::system::ProcessResult) ()
No symbol table info available.
#4 0x00005639989f69fc in rstudio::core::system::runCommand(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, rstudio::core::system::ProcessOptions const&, rstudio::core::system::ProcessResult*) ()
No symbol table info available.
#5 0x00005639989f6ada in rstudio::core::system::runCommand(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, rstudio::core::system::ProcessOptions const&, rstudio::core::system::ProcessResult*) ()
No symbol table info available.
#6 0x0000563998688652 in rstudio::session::modules::svn::(anonymous namespace)::runSvn(rstudio::core::shell_utils::ShellArgs const&, rstudio::core::FilePath const&, bool, rstudio::core::system::ProcessResult*) ()
No symbol table info available.
#7 0x00005639986887d7 in rstudio::session::modules::svn::(anonymous namespace)::runSvn(rstudio::core::shell_utils::ShellArgs const&, bool, rstudio::core::system::ProcessResult*) ()
No symbol table info available.
#8 0x00005639986888be in rstudio::session::modules::svn::(anonymous namespace)::runSvn(rstudio::core::shell_utils::ShellArgs const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::__cxx11::basic_string<char, std::char_traits, std::allocator >, int*) ()
No symbol table info available.
#9 0x000056399868c928 in rstudio::session::modules::svn::isSvnInstalled() ()
No symbol table info available.
#10 0x00005639983bd84a in rstudio::session::client_init::handleClientInit(rstudio_boost::function<void ()> const&, rstudio_boost::shared_ptrrstudio::session::HttpConnection) ()
No symbol table info available.
#11 0x0000563998455b5d in rstudio::session::http_methods::waitForMethod(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, rstudio_boost::function<void ()> const&, rstudio_boost::function<bool ()> const&, rstudio::core::json::JsonRpcRequest*) ()
No symbol table info available.
#12 0x00005639983c921f in rstudio::session::console_input::rConsoleRead(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, bool, rstudio::r::session::RConsoleInput*) ()
No symbol table info available.
#13 0x0000563998add335 in rstudio::r::session::RReadConsole(char const*, unsigned char*, int, int) ()
No symbol table info available.
#14 0x00007f430d514f8c in Rf_ReplIteration () from /usr/lib/R/lib/libR.so
No symbol table info available.
#15 0x00007f430d515491 in ?? () from /usr/lib/R/lib/libR.so
No symbol table info available.
#16 0x00007f430d515548 in run_Rmainloop () from /usr/lib/R/lib/libR.so
No symbol table info available.
#17 0x0000563998af6db6 in rstudio::r::session::runEmbeddedR(rstudio::core::FilePath const&, rstudio::core::FilePath const&, bool, bool, SA_TYPE, rstudio::r::session::Callbacks const&, rstudio::r::session::InternalCallbacks*) ()
No symbol table info available.
#18 0x0000563998ad923b in rstudio::r::session::run(rstudio::r::session::ROptions const&, rstudio::r::session::RCallbacks const&) ()
No symbol table info available.
#19 0x00005639983862fa in main ()
No symbol table info available.
Thread 1 (Thread 0x7f4307692700 (LWP 5921)):
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
set = {__val = {18446744067266838239, 139925930930514, 0,
139925940530337, 139925863865168, 0, 0, 139925863865264,
139925943508016, 139925943509704, 139925336885761,
139925336885761, 139925336885761, 139925336885760,
139925336885935, 139925336886272}}
pid =
tid =
#1 0x00007f430b68642a in __GI_abort () at abort.c:89
save_stage = 2
act = {__sigaction_handler = {sa_handler = 0x6e00000000,
sa_sigaction = 0x6e00000000}, sa_mask = {__val = {139925863865192,
139925943533664, 139925943533552, 139925943533568,
17543208576342075648, 18, 139925863865632, 139925863865712,
140724195488878, 140724195488879, 139925855477760, 3,
139925336885440, 139925863865712, 139925336885696,
139925863865712}}, sa_flags = 124329376,
sa_restorer = 0x7f4307691d70}
sigs = {__val = {32, 0 <repeats 15 times>}}
#2 0x0000563998a28459 in rstudio::core::system::abort() ()
No symbol table info available.
#3 0x0000563998463d9d in (anonymous namespace)::detectParentTermination() ()
No symbol table info available.
#4 0x00005639988d1722 in rstudio_boost::detail::thread_data<rstudio_boost::function<void ()> >::run() ()
No symbol table info available.
#5 0x0000563998b87226 in thread_proxy ()
No symbol table info available.
#6 0x00007f430d18e4a4 in start_thread (arg=0x7f4307692700)
at pthread_create.c:456
__res =
pd = 0x7f4307692700
now =
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139925863868160,
5575337918399689378, 140724195488878, 140724195488879,
139925855477760, 3, -5487184667105119582,
-5487197999557725534}, mask_was_saved = 0}}, priv = {pad = {
0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0,
canceltype = 0}}}
not_first_call =
pagesize_m1 =
sp =
freesize =
PRETTY_FUNCTION = "start_thread"
#7 0x00007f430b73ad0f in clone ()
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
No locals.