Rstudio crashes at startup: OpenGL context creation failed.

I have a recurring problem that starts sometimes after I had to kill an rstudio session.
In this situation, whenever I try to launch rstudio, I get the following:

> rstudio
WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed.
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::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) 
[21302:21302:20210604,132402.784453:ERROR process_memory_range.cc:86] read out of range
[21302:21302:20210604,132402.784497:ERROR elf_image_reader.cc:558] missing nul-terminator
[21302:21302:20210604,132402.784653:ERROR process_reader_linux.cc:445] no module mappings 0x7f1747c1f000
[21302:21302:20210604,132402.786943:ERROR elf_dynamic_array_reader.h:61] tag not found
[21302:21302:20210604,132402.787212:ERROR elf_dynamic_array_reader.h:61] tag not found
[21302:21302:20210604,132402.788549:ERROR elf_dynamic_array_reader.h:61] tag not found
[21302:21302:20210604,132402.788605:ERROR elf_dynamic_array_reader.h:61] tag not found
[21302:21302:20210604,132402.789165:ERROR elf_dynamic_array_reader.h:61] tag not found
[21302:21302:20210604,132402.789204:ERROR elf_dynamic_array_reader.h:61] tag not found
[21302:21302:20210604,132402.789278:ERROR elf_dynamic_array_reader.h:61] tag not found
[21302:21302:20210604,132402.789317:ERROR elf_dynamic_array_reader.h:61] tag not found
[21302:21302:20210604,132402.789358:ERROR elf_dynamic_array_reader.h:61] tag not found
[21302:21302:20210604,132402.789455:ERROR elf_dynamic_array_reader.h:61] tag not found
[21302:21302:20210604,132402.789514:ERROR elf_dynamic_array_reader.h:61] tag not found
[21302:21302:20210604,132402.789552:ERROR elf_dynamic_array_reader.h:61] tag not found
[21302:21302:20210604,132402.789590:ERROR elf_dynamic_array_reader.h:61] tag not found
[21302:21309:20210604,132402.809022:ERROR directory_reader_posix.cc:42] opendir: No such file or directory (2)
Aborted (core dumped)

A reboot of the computer fixes the issue, but as I said, the same will happen next time rstudio quits abnormally.

I posted an issue on github here.

Any advice is more than welcome!

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.