Bug 378907

Summary: Kwin crasch on startup
Product: kwin Reporter: Tryggve Johannesson <bugger>
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 RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description Tryggve Johannesson 2017-04-18 08:49:02 UTC
Application: kwin_x11 (5.8.6)

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

-- Information about the crash:
- What I was doing when the application crashed:
Logging in. Sometime early in the startup of the KDE environment Kwin report that it has crashed. I get a dialogue with the option to restart which I usually do, even though it seem to have done so by itself by that time.
This happens often but no always.

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

Thread 8 (Thread 0x7f2923a5e700 (LWP 3082)):
#0  0x00007f294c6f6b03 in select () at /lib64/libc.so.6
#1  0x00007f2949dc6849 in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f2949dc80c3 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) () at /usr/lib64/libQt5Core.so.5
#3  0x00007f2949dc8527 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f2949d77fdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f2949bb2f1a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f294479d9c8 in  () at /usr/lib64/libQt5Qml.so.5
#7  0x00007f2949bb79e9 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f294c9bf744 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f294c6fdd3d in clone () at /lib64/libc.so.6

Thread 7 (Thread 0x7f2886fde700 (LWP 2873)):
#0  0x00007f294c9c4468 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f2949bb85a8 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f2949bb49a0 in  () at /usr/lib64/libQt5Core.so.5
#3  0x00007f2949bb79e9 in  () at /usr/lib64/libQt5Core.so.5
#4  0x00007f294c9bf744 in start_thread () at /lib64/libpthread.so.0
#5  0x00007f294c6fdd3d in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7f2907fff700 (LWP 2872)):
#0  0x00007f294c9c40bf in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f2948d4693b in  () at /usr/lib64/libQt5Script.so.5
#2  0x00007f2948d46969 in  () at /usr/lib64/libQt5Script.so.5
#3  0x00007f294c9bf744 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f294c6fdd3d in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f29148f3700 (LWP 2871)):
#0  0x00007f294c9c4468 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f2949bb85a8 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f2949bb49a0 in  () at /usr/lib64/libQt5Core.so.5
#3  0x00007f2949bb79e9 in  () at /usr/lib64/libQt5Core.so.5
#4  0x00007f294c9bf744 in start_thread () at /lib64/libpthread.so.0
#5  0x00007f294c6fdd3d in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f291707a700 (LWP 2869)):
#0  0x00007f294c6f6b03 in select () at /lib64/libc.so.6
#1  0x00007f2949dc6849 in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f2949dc80c3 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) () at /usr/lib64/libQt5Core.so.5
#3  0x00007f2949dc8527 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f2949d77fdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f2949bb2f1a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f294479d9c8 in  () at /usr/lib64/libQt5Qml.so.5
#7  0x00007f2949bb79e9 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f294c9bf744 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f294c6fdd3d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f292880b700 (LWP 2858)):
#0  0x00007f294c9c4468 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f2949bb85a8 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f2949bb49a0 in  () at /usr/lib64/libQt5Core.so.5
#3  0x00007f2949bb79e9 in  () at /usr/lib64/libQt5Core.so.5
#4  0x00007f294c9bf744 in start_thread () at /lib64/libpthread.so.0
#5  0x00007f294c6fdd3d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f2929a1c700 (LWP 2817)):
#0  0x00007f294c6f6b03 in select () at /lib64/libc.so.6
#1  0x00007f2949dc6849 in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f2949dc80c3 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) () at /usr/lib64/libQt5Core.so.5
#3  0x00007f2949dc8527 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f2949d77fdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f2949bb2f1a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f294397e1d5 in  () at /usr/lib64/libQt5DBus.so.5
#7  0x00007f2949bb79e9 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f294c9bf744 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f294c6fdd3d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f294cf95940 (LWP 2738)):
[KCrash Handler]
#6  0x00007f2944789de0 in QQmlBinding::write(QQmlPropertyData const&, QV4::Value const&, bool, QFlags<QQmlPropertyPrivate::WriteFlag>) () at /usr/lib64/libQt5Qml.so.5
#7  0x00007f294478b25a in QQmlBinding::update(QFlags<QQmlPropertyPrivate::WriteFlag>) () at /usr/lib64/libQt5Qml.so.5
#8  0x00007f2944794306 in  () at /usr/lib64/libQt5Qml.so.5
#9  0x00007f294472294b in QQmlComponentPrivate::complete(QQmlEnginePrivate*, QQmlComponentPrivate::ConstructionState*) () at /usr/lib64/libQt5Qml.so.5
#10 0x00007f2944722a07 in QQmlComponentPrivate::completeCreate() () at /usr/lib64/libQt5Qml.so.5
#11 0x00007f2944722890 in QQmlComponent::create(QQmlContext*) () at /usr/lib64/libQt5Qml.so.5
#12 0x00007f2923d357cf in  () at /usr/lib64/qt5/plugins/org.kde.kdecoration2/kwin5_aurorae.so
#13 0x00007f294c31f097 in  () at /usr/lib64/libkwin.so.5
#14 0x00007f294c203761 in KWin::Client::createDecoration(QRect const&) () at /usr/lib64/libkwin.so.5
#15 0x00007f294c20447b in KWin::Client::updateDecoration(bool, bool) () at /usr/lib64/libkwin.so.5
#16 0x00007f294c265db6 in KWin::Client::manage(unsigned int, bool) () at /usr/lib64/libkwin.so.5
#17 0x00007f294c1e77e4 in KWin::Workspace::createClient(unsigned int, bool) () at /usr/lib64/libkwin.so.5
#18 0x00007f294c253fc0 in KWin::Workspace::workspaceEvent(xcb_generic_event_t*) () at /usr/lib64/libkwin.so.5
#19 0x00007f2949d77270 in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) () at /usr/lib64/libQt5Core.so.5
#20 0x00007f2934369be4 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /usr/lib64/libQt5XcbQpa.so.5
#21 0x00007f293436bc3b in QXcbConnection::processXcbEvents() () at /usr/lib64/libQt5XcbQpa.so.5
#22 0x00007f2949da5166 in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#23 0x00007f294aa80e3c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#24 0x00007f294aa8549a in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#25 0x00007f2949d79fc5 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#26 0x00007f2949d7bdaa in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
#27 0x00007f2949dc84b4 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#28 0x00007f29343cd94d in  () at /usr/lib64/libQt5XcbQpa.so.5
#29 0x00007f2949d77fdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#30 0x00007f2949d7fec6 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#31 0x00007f294cbdd9cc in kdemain () at /usr/lib64/libkdeinit5_kwin_x11.so
#32 0x00007f294c6346e5 in __libc_start_main () at /lib64/libc.so.6
#33 0x0000000000400809 in _start ()

Reported using DrKonqi
Comment 1 Martin Flöser 2017-04-18 15:01:33 UTC
As a workaround use the breeze window decoration.

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