Rstudio crashes on Ubuntu 18.04 LTS

RStudio is crashing on Ubuntu 18.04 LTS with R 3.6.2 . I have reinstalled everything and it still crashes. This works on Ubuntu 14.04 LTS

I get the following trace:

16:56:20 rstudio: Calling _exit(1). Core file will not be generated.
16:56:20 rstudio: [end of stack trace]
16:56:20 rstudio: trp: 0000000000000000 msk: 0000000000000000 cr2: 0000000000000000
16:56:20 rstudio: ip: 00007f491b276e97 efl: 0000000000000246 cgf: 002b000000000033 erf: 0000000000000000
16:56:20 rstudio: dx: 0000000000000000 ax: 0000000000000000 cx: 00007f491b276e97 sp: 00007ffedf85d870
16:56:20 rstudio: di: 0000000000000002 si: 00007ffedf85d870 bp: 00007f491b3ef7d8 bx: 0000000000000000
16:56:20 rstudio: r12: 00007f48fda355f2 r13: 00007f48fda35608 r14: 00000000000002d3 r15: 0000000000000000
16:56:20 rstudio: r8: 0000000000000000 r9: 00007ffedf85d870 r10: 0000000000000008 r11: 0000000000000246
16:56:20 rstudio: #41 0x55dda209bd8a _start
16:56:20 rstudio: #40 0x7f491b259b97 __libc_start_main
16:56:20 rstudio: #39 0x55dda2098a0f main
16:56:20 rstudio: #38 0x7f491d3aa190 QCoreApplication::exec()
16:56:20 rstudio: #37 0x7f491d3a178a QEventLoop::exec()
16:56:20 rstudio: #36 0x7f491d3fa1ef QEventDispatcherGlib::processEvents()
16:56:20 rstudio: #35 0x7f491468c6dc g_main_context_iteration
16:56:20 rstudio: #34 0x7f491468c650
16:56:20 rstudio: #33 0x7f491468c417 g_main_context_dispatch
16:56:20 rstudio: #32 0x7f491d3fabb3 postEventSourceDispatch()
16:56:20 rstudio: #31 0x7f491d3a5857 QCoreApplicationPrivate::sendPostedEvents()
16:56:20 rstudio: #30 0x7f491d3a2e28 QCoreApplication::notifyInternal2()
16:56:20 rstudio: #29 0x7f491e2e6d30 QApplication::notify()
16:56:20 rstudio: #28 0x7f491e2dfb3c QApplicationPrivate::notify_helper()
16:56:20 rstudio: #27 0x7f491e41faa1 QMainWindow::event()
16:56:20 rstudio: #26 0x7f491e31d930 QWidget::event()
16:56:20 rstudio: #25 0x7f491e306a0f QWidgetPrivate::syncBackingStore()
16:56:20 rstudio: #24 0x7f491e2ef730 QWidgetBackingStore::sync()
16:56:20 rstudio: #23 0x7f491e2ef500 QWidgetBackingStore::doSync()
16:56:20 rstudio: #22 0x7f491e2ed7e1 QWidgetBackingStore::flush()
16:56:20 rstudio: #21 0x7f491e2ec3b4 QWidgetBackingStore::qt_flush()
16:56:20 rstudio: #20 0x7f4911b46aff QXcbBackingStore::composeAndFlush()
16:56:20 rstudio: #19 0x7f491dcfba8d QPlatformBackingStore::composeAndFlush()
16:56:20 rstudio: #18 0x7f491da85eac QOpenGLContext::swapBuffers()
16:56:20 rstudio: #17 0x7f49051b0e52 QGLXContext::swapBuffers()
16:56:20 rstudio: #16 0x7f4904d58228
16:56:20 rstudio: #15 0x7f48fe5610f3
16:56:20 rstudio: #14 0x7f48fe9e42bb
16:56:20 rstudio: #13 0x7f48fe89f206
16:56:20 rstudio: #12 0x7f48fda34a40 nouveau_pushbuf_kick
16:56:20 rstudio: #11 0x7f48fda33eaf
16:56:20 rstudio: #10 0x7f48fda33a3f
16:56:20 rstudio: #9 0x7f48fda33966 nouveau_pushbuf_data
16:56:20 rstudio: #8 0x7f48fda339ad nouveau_pushbuf_data
16:56:20 rstudio: #7 0x7f491b268412 __assert_fail
16:56:20 rstudio: #6 0x7f491b26839a
16:56:20 rstudio: #5 0x7f491b278801 abort
16:56:20 rstudio: #4 0x7f491b276e97 gsignal
16:56:20 rstudio: #3 0x7f491cf22890
16:56:20 rstudio: #2 0x7f4921cd84ce
16:56:20 rstudio: #1 0x7f4921cd7e4b
16:56:20 rstudio: #0 0x7f4921cd7a4f
16:56:20 rstudio: Received signal 6
16:56:19 rstudio: rstudio: ../nouveau/pushbuf.c:723: nouveau_pushbuf_data: Assertion `kref' failed.

It seems to me like a problem with your video driver, try changing to software rendering, you can change it by holding the Ctrl key while opening RStudio, then you should see this menu and change the "Rendering Engine" to "Software".

2 Likes

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