Bug 378245

Summary: KWIN random crash
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:

Description billrclarity 2017-03-29 16:34:27 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:
Another unexplained KWIN crash.  Occurs ocasionallhy when clicking on a window.  No consistancy on which window or where in the window the click.  Happens on both Lenovo E545 laptop and desktop with gigabyte board and AMD processor.

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 0x7fcc93c46940 (LWP 1927))]

Thread 7 (Thread 0x7fcc72be7700 (LWP 2589)):
#0  0x00007fcc90a56858 in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) () at /usr/lib64/libQt5Core.so.5
#1  0x00007fcc90a580c3 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) () at /usr/lib64/libQt5Core.so.5
#2  0x00007fcc90a58527 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#3  0x00007fcc90a07fdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007fcc90842f1a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#5  0x00007fcc8b3d49c8 in  () at /usr/lib64/libQt5Qml.so.5
#6  0x00007fcc908479e9 in  () at /usr/lib64/libQt5Core.so.5
#7  0x00007fcc93670734 in start_thread () at /lib64/libpthread.so.0
#8  0x00007fcc933a9d3d in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7fcbd6597700 (LWP 2059)):
#0  0x00007fcc936750af in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fcbe19d2533 in  () at /usr/lib64/dri/r600_dri.so
#2  0x00007fcbe19d1d57 in  () at /usr/lib64/dri/r600_dri.so
#3  0x00007fcc93670734 in start_thread () at /lib64/libpthread.so.0
#4  0x00007fcc933a9d3d in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7fcc70c26700 (LWP 2021)):
#0  0x00007fcc936750af in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fcc8f9c393b in  () at /usr/lib64/libQt5Script.so.5
#2  0x00007fcc8f9c3969 in  () at /usr/lib64/libQt5Script.so.5
#3  0x00007fcc93670734 in start_thread () at /lib64/libpthread.so.0
#4  0x00007fcc933a9d3d in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7fcc71cdf700 (LWP 2018)):
#0  0x00007fcc933a2b03 in select () at /lib64/libc.so.6
#1  0x00007fcc90a56849 in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) () at /usr/lib64/libQt5Core.so.5
#2  0x00007fcc90a580c3 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) () at /usr/lib64/libQt5Core.so.5
#3  0x00007fcc90a58527 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007fcc90a07fdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007fcc90842f1a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007fcc8b3d49c8 in  () at /usr/lib64/libQt5Qml.so.5
#7  0x00007fcc908479e9 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007fcc93670734 in start_thread () at /lib64/libpthread.so.0
#9  0x00007fcc933a9d3d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7fcc73fff700 (LWP 1969)):
#0  0x00007fcc933a2b03 in select () at /lib64/libc.so.6
#1  0x00007fcc90a56849 in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) () at /usr/lib64/libQt5Core.so.5
#2  0x00007fcc90a580c3 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) () at /usr/lib64/libQt5Core.so.5
#3  0x00007fcc90a58527 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007fcc90a07fdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007fcc90842f1a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007fcc8a5a71d5 in  () at /usr/lib64/libQt5DBus.so.5
#7  0x00007fcc908479e9 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007fcc93670734 in start_thread () at /lib64/libpthread.so.0
#9  0x00007fcc933a9d3d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7fcc7a17f700 (LWP 1945)):
#0  0x00007fcc933a149d in poll () at /lib64/libc.so.6
#1  0x00007fcc9251b3e2 in  () at /usr/lib64/libxcb.so.1
#2  0x00007fcc9251cfcf in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007fcc7ae41839 in  () at /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007fcc908479e9 in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007fcc93670734 in start_thread () at /lib64/libpthread.so.0
#6  0x00007fcc933a9d3d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7fcc93c46940 (LWP 1927)):
[KCrash Handler]
#6  0x00007fcc8b3c0de0 in QQmlBinding::write(QQmlPropertyData const&, QV4::Value const&, bool, QFlags<QQmlPropertyPrivate::WriteFlag>) () at /usr/lib64/libQt5Qml.so.5
#7  0x00007fcc8b3c225a in QQmlBinding::update(QFlags<QQmlPropertyPrivate::WriteFlag>) () at /usr/lib64/libQt5Qml.so.5
#8  0x00007fcc8b3cb306 in  () at /usr/lib64/libQt5Qml.so.5
#9  0x00007fcc8b35994b in QQmlComponentPrivate::complete(QQmlEnginePrivate*, QQmlComponentPrivate::ConstructionState*) () at /usr/lib64/libQt5Qml.so.5
#10 0x00007fcc8b359a07 in QQmlComponentPrivate::completeCreate() () at /usr/lib64/libQt5Qml.so.5
#11 0x00007fcc8b359890 in QQmlComponent::create(QQmlContext*) () at /usr/lib64/libQt5Qml.so.5
#12 0x00007fcc71f1e7cf in  () at /usr/lib64/qt5/plugins/org.kde.kdecoration2/kwin5_aurorae.so
#13 0x00007fcc92fc5097 in  () at /usr/lib64/libkwin.so.5
#14 0x00007fcc92ea9761 in KWin::Client::createDecoration(QRect const&) () at /usr/lib64/libkwin.so.5
#15 0x00007fcc92eaa47b in KWin::Client::updateDecoration(bool, bool) () at /usr/lib64/libkwin.so.5
#16 0x00007fcc92f0bdb6 in KWin::Client::manage(unsigned int, bool) () at /usr/lib64/libkwin.so.5
#17 0x00007fcc92e8d7e4 in KWin::Workspace::createClient(unsigned int, bool) () at /usr/lib64/libkwin.so.5
#18 0x00007fcc92ef9fc0 in KWin::Workspace::workspaceEvent(xcb_generic_event_t*) () at /usr/lib64/libkwin.so.5
#19 0x00007fcc90a07270 in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) () at /usr/lib64/libQt5Core.so.5
#20 0x00007fcc7ae3fbe4 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /usr/lib64/libQt5XcbQpa.so.5
#21 0x00007fcc7ae41c3b in QXcbConnection::processXcbEvents() () at /usr/lib64/libQt5XcbQpa.so.5
#22 0x00007fcc90a35166 in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#23 0x00007fcc91714e3c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#24 0x00007fcc9171949a in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#25 0x00007fcc90a09fc5 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#26 0x00007fcc90a0bdaa in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
#27 0x00007fcc90a584b4 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#28 0x00007fcc7aea394d in  () at /usr/lib64/libQt5XcbQpa.so.5
#29 0x00007fcc90a07fdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#30 0x00007fcc90a0fec6 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#31 0x00007fcc938919cc in kdemain () at /usr/lib64/libkdeinit5_kwin_x11.so
#32 0x00007fcc932e06e5 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:07:40 UTC
As a workaround use the breeze window decoration.

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