Bug 366443

Summary: kwin crashes after desktop startup
Product: kwin Reporter: Slava <sl>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 5.7.3   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description Slava 2016-08-05 10:56:45 UTC
Application: kwin_x11 (5.7.3)

Qt Version: 5.6.1
Frameworks Version: 5.24.0
Operating System: Linux 4.6.4-301.fc24.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
kwin crashes after desktop startup and  start new application like kconsole.

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 0x7f92c413c940 (LWP 1516))]

Thread 5 (Thread 0x7f92b6bc8700 (LWP 2046)):
#0  0x00007f92d43bd103 in select () from /lib64/libc.so.6
#1  0x00007f92d51bd6df in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) () from /lib64/libQt5Core.so.5
#2  0x00007f92d51bedd4 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) () from /lib64/libQt5Core.so.5
#3  0x00007f92d51bf30a in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#4  0x00007f92d51705ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#5  0x00007f92d4fcf343 in QThread::exec() () from /lib64/libQt5Core.so.5
#6  0x00007f92dbed08f5 in QQmlThreadPrivate::run() () from /lib64/libQt5Qml.so.5
#7  0x00007f92d4fd399a in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#8  0x00007f92d724d5ca in start_thread () from /lib64/libpthread.so.0
#9  0x00007f92d43c6ead in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f929d98b700 (LWP 1665)):
#0  0x00007f92d7252bd0 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f92dcc81bc4 in QTWTF::TCMalloc_PageHeap::scavengerThread() () from /lib64/libQt5Script.so.5
#2  0x00007f92dcc81c09 in QTWTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /lib64/libQt5Script.so.5
#3  0x00007f92d724d5ca in start_thread () from /lib64/libpthread.so.0
#4  0x00007f92d43c6ead in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f92b5f04700 (LWP 1614)):
#0  0x00007f92d43bd103 in select () from /lib64/libc.so.6
#1  0x00007f92d51bd6df in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) () from /lib64/libQt5Core.so.5
#2  0x00007f92d51bedd4 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) () from /lib64/libQt5Core.so.5
#3  0x00007f92d51bf30a in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#4  0x00007f92d51705ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#5  0x00007f92d4fcf343 in QThread::exec() () from /lib64/libQt5Core.so.5
#6  0x00007f92dbed08f5 in QQmlThreadPrivate::run() () from /lib64/libQt5Qml.so.5
#7  0x00007f92d4fd399a in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#8  0x00007f92d724d5ca in start_thread () from /lib64/libpthread.so.0
#9  0x00007f92d43c6ead in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f92b73c9700 (LWP 1563)):
#0  0x00007f92d43bd103 in select () from /lib64/libc.so.6
#1  0x00007f92d51bd6df in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) () from /lib64/libQt5Core.so.5
#2  0x00007f92d51bedd4 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) () from /lib64/libQt5Core.so.5
#3  0x00007f92d51bf30a in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#4  0x00007f92d51705ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#5  0x00007f92d4fcf343 in QThread::exec() () from /lib64/libQt5Core.so.5
#6  0x00007f92d6d4b559 in QDBusConnectionManager::run() () from /lib64/libQt5DBus.so.5
#7  0x00007f92d4fd399a in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#8  0x00007f92d724d5ca in start_thread () from /lib64/libpthread.so.0
#9  0x00007f92d43c6ead in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f92c413c940 (LWP 1516)):
[KCrash Handler]
#6  0x00007f92dbebbd50 in QQmlBinding::write(QQmlPropertyData const&, QV4::Value const&, bool, QFlags<QQmlPropertyPrivate::WriteFlag>) () from /lib64/libQt5Qml.so.5
#7  0x00007f92dbebcaa7 in QQmlBinding::update(QFlags<QQmlPropertyPrivate::WriteFlag>) () from /lib64/libQt5Qml.so.5
#8  0x00007f92dbec6615 in QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) () from /lib64/libQt5Qml.so.5
#9  0x00007f92dbe5042e in QQmlComponentPrivate::complete(QQmlEnginePrivate*, QQmlComponentPrivate::ConstructionState*) () from /lib64/libQt5Qml.so.5
#10 0x00007f92dbe504f7 in QQmlComponentPrivate::completeCreate() () from /lib64/libQt5Qml.so.5
#11 0x00007f92dbe50360 in QQmlComponent::create(QQmlContext*) () from /lib64/libQt5Qml.so.5
#12 0x00007f92b613f987 in Aurorae::Decoration::init() () from /usr/lib64/qt5/plugins/org.kde.kdecoration2/kwin5_aurorae.so
#13 0x00007f92dd683a59 in KWin::Decoration::DecorationBridge::createDecoration(KWin::AbstractClient*) () from /lib64/libkwin.so.5
#14 0x00007f92dd56bdb9 in KWin::Client::createDecoration(QRect const&) () from /lib64/libkwin.so.5
#15 0x00007f92dd56c77d in KWin::Client::updateDecoration(bool, bool) () from /lib64/libkwin.so.5
#16 0x00007f92dd5c812f in KWin::Client::manage(unsigned int, bool) () from /lib64/libkwin.so.5
#17 0x00007f92dd54f97f in KWin::Workspace::createClient(unsigned int, bool) () from /lib64/libkwin.so.5
#18 0x00007f92dd5b5937 in KWin::Workspace::workspaceEvent(xcb_generic_event_t*) () from /lib64/libkwin.so.5
#19 0x00007f92d516f69c in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) () from /lib64/libQt5Core.so.5
#20 0x00007f92bd6de775 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () from /lib64/libQt5XcbQpa.so.5
#21 0x00007f92bd6df70b in QXcbConnection::processXcbEvents() () from /lib64/libQt5XcbQpa.so.5
#22 0x00007f92d519abd9 in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#23 0x00007f92d5a04c0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#24 0x00007f92d5a0a0ef in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#25 0x00007f92d51717aa in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#26 0x00007f92d517384f in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#27 0x00007f92d51bf1e2 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#28 0x00007f92bd7517dd in QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5XcbQpa.so.5
#29 0x00007f92d51705ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#30 0x00007f92d517817c in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#31 0x00007f92dd97d0d6 in kdemain () from /lib64/libkdeinit5_kwin_x11.so
#32 0x00007f92d42e4731 in __libc_start_main () from /lib64/libc.so.6
#33 0x000056306969acf9 in _start ()

Possible duplicates by query: bug 366331, bug 366240, bug 366198, bug 366126, bug 366097.

Reported using DrKonqi
Comment 1 Martin Flöser 2016-08-05 11:43:14 UTC
As a workaround use the breeze window decoration.

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