RStudio Daily Build fails to start with R 3.5.3

I'm running Ubuntu 18.04 and today it updated R to 3.5.3. Afterwards I tried launching RStudio, but it failed. I've installed the latest build and it also doesn't start. If I start it from the command line, the stacktrace is:

$ 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) 
Received signal 6
#0 0x7f4998a4da4f <unknown>
#1 0x7f4998a4de4b <unknown>
#2 0x7f4998a4e4ce <unknown>
#3 0x7f4993cb6890 <unknown>
#4 0x7f49920d8e97 gsignal
#5 0x7f49920da801 abort
#6 0x7f4993f48dcc QMessageLogger::fatal()
#7 0x7f49915b0afc QQuickWidgetPrivate::handleContextCreationFailure()
#8 0x7f49915b0cfa QQuickWidgetPrivate::createContext()
#9 0x7f49915b2e86 QQuickWidget::resizeEvent()
#10 0x7f499e13798d QtWebEngineCore::RenderWidgetHostViewQtDelegateWidget::resizeEvent()
#11 0x7f49950acea2 QWidget::event()
#12 0x7f49915b3acb QQuickWidget::event()
#13 0x7f499e137c88 QtWebEngineCore::RenderWidgetHostViewQtDelegateWidget::event()
#14 0x7f499506eb3c QApplicationPrivate::notify_helper()
#15 0x7f4995075d30 QApplication::notify()
#16 0x7f4994135e28 QCoreApplication::notifyInternal2()
#17 0x7f49950a563d QWidgetPrivate::sendPendingMoveAndResizeEvents()
#18 0x7f49950a91b3 QWidgetPrivate::show_helper()
#19 0x7f49950ac375 QWidget::setVisible()
#20 0x7f4996f80fb6 QtWebEngineCore::WebContentsAdapter::initialize()
#21 0x7f4996f8321e QtWebEngineCore::WebContentsAdapter::load()
#22 0x7f4996f83b50 QtWebEngineCore::WebContentsAdapter::load()
#23 0x55dd64e140f0 rstudio::desktop::SessionLauncher::launchFirstSession()
#24 0x55dd64e1566b rstudio::desktop::SessionLauncher::onLaunchFirstSession()
#25 0x7f4994162801 QObject::event()
#26 0x7f499506eb3c QApplicationPrivate::notify_helper()
#27 0x7f4995075d30 QApplication::notify()
#28 0x7f4994135e28 QCoreApplication::notifyInternal2()
#29 0x7f4994138857 QCoreApplicationPrivate::sendPostedEvents()
#30 0x7f499418dbb3 postEventSourceDispatch()
#31 0x7f498b55e387 g_main_context_dispatch
#32 0x7f498b55e5c0 <unknown>
#33 0x7f498b55e64c g_main_context_iteration
#34 0x7f499418d1ef QEventDispatcherGlib::processEvents()
#35 0x7f499413478a QEventLoop::exec()
#36 0x7f499413d190 QCoreApplication::exec()
#37 0x55dd64dd5af5 main
#38 0x7f49920bbb97 __libc_start_main
#39 0x55dd64dd91a9 _start
  r8: 0000000000000000  r9: 00007ffec5278390 r10: 0000000000000008 r11: 0000000000000246
 r12: 00007ffec52786c0 r13: 000055dd66713be0 r14: 000055dd66713be0 r15: 00007ffec5278c30
  di: 0000000000000002  si: 00007ffec5278390  bp: 000055dd66713be0  bx: 00007f4994258e80
  dx: 0000000000000000  ax: 0000000000000000  cx: 00007f49920d8e97  sp: 00007ffec5278390
  ip: 00007f49920d8e97 efl: 0000000000000246 cgf: 002b000000000033 erf: 0000000000000000
 trp: 0000000000000000 msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
Calling _exit(1). Core file will not be generated.

The stable version of RStudio (1.1.463) works without a problem (Mozilla/5.0 (X11; N; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) RStudio Safari/538.1 Qt/5.4.2)

FWIW Rstudio Server 1.2.1326 runs fine with R 3.5.3 under Ubuntu Server 18.04.2 LTS so maybe only a desktop version problem.

1 Like
Failed to create OpenGL context <...>

This usually implies that RStudio is having trouble interacting with the GPU on your machine. What kind of graphics card / display drivers do you have installed on your system?

I'm running NVidia GeForce 1070.
Updated drivers to 418.43, restarted PC and now RStudio starts normally.

This topic was automatically closed 7 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.