Bug 382889 - KWIN Crashed
Summary: KWIN Crashed
Status: RESOLVED DUPLICATE of bug 382949
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.8.7
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2017-07-29 08:02 UTC by Felix Röder
Modified: 2017-08-02 16:13 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
mgraesslin: NVIDIA+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Röder 2017-07-29 08:02:19 UTC
Application: kwin_x11 (5.8.7)

Qt Version: 5.6.2
Frameworks Version: 5.32.0
Operating System: Linux 4.11.8-2-default x86_64
Distribution: "openSUSE Leap 42.3"

-- Information about the crash:
Regular start up of Plasma 5 
Displaymanager is kdm.
Nothing speial.

The crash can be reproduced sometimes.

-- Backtrace:
Application: KWin (kwin_x11), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fecf0011940 (LWP 3462))]

Thread 4 (Thread 0x7fecc3727700 (LWP 3936)):
[KCrash Handler]
#6  0x00007fecef6eb8d7 in raise () at /lib64/libc.so.6
#7  0x00007fecef6eccaa in abort () at /lib64/libc.so.6
#8  0x00007fececc493be in  () at /usr/lib64/libQt5Core.so.5
#9  0x00007fecce4bdcab in  () at /usr/lib64/qt5/plugins/org.kde.kwin.platforms/KWinX11Platform.so
#10 0x00007fecece49de3 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#11 0x00007fecece56dd2 in QTimer::timerEvent(QTimerEvent*) () at /usr/lib64/libQt5Core.so.5
#12 0x00007fecece4abf4 in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#13 0x00007fecedb2028c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#14 0x00007fecedb248ea in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#15 0x00007fecece1fbe5 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#16 0x00007fecece6fafe in QTimerInfoList::activateTimers() () at /usr/lib64/libQt5Core.so.5
#17 0x00007fecece6e448 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#18 0x00007fecece1dbfb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#19 0x00007fececc58f5a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#20 0x00007fececc5da29 in  () at /usr/lib64/libQt5Core.so.5
#21 0x00007fecefa62744 in start_thread () at /lib64/libpthread.so.0
#22 0x00007fecef7a0aad in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7feccc806700 (LWP 3905)):
#0  0x00007fecef799873 in select () at /lib64/libc.so.6
#1  0x00007fecece6c6c9 in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) () at /usr/lib64/libQt5Core.so.5
#2  0x00007fecece6df43 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) () at /usr/lib64/libQt5Core.so.5
#3  0x00007fecece6e3a7 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007fecece1dbfb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007fececc58f5a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007fece780c3d8 in  () at /usr/lib64/libQt5Qml.so.5
#7  0x00007fececc5da29 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007fecefa62744 in start_thread () at /lib64/libpthread.so.0
#9  0x00007fecef7a0aad in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7fecd7fb6700 (LWP 3469)):
#0  0x00007fecef79428d in read () at /lib64/libc.so.6
#1  0x00007fecdf3e2073 in  () at /usr/lib64/tls/libnvidia-tls.so.384.59
#2  0x00007fece5aa0750 in  () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fece5a5fe49 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#4  0x00007fece5a602a8 in  () at /usr/lib64/libglib-2.0.so.0
#5  0x00007fece5a6042c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#6  0x00007fecece701ab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#7  0x00007fecece1dbfb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#8  0x00007fececc58f5a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#9  0x00007fece69e2295 in  () at /usr/lib64/libQt5DBus.so.5
#10 0x00007fececc5da29 in  () at /usr/lib64/libQt5Core.so.5
#11 0x00007fecefa62744 in start_thread () at /lib64/libpthread.so.0
#12 0x00007fecef7a0aad in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7fecf0011940 (LWP 3462)):
#0  0x00007fecefa670bf in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fececc5e69b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007fececc57d4b in QSemaphore::acquire(int) () at /usr/lib64/libQt5Core.so.5
#3  0x00007fecece49a32 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#4  0x00007fecece4a46f in QObject::destroyed(QObject*) () at /usr/lib64/libQt5Core.so.5
#5  0x00007fecece51f1e in QObject::~QObject() () at /usr/lib64/libQt5Core.so.5
#6  0x00007fece6a30df9 in QDBusServiceWatcher::~QDBusServiceWatcher() () at /usr/lib64/libQt5DBus.so.5
#7  0x00007fecece486c5 in QObjectPrivate::deleteChildren() () at /usr/lib64/libQt5Core.so.5
#8  0x00007fecece51c7e in QObject::~QObject() () at /usr/lib64/libQt5Core.so.5
#9  0x00007fece70cb139 in  () at /usr/lib64/libKF5GlobalAccel.so.5
#10 0x00007fecef6ee139 in __run_exit_handlers () at /lib64/libc.so.6
#11 0x00007fecef6ee185 in  () at /lib64/libc.so.6
#12 0x00007fece63d6065 in _XDefaultIOError () at /usr/lib64/libX11.so.6
#13 0x00007fecd5bf6cee in  () at /usr/lib64/libQt5XcbQpa.so.5
#14 0x00007fece63d629e in _XIOError () at /usr/lib64/libX11.so.6
#15 0x00007fece63d43ea in _XReply () at /usr/lib64/libX11.so.6
#16 0x00007fece52ef19d in  () at /usr/X11R6/lib64/libGL.so.1
#17 0x00007fece52b9065 in  () at /usr/X11R6/lib64/libGL.so.1
#18 0x00007fecde676a33 in  () at /usr/lib64/libnvidia-glcore.so.384.59
#19 0x00007fecde6d349b in  () at /usr/lib64/libnvidia-glcore.so.384.59
#20 0x00007fecde6dfe5f in  () at /usr/lib64/libnvidia-glcore.so.384.59
#21 0x00007fecde6e1fae in  () at /usr/lib64/libnvidia-glcore.so.384.59
#22 0x00007fecde34ac52 in  () at /usr/lib64/libnvidia-glcore.so.384.59
#23 0x00007fecde34cc60 in  () at /usr/lib64/libnvidia-glcore.so.384.59
#24 0x00007fecde36aae4 in  () at /usr/lib64/libnvidia-glcore.so.384.59
#25 0x00007fece866ad0c in KWin::GLTexture::GLTexture(QImage const&, unsigned int) () at /usr/lib64/libkwinglutils.so.9
#26 0x00007fece866719b in KWin::ShaderManager::selfTest() () at /usr/lib64/libkwinglutils.so.9
#27 0x00007fecef35e972 in  () at /usr/lib64/libkwin.so.5
#28 0x00007fecef35ec2e in KWin::SceneOpenGL::createScene(QObject*) () at /usr/lib64/libkwin.so.5
#29 0x00007fecef33ad4f in KWin::Compositor::slotCompositingOptionsInitialized() () at /usr/lib64/libkwin.so.5
#30 0x00007fecef33b75a in KWin::Compositor::setup() () at /usr/lib64/libkwin.so.5
#31 0x00007fecece4ae26 in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#32 0x00007fecedb2028c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#33 0x00007fecedb248ea in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#34 0x00007fecece1fbe5 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#35 0x00007fecece219ca in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
#36 0x00007fecece6e334 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#37 0x00007fecd5c64e3d in  () at /usr/lib64/libQt5XcbQpa.so.5
#38 0x00007fecece1dbfb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#39 0x00007fecece25ae6 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#40 0x00007fecefc809cc in kdemain () at /usr/lib64/libkdeinit5_kwin_x11.so
#41 0x00007fecef6d76e5 in __libc_start_main () at /lib64/libc.so.6
#42 0x0000000000400809 in _start ()

Reported using DrKonqi
Comment 1 Martin Flöser 2017-07-29 12:34:01 UTC
I'm sorry, but the crash is triggered by the proprietary NVIDIA driver. There's an X error in response to something the driver does and this takes down KWin. Completely outside of our control and due to the proprietary nature of the driver there is nothing we can do to investigate it.

Please report to NVIDIA.
Comment 2 Christoph Feck 2017-08-02 00:29:10 UTC
This is actually a duplicate of bug 382949. The X I/O error happens because of the crash in Thread 4, not because of the nvidia driver.
Comment 3 Martin Flöser 2017-08-02 04:26:20 UTC

*** This bug has been marked as a duplicate of bug 382949 ***
Comment 4 Felix Röder 2017-08-02 16:13:01 UTC
It's not a real duplicate, I use the 384.59-Driver from nvidia, no Intel GPU and today kwin crashed again.
I have copied the info for Compositing, Resolution is 2560x1440 on DVI-I-1 at 56.9506 Hz.
Compositing
===========
Compositing is active
Compositing Type: OpenGL
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 750 Ti/PCIe/SSE2
OpenGL version string: 3.1.0 NVIDIA 384.59
OpenGL platform interface: GLX
OpenGL shading language version string: 1.40 NVIDIA via Cg compiler
Driver: NVIDIA
Driver version: 384.59
GPU class: Unknown
OpenGL version: 3.1
GLSL version: 1.40
X server version: 1.18.3
Linux kernel version: 4.11.8
Direct rendering: Requires strict binding: no
GLSL shaders:  yes
Texture NPOT support:  yes
Virtual Machine:  no
OpenGL 2 Shaders are used
Painting blocks for vertical retrace:  yes