Bug 383701

Summary: KDE crashes immediately after logging in on a remote machine
Product: [Plasma] krunner Reporter: Markus Grabner <grabner>
Component: generalAssignee: Kai Uwe Broulik <kde>
Status: RESOLVED UPSTREAM    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 5.8.6   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Markus Grabner 2017-08-19 14:01:27 UTC
Application: krunner (5.8.6)

Qt Version: 5.6.1
Frameworks Version: 5.26.0
Operating System: Linux 4.4.79-18.26-default x86_64
Distribution: "openSUSE Leap 42.2"

-- Information about the crash:
On the KDE login screen, I requested to login on a remote machine, entered user name and password, and a few seconds after the password is accepted, KDE crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: krunner (krunner), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f1ccb2668c0 (LWP 7429))]

Thread 3 (Thread 0x7f1caf8eb700 (LWP 7458)):
#0  0x00007f1cc6a7228d in read () at /lib64/libc.so.6
#1  0x00007f1cc3d87670 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f1cc3d46e49 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f1cc3d472a8 in  () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f1cc3d4742c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#5  0x00007f1cc738333b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007f1cc7330feb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#7  0x00007f1cc716bf1a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#8  0x00007f1cc8c3a295 in  () at /usr/lib64/libQt5DBus.so.5
#9  0x00007f1cc71709e9 in  () at /usr/lib64/libQt5Core.so.5
#10 0x00007f1cc46ae744 in start_thread () at /lib64/libpthread.so.0
#11 0x00007f1cc6a7eaad in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f1cb573b700 (LWP 7445)):
#0  0x00007f1cc6a7620d in poll () at /lib64/libc.so.6
#1  0x00007f1cc61903e2 in  () at /usr/lib64/libxcb.so.1
#2  0x00007f1cc6191fcf in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007f1cb7a91839 in  () at /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f1cc71709e9 in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f1cc46ae744 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f1cc6a7eaad in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f1ccb2668c0 (LWP 7429)):
[KCrash Handler]
#6  0x00007f1cc46b84a0 in __lll_unlock_elision () at /lib64/libpthread.so.0
#7  0x00007f1cc63eb1f2 in _XError () at /usr/lib64/libX11.so.6
#8  0x00007f1cc31b689f in glXMakeCurrentReadSGI () at /usr/lib64/libGL.so.1
#9  0x00007f1cb48dd240 in  () at /usr/lib64/qt5/plugins/xcbglintegrations/libqxcb-glx-integration.so
#10 0x00007f1cb48db73b in  () at /usr/lib64/qt5/plugins/xcbglintegrations/libqxcb-glx-integration.so
#11 0x00007f1cb7a933f1 in QXcbIntegration::createPlatformOpenGLContext(QOpenGLContext*) const () at /usr/lib64/libQt5XcbQpa.so.5
#12 0x00007f1cc78c368d in QOpenGLContext::create() () at /usr/lib64/libQt5Gui.so.5
#13 0x00007f1cb48de0b8 in  () at /usr/lib64/qt5/plugins/xcbglintegrations/libqxcb-glx-integration.so
#14 0x00007f1cb48de261 in  () at /usr/lib64/qt5/plugins/xcbglintegrations/libqxcb-glx-integration.so
#15 0x00007f1cca12949b in QSGRenderLoop::instance() () at /usr/lib64/libQt5Quick.so.5
#16 0x00007f1cca15b152 in QQuickWindowPrivate::init(QQuickWindow*, QQuickRenderControl*) () at /usr/lib64/libQt5Quick.so.5
#17 0x00007f1ccae8d14e in PlasmaQuick::Dialog::Dialog(QQuickItem*) () at /usr/lib64/libKF5PlasmaQuick.so.5
#18 0x0000000000408a5b in  ()
#19 0x00000000004074b7 in  ()
#20 0x00007f1cc69b56e5 in __libc_start_main () at /lib64/libc.so.6
#21 0x00000000004075d9 in _start ()

Reported using DrKonqi
Comment 1 Christoph Feck 2017-09-07 21:56:55 UTC
It looks like the Qt xcb OpenGL integration does not work on remote X11 servers. Please report this directly to Qt developers via https://bugreports.qt.io/ for inspection.