Bug 373413

Summary: kwin_x11 crashes on KDE session startup
Product: kwin Reporter: Michael Lashkevich <lashkevi>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 5.8.3   
Target Milestone: ---   
Platform: openSUSE RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description Michael Lashkevich 2016-12-08 07:59:07 UTC
Application: kwin_x11 (5.8.3)

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

-- Information about the crash:
- What I was doing when the application crashed:
kwin_x11 crashes nearly every time, when I start a KDE session.
System: OpenSUSE 42.2, official build of KDE.

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 0x7fc549dfd940 (LWP 3579))]

Thread 6 (Thread 0x7fc51ec54700 (LWP 3901)):
#0  0x00007fc549575b03 in select () at /lib64/libc.so.6
#1  0x00007fc546c48849 in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) () at /usr/lib64/libQt5Core.so.5
#2  0x00007fc546c4a0c3 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) () at /usr/lib64/libQt5Core.so.5
#3  0x00007fc546c4a527 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007fc546bf9fdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007fc546a34f1a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007fc5416269b8 in  () at /usr/lib64/libQt5Qml.so.5
#7  0x00007fc546a399e9 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007fc54983e734 in start_thread () at /lib64/libpthread.so.0
#9  0x00007fc54957cd3d in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7fc51c91e700 (LWP 3684)):
#0  0x00007fc5498430af in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fc545bcf93b in  () at /usr/lib64/libQt5Script.so.5
#2  0x00007fc545bcf969 in  () at /usr/lib64/libQt5Script.so.5
#3  0x00007fc54983e734 in start_thread () at /lib64/libpthread.so.0
#4  0x00007fc54957cd3d in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7fc51fce5700 (LWP 3657)):
#0  0x00007fc546a3240a in QMutex::lock() () at /usr/lib64/libQt5Core.so.5
#1  0x00007fc546bfdc7a in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
#2  0x00007fc546c4a4b4 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#3  0x00007fc546bf9fdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007fc546a34f1a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#5  0x00007fc5416269b8 in  () at /usr/lib64/libQt5Qml.so.5
#6  0x00007fc546a399e9 in  () at /usr/lib64/libQt5Core.so.5
#7  0x00007fc54983e734 in start_thread () at /lib64/libpthread.so.0
#8  0x00007fc54957cd3d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7fc52ead9700 (LWP 3619)):
#0  0x00007fc549575b03 in select () at /lib64/libc.so.6
#1  0x00007fc546c48849 in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) () at /usr/lib64/libQt5Core.so.5
#2  0x00007fc546c4a0c3 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) () at /usr/lib64/libQt5Core.so.5
#3  0x00007fc546c4a527 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007fc546bf9fdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007fc546a34f1a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007fc5408071d5 in  () at /usr/lib64/libQt5DBus.so.5
#7  0x00007fc546a399e9 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007fc54983e734 in start_thread () at /lib64/libpthread.so.0
#9  0x00007fc54957cd3d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7fc53075c700 (LWP 3612)):
#0  0x00007fc54957449d in poll () at /lib64/libc.so.6
#1  0x00007fc5486fb3e2 in  () at /usr/lib64/libxcb.so.1
#2  0x00007fc5486fcfcf in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007fc531411839 in  () at /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007fc546a399e9 in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007fc54983e734 in start_thread () at /lib64/libpthread.so.0
#6  0x00007fc54957cd3d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7fc549dfd940 (LWP 3579)):
[KCrash Handler]
#6  0x00007fc541612dd0 in QQmlBinding::write(QQmlPropertyData const&, QV4::Value const&, bool, QFlags<QQmlPropertyPrivate::WriteFlag>) () at /usr/lib64/libQt5Qml.so.5
#7  0x00007fc54161424a in QQmlBinding::update(QFlags<QQmlPropertyPrivate::WriteFlag>) () at /usr/lib64/libQt5Qml.so.5
#8  0x00007fc54161d2f6 in  () at /usr/lib64/libQt5Qml.so.5
#9  0x00007fc5415ab93b in QQmlComponentPrivate::complete(QQmlEnginePrivate*, QQmlComponentPrivate::ConstructionState*) () at /usr/lib64/libQt5Qml.so.5
#10 0x00007fc5415ab9f7 in QQmlComponentPrivate::completeCreate() () at /usr/lib64/libQt5Qml.so.5
#11 0x00007fc5415ab880 in QQmlComponent::create(QQmlContext*) () at /usr/lib64/libQt5Qml.so.5
#12 0x00007fc51fd347cf in  () at /usr/lib64/qt5/plugins/org.kde.kdecoration2/kwin5_aurorae.so
#13 0x00007fc5491a0047 in  () at /usr/lib64/libkwin.so.5
#14 0x00007fc549084891 in KWin::Client::createDecoration(QRect const&) () at /usr/lib64/libkwin.so.5
#15 0x00007fc5490855ab in KWin::Client::updateDecoration(bool, bool) () at /usr/lib64/libkwin.so.5
#16 0x00007fc5490e6ed6 in KWin::Client::manage(unsigned int, bool) () at /usr/lib64/libkwin.so.5
#17 0x00007fc549068994 in KWin::Workspace::createClient(unsigned int, bool) () at /usr/lib64/libkwin.so.5
#18 0x00007fc5490d50e0 in KWin::Workspace::workspaceEvent(xcb_generic_event_t*) () at /usr/lib64/libkwin.so.5
#19 0x00007fc546bf9270 in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) () at /usr/lib64/libQt5Core.so.5
#20 0x00007fc53140fbe4 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /usr/lib64/libQt5XcbQpa.so.5
#21 0x00007fc531411c3b in QXcbConnection::processXcbEvents() () at /usr/lib64/libQt5XcbQpa.so.5
#22 0x00007fc546c27166 in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#23 0x00007fc547902e3c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#24 0x00007fc54790749a in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#25 0x00007fc546bfbfc5 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#26 0x00007fc546bfddaa in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
#27 0x00007fc546c4a4b4 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#28 0x00007fc53147394d in  () at /usr/lib64/libQt5XcbQpa.so.5
#29 0x00007fc546bf9fdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#30 0x00007fc546c01ec6 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#31 0x00007fc549a5c9cc in kdemain () at /usr/lib64/libkdeinit5_kwin_x11.so
#32 0x00007fc5494b36e5 in __libc_start_main () at /lib64/libc.so.6
#33 0x0000000000400809 in _start ()

Reported using DrKonqi
Comment 1 Martin Flöser 2016-12-08 18:33:44 UTC
As a workaround use the breeze window decoration.

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