Bug 394521 - KDE session startup crashes when started in x2go session
Summary: KDE session startup crashes when started in x2go session
Status: RESOLVED UPSTREAM
Alias: None
Product: krunner
Classification: Plasma
Component: general (show other bugs)
Version: 5.12.4
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Kai Uwe Broulik
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2018-05-21 14:40 UTC by Martin
Modified: 2018-06-15 19:32 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin 2018-05-21 14:40:32 UTC
Application: krunner (5.12.4)

Qt Version: 5.9.5
Frameworks Version: 5.44.0
Operating System: Linux 4.16.9-041609-generic x86_64
Distribution: Ubuntu 18.04 LTS

-- Information about the crash:
Error dialog is popping up in a loop when connecting to Kubuntu 18.04 machine with x2goserver.

The crash can be reproduced every time.

-- Backtrace:
Application: krunner (krunner), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f39ae9bc800 (LWP 12166))]

Thread 3 (Thread 0x7f39927b1700 (LWP 12233)):
#0  0x00007f39aa354bf9 in __GI___poll (fds=0x7f398c004db0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f39a5f1b439 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f39a5f1b54c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f39aaca290b in QEventDispatcherGlib::processEvents (this=0x7f398c000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f39aac479ea in QEventLoop::exec (this=this@entry=0x7f39927b0d70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f39aaa6622a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:515
#6  0x00007f39ac5acd45 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f39aaa6b16d in QThreadPrivate::start (arg=0x7f39ac81fd60) at thread/qthread_unix.cpp:368
#8  0x00007f39a827c6db in start_thread (arg=0x7f39927b1700) at pthread_create.c:463
#9  0x00007f39aa36188f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f399929a700 (LWP 12177)):
#0  0x00007f39aa354bf9 in __GI___poll (fds=0x7f3999299ca8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f39a976c747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f39a976e36a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f399be432a9 in QXcbEventReader::run (this=0x559ba869c1b0) at qxcbconnection.cpp:1330
#4  0x00007f39aaa6b16d in QThreadPrivate::start (arg=0x559ba869c1b0) at thread/qthread_unix.cpp:368
#5  0x00007f39a827c6db in start_thread (arg=0x7f399929a700) at pthread_create.c:463
#6  0x00007f39aa36188f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f39ae9bc800 (LWP 12166)):
[KCrash Handler]
#6  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#7  0x00007f39aa280801 in __GI_abort () at abort.c:79
#8  0x00007f39aaa55fa7 in qt_message_fatal (context=..., message=<synthetic pointer>...) at global/qlogging.cpp:1690
#9  QMessageLogger::fatal (this=this@entry=0x7fff929c0df0, msg=msg@entry=0x7f399827c770 "Could not initialize GLX") at global/qlogging.cpp:796
#10 0x00007f399827a254 in QGLXContext::init (this=0x559ba8705c40, screen=0x559ba8687e10, share=<optimized out>) at qglxintegration.cpp:323
#11 0x00007f3998277bb7 in QXcbGlxIntegration::createPlatformOpenGLContext (this=<optimized out>, context=0x7fff929c0f70) at qxcbglxintegration.cpp:190
#12 0x00007f399be49581 in QXcbIntegration::createPlatformOpenGLContext (this=<optimized out>, context=0x7fff929c0f70) at qxcbintegration.cpp:244
#13 0x00007f39ab24801f in QOpenGLContext::create (this=this@entry=0x7fff929c0f70) at kernel/qopenglcontext.cpp:612
#14 0x00007f399827aa10 in QGLXContext::queryDummyContext () at qglxintegration.cpp:691
#15 0x00007f399827b051 in QGLXContext::supportsThreading () at qglxintegration.cpp:739
#16 0x00007f39adab1465 in QSGRenderLoop::instance() () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#17 0x00007f39adb1e9aa in QQuickWindowPrivate::init(QQuickWindow*, QQuickRenderControl*) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#18 0x00007f39ae5bcccc in PlasmaQuick::Dialog::Dialog(QQuickItem*) () from /usr/lib/x86_64-linux-gnu/libKF5PlasmaQuick.so.5
#19 0x0000559ba6f1be2e in ?? ()
#20 0x0000559ba6f1a7e3 in ?? ()
#21 0x00007f39aa261b97 in __libc_start_main (main=0x559ba6f1a460, argc=1, argv=0x7fff929c15c8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff929c15b8) at ../csu/libc-start.c:310
#22 0x0000559ba6f1a90a in _start ()

Possible duplicates by query: bug 392092.

Reported using DrKonqi
Comment 1 Rex Dieter 2018-05-21 17:28:35 UTC
The important part of the traceback:

#9  QMessageLogger::fatal (this=this@entry=0x7fff929c0df0,
msg=msg@entry=0x7f399827c770 "Could not initialize GLX") at

appears opengl isn't working on your x2goserver
Comment 2 Christoph Feck 2018-06-15 19:32:41 UTC
Qt is able to user software OpenGL, and it should query the X server for availability of the GLX extensions before using them.

If this is reproducible with Qt 5.11, I suggest to report this issue directly to Qt developers via https://bugreports.qt.io/