Bug 371839

Summary: Kwin always crashes short after kde startup
Product: kwin Reporter: H.H. <cyberbeat>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 5.8.0   
Target Milestone: ---   
Platform: openSUSE RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description H.H. 2016-10-29 18:51:42 UTC
Application: kwin_x11 (5.8.0)

Qt Version: 5.7.0
Frameworks Version: 5.26.0
Operating System: Linux 4.7.6-1-default x86_64
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:
Often, the crash happens, when starting a program. For example chromium.

The crash can be reproduced every time.

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

Thread 6 (Thread 0x7f15f7594700 (LWP 3408)):
#0  0x00007ffed578db74 in clock_gettime ()
#1  0x00007f16b5ded2a6 in clock_gettime () at /lib64/libc.so.6
#2  0x00007f16b33376e1 in qt_gettime() (ts=0x7f15f7593ab0, clock=<optimized out>) at tools/qelapsedtimer_unix.cpp:109
#3  0x00007f16b33376e1 in qt_gettime() (frac=<synthetic pointer>, sec=<synthetic pointer>) at tools/qelapsedtimer_unix.cpp:164
#4  0x00007f16b33376e1 in qt_gettime() () at tools/qelapsedtimer_unix.cpp:173
#5  0x00007f16b34b3419 in QTimerInfoList::updateCurrentTime() (this=this@entry=0x7f15f00de9e0) at kernel/qtimerinfo_unix.cpp:91
#6  0x00007f16b34b39c5 in QTimerInfoList::timerWait(timespec&) (this=this@entry=0x7f15f00de9e0, tm=...) at kernel/qtimerinfo_unix.cpp:388
#7  0x00007f16b34b2704 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:480
#8  0x00007f16b345f1ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f15f7593c60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:210
#9  0x00007f16b328d8b3 in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:507
#10 0x00007f16adc2b875 in  () at /usr/lib64/libQt5Qml.so.5
#11 0x00007f16b3292558 in QThreadPrivate::start(void*) (arg=0x1207dc0) at thread/qthread_unix.cpp:344
#12 0x00007f16af0f9454 in start_thread () at /lib64/libpthread.so.0
#13 0x00007f16b5de03ff in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f1683fff700 (LWP 3306)):
#0  0x00007f16af0ff10f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f16b241a834 in  () at /usr/lib64/libQt5Script.so.5
#2  0x00007f16b241a879 in  () at /usr/lib64/libQt5Script.so.5
#3  0x00007f16af0f9454 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f16b5de03ff in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f168bfff700 (LWP 3290)):
#0  0x00007ffed578db74 in clock_gettime ()
#1  0x00007f16b5ded2a6 in clock_gettime () at /lib64/libc.so.6
#2  0x00007f16b33376e1 in qt_gettime() (ts=0x7f168bffeab0, clock=<optimized out>) at tools/qelapsedtimer_unix.cpp:109
#3  0x00007f16b33376e1 in qt_gettime() (frac=<synthetic pointer>, sec=<synthetic pointer>) at tools/qelapsedtimer_unix.cpp:164
#4  0x00007f16b33376e1 in qt_gettime() () at tools/qelapsedtimer_unix.cpp:173
#5  0x00007f16b34b3419 in QTimerInfoList::updateCurrentTime() (this=this@entry=0x7f1684000980) at kernel/qtimerinfo_unix.cpp:91
#6  0x00007f16b34b39c5 in QTimerInfoList::timerWait(timespec&) (this=this@entry=0x7f1684000980, tm=...) at kernel/qtimerinfo_unix.cpp:388
#7  0x00007f16b34b2704 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:480
#8  0x00007f16b345f1ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f168bffec60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:210
#9  0x00007f16b328d8b3 in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:507
#10 0x00007f16adc2b875 in  () at /usr/lib64/libQt5Qml.so.5
#11 0x00007f16b3292558 in QThreadPrivate::start(void*) (arg=0x1465a90) at thread/qthread_unix.cpp:344
#12 0x00007f16af0f9454 in start_thread () at /lib64/libpthread.so.0
#13 0x00007f16b5de03ff in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f169a5bf700 (LWP 3256)):
#0  0x00007ffed578db74 in clock_gettime ()
#1  0x00007f16b5ded2a6 in clock_gettime () at /lib64/libc.so.6
#2  0x00007f16b33376e1 in qt_gettime() (ts=0x7f169a5beaa0, clock=<optimized out>) at tools/qelapsedtimer_unix.cpp:109
#3  0x00007f16b33376e1 in qt_gettime() (frac=<synthetic pointer>, sec=<synthetic pointer>) at tools/qelapsedtimer_unix.cpp:164
#4  0x00007f16b33376e1 in qt_gettime() () at tools/qelapsedtimer_unix.cpp:173
#5  0x00007f16b34b3419 in QTimerInfoList::updateCurrentTime() (this=this@entry=0x7f168c000980) at kernel/qtimerinfo_unix.cpp:91
#6  0x00007f16b34b39c5 in QTimerInfoList::timerWait(timespec&) (this=this@entry=0x7f168c000980, tm=...) at kernel/qtimerinfo_unix.cpp:388
#7  0x00007f16b34b2704 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:480
#8  0x00007f16b345f1ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f169a5bec50, flags=..., flags@entry=...) at kernel/qeventloop.cpp:210
#9  0x00007f16b328d8b3 in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:507
#10 0x00007f16ace01c15 in  () at /usr/lib64/libQt5DBus.so.5
#11 0x00007f16b3292558 in QThreadPrivate::start(void*) (arg=0x7f16ad075d20) at thread/qthread_unix.cpp:344
#12 0x00007f16af0f9454 in start_thread () at /lib64/libpthread.so.0
#13 0x00007f16b5de03ff in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f169c50c700 (LWP 3248)):
#0  0x00007f16b5dd76ed in poll () at /lib64/libc.so.6
#1  0x00007f16b4f4e3f0 in  () at /usr/lib64/libxcb.so.1
#2  0x00007f16b4f50189 in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007f169d1c15f9 in  () at /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f16b3292558 in QThreadPrivate::start(void*) (arg=0x119dbe0) at thread/qthread_unix.cpp:344
#5  0x00007f16af0f9454 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f16b5de03ff in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f16b6440940 (LWP 3230)):
[KCrash Handler]
#6  0x00007f16adc16f30 in QQmlBinding::write(QQmlPropertyData const&, QV4::Value const&, bool, QFlags<QQmlPropertyPrivate::WriteFlag>) () at /usr/lib64/libQt5Qml.so.5
#7  0x00007f16adc17e95 in QQmlBinding::update(QFlags<QQmlPropertyPrivate::WriteFlag>) () at /usr/lib64/libQt5Qml.so.5
#8  0x00007f16adc21b35 in  () at /usr/lib64/libQt5Qml.so.5
#9  0x00007f16adbab3fe in QQmlComponentPrivate::complete(QQmlEnginePrivate*, QQmlComponentPrivate::ConstructionState*) () at /usr/lib64/libQt5Qml.so.5
#10 0x00007f16adbab4c7 in QQmlComponentPrivate::completeCreate() () at /usr/lib64/libQt5Qml.so.5
#11 0x00007f16adbab330 in QQmlComponent::create(QQmlContext*) () at /usr/lib64/libQt5Qml.so.5
#12 0x00007f16981e24b7 in  () at /usr/lib64/qt5/plugins/org.kde.kdecoration2/kwin5_aurorae.so
#13 0x00007f16b5a01549 in  () at /usr/lib64/libkwin.so.5
#14 0x00007f16b58e2cc9 in KWin::Client::createDecoration(QRect const&) () at /usr/lib64/libkwin.so.5
#15 0x00007f16b58e368d in KWin::Client::updateDecoration(bool, bool) () at /usr/lib64/libkwin.so.5
#16 0x00007f16b5942065 in KWin::Client::manage(unsigned int, bool) () at /usr/lib64/libkwin.so.5
#17 0x00007f16b58c62f4 in KWin::Workspace::createClient(unsigned int, bool) () at /usr/lib64/libkwin.so.5
#18 0x00007f16b592f277 in KWin::Workspace::workspaceEvent(xcb_generic_event_t*) () at /usr/lib64/libkwin.so.5
#19 0x00007f16b345e32f in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) (this=<optimized out>, eventType=..., message=0x7f1694001c60, result=0x7ffed56701e8) at kernel/qabstracteventdispatcher.cpp:466
#20 0x00007f169d1c2dc4 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /usr/lib64/libQt5XcbQpa.so.5
#21 0x00007f169d1c3a55 in QXcbConnection::processXcbEvents() () at /usr/lib64/libQt5XcbQpa.so.5
#22 0x00007f16b348dd59 in QObject::event(QEvent*) (this=0x11922a0, e=<optimized out>) at kernel/qobject.cpp:1263
#23 0x00007f16b415692c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x11922a0, e=0x7f1694001de0) at kernel/qapplication.cpp:3799
#24 0x00007f16b415e0e1 in QApplication::notify(QObject*, QEvent*) (this=0x7ffed56708b0, receiver=0x11922a0, e=0x7f1694001de0) at kernel/qapplication.cpp:3556
#25 0x00007f16b3461200 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x11922a0, event=event@entry=0x7f1694001de0) at kernel/qcoreapplication.cpp:988
#26 0x00007f16b346398d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (event=0x7f1694001de0, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#27 0x00007f16b346398d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1175b10) at kernel/qcoreapplication.cpp:1649
#28 0x00007f16b34b226a in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x11c3f30, flags=...) at kernel/qeventdispatcher_unix.cpp:461
#29 0x00007f169d23a4ed in  () at /usr/lib64/libQt5XcbQpa.so.5
#30 0x00007f16b345f1ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffed56707a0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:210
#31 0x00007f16b346795c in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1261
#32 0x00007f16b609fa56 in kdemain () at /usr/lib64/libkdeinit5_kwin_x11.so
#33 0x00007f16b5d17291 in __libc_start_main () at /lib64/libc.so.6
#34 0x00000000004006ea in _start ()

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

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