You are not logged in.
Whenever I start R-studio, the program quits instantly with a segmentation fault. The backtrace is posted below:
gdb rstudio-bin
GNU gdb (GDB) 7.9.1
Copyright (C) 2015 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-unknown-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 rstudio-bin...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/rstudio-bin
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fff895ef700 (LWP 3480)]
[New Thread 0x7fff89df0700 (LWP 3479)]
[New Thread 0x7fff8a5f1700 (LWP 3478)]
[New Thread 0x7fff8adf2700 (LWP 3477)]
[New Thread 0x7fff90dda700 (LWP 3469)]
[New Thread 0x7fffd35ef700 (LWP 3468)]
[New Thread 0x7fffd8b1f700 (LWP 3463)]
[New Thread 0x7fffe4f8f700 (LWP 3449)]
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6e9cc00 in QPlatformInputContext::staticMetaObject () from /usr/lib/libQt5Gui.so.5
(gdb) bt
#0 0x00007ffff6e9cc00 in QPlatformInputContext::staticMetaObject () from /usr/lib/libQt5Gui.so.5
#1 0x00007ffff685c2ee in QGuiApplicationPrivate::_q_updateFocusObject(QObject*) () from /usr/lib/libQt5Gui.so.5
#2 0x00007ffff79d1c1a in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#3 0x00007ffff685ecc2 in QWindow::focusObjectChanged(QObject*) () from /usr/lib/libQt5Gui.so.5
#4 0x00007ffff703ac28 in QWidget::setFocus(Qt::FocusReason) () from /usr/lib/libQt5Widgets.so.5
#5 0x00007ffff7000cdd in QApplication::setActiveWindow(QWidget*) () from /usr/lib/libQt5Widgets.so.5
#6 0x00007ffff7000d63 in QApplicationPrivate::notifyActiveWindowChange(QWindow*) () from /usr/lib/libQt5Widgets.so.5
#7 0x00007ffff685c6c5 in QGuiApplicationPrivate::processActivatedEvent(QWindowSystemInterfacePrivate::ActivatedWindowEvent*) () from /usr/lib/libQt5Gui.so.5
#8 0x00007ffff685c99d in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/libQt5Gui.so.5
#9 0x00007ffff68431e8 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5
#10 0x00007fffe58b5be0 in ?? () from /usr/lib/rstudio/bin/plugins/platforms/libqxcb.so
#11 0x00007ffff12c19fd in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#12 0x00007ffff12c1ce0 in ?? () from /usr/lib/libglib-2.0.so.0
#13 0x00007ffff12c1d8c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#14 0x00007ffff79f8cff in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#15 0x00007ffff799effa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#16 0x00007ffff79a6a4c in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#17 0x00000000005795cc in main ()R still works fine in the command line. I am using rstudio-desktop-bin from AUR.
I tried searching for solutions, but I could not immediately find any help. Any pointers on how to solve this are welcome, as i have no experience with Qt or C++. If you need more information, please tell me.
Should I report this to RStudio or is Qt5 to blame?
Last edited by Sam_DM (2015-06-18 21:17:14)
Offline
Hi Sam_DM!
Try this PKGBUILD: https://gist.github.com/chmue/7baeb5892f46c43b3000
Worked for me...
Last edited by marcoscan (2015-06-18 20:33:16)
Offline
Thanks, Rstudio works again!
Any idea why?
Offline