Bug 378230

Summary: KWIN crashes at random times
Product: [Plasma] kwin Reporter: billrclarity <billrclarity>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
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 billrclarity 2017-03-29 07:50:39 UTC
Application: kwin_x11 (5.8.6)

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

-- Information about the crash:
- What I was doing when the application crashed:
Clicked on the luckybackup window to load the manage backup window.   Screen blinked and error message appeared saying KWIN crashed.  Appears to have restarted normally as I was able to operate crash assistant.

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 0x7f809d1a2940 (LWP 2468))]

Thread 6 (Thread 0x7f806bd46700 (LWP 3334)):
#0  0x00007f809c906b03 in select () at /lib64/libc.so.6
#1  0x00007f8099fd6849 in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f8099fd80c3 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) () at /usr/lib64/libQt5Core.so.5
#3  0x00007f8099fd8527 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f8099f87fdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f8099dc2f1a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f80949ad9c8 in  () at /usr/lib64/libQt5Qml.so.5
#7  0x00007f8099dc79e9 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f809cbcf734 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f809c90dd3d in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f806b535700 (LWP 2591)):
#0  0x00007f809cbd40af in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f8098f5693b in  () at /usr/lib64/libQt5Script.so.5
#2  0x00007f8098f56969 in  () at /usr/lib64/libQt5Script.so.5
#3  0x00007f809cbcf734 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f809c90dd3d in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f8079932700 (LWP 2540)):
#0  0x00007f809c906b03 in select () at /lib64/libc.so.6
#1  0x00007f8099fd6849 in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f8099fd80c3 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) () at /usr/lib64/libQt5Core.so.5
#3  0x00007f8099fd8527 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f8099f87fdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f8099dc2f1a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f80949ad9c8 in  () at /usr/lib64/libQt5Qml.so.5
#7  0x00007f8099dc79e9 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f809cbcf734 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f809c90dd3d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f807b9be700 (LWP 2521)):
#0  0x00007f809c906b03 in select () at /lib64/libc.so.6
#1  0x00007f8099fd6849 in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f8099fd80c3 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) () at /usr/lib64/libQt5Core.so.5
#3  0x00007f8099fd8527 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f8099f87fdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f8099dc2f1a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f8093b8e1d5 in  () at /usr/lib64/libQt5DBus.so.5
#7  0x00007f8099dc79e9 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f809cbcf734 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f809c90dd3d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f8081ad2700 (LWP 2477)):
#0  0x00007f809c90549d in poll () at /lib64/libc.so.6
#1  0x00007f809ba893e2 in  () at /usr/lib64/libxcb.so.1
#2  0x00007f809ba8afcf in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007f8082bae839 in  () at /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f8099dc79e9 in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f809cbcf734 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f809c90dd3d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f809d1a2940 (LWP 2468)):
[KCrash Handler]
#6  0x00007f8094999de0 in QQmlBinding::write(QQmlPropertyData const&, QV4::Value const&, bool, QFlags<QQmlPropertyPrivate::WriteFlag>) () at /usr/lib64/libQt5Qml.so.5
#7  0x00007f809499b25a in QQmlBinding::update(QFlags<QQmlPropertyPrivate::WriteFlag>) () at /usr/lib64/libQt5Qml.so.5
#8  0x00007f80949a4306 in  () at /usr/lib64/libQt5Qml.so.5
#9  0x00007f809493294b in QQmlComponentPrivate::complete(QQmlEnginePrivate*, QQmlComponentPrivate::ConstructionState*) () at /usr/lib64/libQt5Qml.so.5
#10 0x00007f8094932a07 in QQmlComponentPrivate::completeCreate() () at /usr/lib64/libQt5Qml.so.5
#11 0x00007f8094932890 in QQmlComponent::create(QQmlContext*) () at /usr/lib64/libQt5Qml.so.5
#12 0x00007f8079b707cf in  () at /usr/lib64/qt5/plugins/org.kde.kdecoration2/kwin5_aurorae.so
#13 0x00007f809c52f097 in  () at /usr/lib64/libkwin.so.5
#14 0x00007f809c413761 in KWin::Client::createDecoration(QRect const&) () at /usr/lib64/libkwin.so.5
#15 0x00007f809c41447b in KWin::Client::updateDecoration(bool, bool) () at /usr/lib64/libkwin.so.5
#16 0x00007f809c475db6 in KWin::Client::manage(unsigned int, bool) () at /usr/lib64/libkwin.so.5
#17 0x00007f809c3f77e4 in KWin::Workspace::createClient(unsigned int, bool) () at /usr/lib64/libkwin.so.5
#18 0x00007f809c463fc0 in KWin::Workspace::workspaceEvent(xcb_generic_event_t*) () at /usr/lib64/libkwin.so.5
#19 0x00007f8099f87270 in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) () at /usr/lib64/libQt5Core.so.5
#20 0x00007f8082bacbe4 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /usr/lib64/libQt5XcbQpa.so.5
#21 0x00007f8082baec3b in QXcbConnection::processXcbEvents() () at /usr/lib64/libQt5XcbQpa.so.5
#22 0x00007f8099fb5166 in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#23 0x00007f809ac90e3c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#24 0x00007f809ac9549a in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#25 0x00007f8099f89fc5 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#26 0x00007f8099f8bdaa in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
#27 0x00007f8099fd84b4 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#28 0x00007f8082c1094d in  () at /usr/lib64/libQt5XcbQpa.so.5
#29 0x00007f8099f87fdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#30 0x00007f8099f8fec6 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#31 0x00007f809cded9cc in kdemain () at /usr/lib64/libkdeinit5_kwin_x11.so
#32 0x00007f809c8446e5 in __libc_start_main () at /lib64/libc.so.6
#33 0x0000000000400809 in _start ()

Reported using DrKonqi
Comment 1 Martin Flöser 2017-04-02 09:06:21 UTC
As a workaround use the breeze window decoration.

*** This bug has been marked as a duplicate of bug 361236 ***