Rstudio can't start on ubuntu18

Hi, I have a problem with my Rstudio.
When I launch it it opens a black window then crashes.

I tried uninstalling and then reinstalling through command line with the same results.

Opening Rstudio through command line gives this error:
/usr/lib/rstudio/bin/rstudio
WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed.
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlagsQSurfaceFormat::FormatOption(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::DefaultSwapBehavior, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile)
[2056:2056:20210805,155814.556562:ERROR process_memory_range.cc:86] read out of range
[2056:2056:20210805,155814.556611:ERROR elf_image_reader.cc:558] missing nul-terminator
[2056:2056:20210805,155814.556812:ERROR process_reader_linux.cc:445] no module mappings 0x7f2ce0d87000
[2056:2056:20210805,155814.559757:ERROR elf_dynamic_array_reader.h:61] tag not found
[2056:2056:20210805,155814.560016:ERROR elf_dynamic_array_reader.h:61] tag not found
[2056:2056:20210805,155814.561911:ERROR elf_dynamic_array_reader.h:61] tag not found
[2056:2056:20210805,155814.561985:ERROR elf_dynamic_array_reader.h:61] tag not found
[2056:2056:20210805,155814.562685:ERROR elf_dynamic_array_reader.h:61] tag not found
[2056:2056:20210805,155814.562736:ERROR elf_dynamic_array_reader.h:61] tag not found
[2056:2056:20210805,155814.562789:ERROR elf_dynamic_array_reader.h:61] tag not found
[2056:2056:20210805,155814.562841:ERROR elf_dynamic_array_reader.h:61] tag not found
[2056:2056:20210805,155814.562897:ERROR elf_dynamic_array_reader.h:61] tag not found
[2056:2056:20210805,155814.562996:ERROR elf_dynamic_array_reader.h:61] tag not found
[2056:2056:20210805,155814.563049:ERROR elf_dynamic_array_reader.h:61] tag not found
[2056:2056:20210805,155814.563101:ERROR elf_dynamic_array_reader.h:61] tag not found
[2056:2056:20210805,155814.563153:ERROR elf_dynamic_array_reader.h:61] tag not found
[2056:2065:20210805,155814.588045:ERROR directory_reader_posix.cc:42] opendir: No such file or directory (2)
Aborted (core dumped)

I tried updating my conda [conda update conda] and I think this must have caused this issue
The following packages are causing the inconsistency:

  • r/linux-64::r-rcpp==0.12.18=mro351hebc1506_0
  • r/linux-64::r-dplyr==0.7.6=mro351hebc1506_0
  • r/linux-64::r-memoise==1.1.0=mro351hf348343_0
  • conda-forge/noarch::nltk==3.2.5=py_0
  • defaults/linux-64::navigator-updater==0.2.1=py27_0
  • r/linux-64::r-bindr==0.1.1=mro351hf348343_0
  • defaults/linux-64::numpy-base==1.15.4=py27h81de0dd_0
  • r/linux-64::r-tidyselect==0.2.4=mro351hebc1506_0
    .... [there are more]

Any help would be appreciated,
M

What does this return on your machine?

$ ldd /usr/lib/rstudio/bin/rstudio

My guess based on the QtWebEngine errors is that either (a) RStudio is loading an incompatible system Qt instead of its bundled Qt, or (b) you are using RStudio with an unsupported compositor such as Wayland (not supported by Qt).

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.