https://bugs.kde.org/show_bug.cgi?id=377031
Bug ID: 377031
Summary: kwin crashed after unlock screen (2 local sessions)
Product: kwin
Version: 5.8.5
Platform: Compiled Sources
OS: Linux
Status: UNCONFIRMED
Keywords: drkonqi
Severity: crash
Priority: NOR
Component: general
Assignee: kwin-bugs-n...@kde.org
Reporter: tho...@boerkel.de
Target Milestone: ---
Application: kwin_x11 (5.8.5)
(Compiled from sources)
Qt Version: 5.6.2
Frameworks Version: 5.29.0
Operating System: Linux 4.9.6-gentoo-r1 x86_64
Distribution (Platform): Gentoo Packages
-- Information about the crash:
- What I was doing when the application crashed:
The session was locked. I was logged in the other local session and working
normally. Also starting OpenGL applications (MythTV).
When Is switched back and unlocked this session, kwin had crashed.
The crash can be reproduced sometimes.
-- Backtrace:
Application: KWin (kwin_x11), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fc4407467c0 (LWP 7049))]
Thread 5 (Thread 0x7fc42be6c700 (LWP 7056)):
#0 0x7fc44003e5ed in poll () from /lib64/libc.so.6
#1 0x7fc43f19b8f2 in ?? () from /usr/lib64/libxcb.so.1
#2 0x7fc43f19d6df in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3 0x7fc42cf49569 in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#4 0x7fc43dd4999c in ?? () from /usr/lib64/libQt5Core.so.5
#5 0x7fc4403004a4 in start_thread () from /lib64/libpthread.so.0
#6 0x7fc44004766d in clone () from /lib64/libc.so.6
Thread 4 (Thread 0x7fc429eeb700 (LWP 7078)):
#0 0x7fc440040303 in select () from /lib64/libc.so.6
#1 0x7fc43df34621 in qt_safe_select(int, fd_set*, fd_set*, fd_set*,
timespec const*) () from /usr/lib64/libQt5Core.so.5
#2 0x7fc43df35d0e in
QEventDispatcherUNIXPrivate::doSelect(QFlags,
timespec*) () from /usr/lib64/libQt5Core.so.5
#3 0x7fc43df3624d in
QEventDispatcherUNIX::processEvents(QFlags) ()
from /usr/lib64/libQt5Core.so.5
#4 0x7fc43deea60a in
QEventLoop::exec(QFlags) () from
/usr/lib64/libQt5Core.so.5
#5 0x7fc43dd45234 in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6 0x7fc440859235 in ?? () from /usr/lib64/libQt5DBus.so.5
#7 0x7fc43dd4999c in ?? () from /usr/lib64/libQt5Core.so.5
#8 0x7fc4403004a4 in start_thread () from /lib64/libpthread.so.0
#9 0x7fc44004766d in clone () from /lib64/libc.so.6
Thread 3 (Thread 0x7fc41b97a700 (LWP 7124)):
#0 0x7fc440040303 in select () from /lib64/libc.so.6
#1 0x7fc43df34621 in qt_safe_select(int, fd_set*, fd_set*, fd_set*,
timespec const*) () from /usr/lib64/libQt5Core.so.5
#2 0x7fc43df35d0e in
QEventDispatcherUNIXPrivate::doSelect(QFlags,
timespec*) () from /usr/lib64/libQt5Core.so.5
#3 0x7fc43df3624d in
QEventDispatcherUNIX::processEvents(QFlags) ()
from /usr/lib64/libQt5Core.so.5
#4 0x7fc43deea60a in
QEventLoop::exec(QFlags) () from
/usr/lib64/libQt5Core.so.5
#5 0x7fc43dd45234 in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6 0x7fc439103405 in ?? () from /usr/lib64/libQt5Qml.so.5
#7 0x7fc43dd4999c in ?? () from /usr/lib64/libQt5Core.so.5
#8 0x7fc4403004a4 in start_thread () from /lib64/libpthread.so.0
#9 0x7fc44004766d in clone () from /lib64/libc.so.6
Thread 2 (Thread 0x7fc411962700 (LWP 7193)):
#0 0x7fc4403060ff in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1 0x7fc43d100204 in ?? () from /usr/lib64/libQt5Script.so.5
#2 0x7fc43d100249 in ?? () from /usr/lib64/libQt5Script.so.5
#3 0x7fc4403004a4 in start_thread () from /lib64/libpthread.so.0
#4 0x7fc44004766d in clone () from /lib64/libc.so.6
Thread 1 (Thread 0x7fc4407467c0 (LWP 7049)):
[KCrash Handler]
#6 0x7fc43ffee489 in ?? () from /lib64/libc.so.6
#7 0x7fc439b70116 in KWin::GLVertexBuffer::setData
(this=this@entry=0x9cbed0, vertexCount=36, dim=dim@entry=2, vertices=0x997e98,
texcoords=texcoords@entry=0x0) at
/var/tmp/portage/kde-plasma/kwin-5.8.5/work/kwin-5.8.5/libkwineffects/kwinglutils.cpp:2057
#8 0x7fc43fbf70ce in KWin::SceneOpenGL2::doPaintBackground (this=0x9d6d40,
vertices=...) at
/var/tmp/portage/kde-plasma/kwin-5.8.5/work/kwin-5.8.5/scene_opengl.cpp:1100
#9 0x7fc43fbfce35 in KWin::SceneOpenGL::paintBackground
(this=this@entry=0x9d6d40, region=...) at
/var/tmp/portage/kde-plasma/kwin-5.8.5/work/kwin-5.8.5/scene_opengl.cpp:813
#10 0x7fc43fbe2359 in KWin::Scene::paintSimpleScreen
(this=this@entry=0x9d6d40, orig_mask=orig_mask@entry=8, region=...) at
/var/tmp/portage/kde-plasma/kwin-5.8.5/work/kwin-5.8.5/scene.cpp:365
#11 0x7fc43fbf7053 in KWin::SceneOpenGL2::paintSimpleScreen
(this=this@entry=0x9d6d40, mask=mask@entry=8, region=...) at
/var/tmp/portage/kde-plasma/kwin-5.8.5/work/kwin-5.8.5/scene_opengl.cpp:1083
#12 0x7fc43fbe46a5 in KWin::Scene::final