Bug 372817

Summary: Kwin crashes when System Settings are opened
Product: kwin Reporter: andrew.lamarra
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 5.8.4   
Target Milestone: ---   
Platform: Archlinux Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description andrew.lamarra 2016-11-23 00:48:51 UTC
Application: kwin_x11 (5.8.4)

Qt Version: 5.7.0
Frameworks Version: 5.28.0
Operating System: Linux 4.8.10-1-ARCH x86_64
Distribution: "Arch Linux"

-- Information about the crash:
- What I was doing when the application crashed:
Sometimes Kwin will crash when I open System Settings from the Application Menu. Sometimes it'll crash when I open a specific setting. But not always...

The crash can be reproduced sometimes.

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

Thread 6 (Thread 0x7f23d3fff700 (LWP 1345)):
#0  0x00007f23f5d58551 in ppoll () at /usr/lib/libc.so.6
#1  0x00007f23f3405ac9 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007f23f34073b8 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007f23f33b423a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f23f31d70f3 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007f23edd4d2d5 in  () at /usr/lib/libQt5Qml.so.5
#6  0x00007f23f31dbd78 in  () at /usr/lib/libQt5Core.so.5
#7  0x00007f23eefef454 in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007f23f5d617df in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7f23be779700 (LWP 923)):
#0  0x00007f23eeff510f in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f23f234bac4 in  () at /usr/lib/libQt5Script.so.5
#2  0x00007f23f234bb09 in  () at /usr/lib/libQt5Script.so.5
#3  0x00007f23eefef454 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f23f5d617df in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f23d35de700 (LWP 913)):
#0  0x00007f23f5d58551 in ppoll () at /usr/lib/libc.so.6
#1  0x00007f23f3405ac9 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007f23f34073b8 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007f23f33b423a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f23f31d70f3 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007f23edd4d2d5 in  () at /usr/lib/libQt5Qml.so.5
#6  0x00007f23f31dbd78 in  () at /usr/lib/libQt5Core.so.5
#7  0x00007f23eefef454 in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007f23f5d617df in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f23d9d8c700 (LWP 864)):
#0  0x00007f23f5d58551 in ppoll () at /usr/lib/libc.so.6
#1  0x00007f23f3405ac9 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007f23f34073b8 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007f23f33b423a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f23f31d70f3 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007f23ecf17e55 in  () at /usr/lib/libQt5DBus.so.5
#6  0x00007f23f31dbd78 in  () at /usr/lib/libQt5Core.so.5
#7  0x00007f23eefef454 in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007f23f5d617df in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f23dbcad700 (LWP 843)):
#0  0x00007f23f5d5848d in poll () at /usr/lib/libc.so.6
#1  0x00007f23f4e988e0 in  () at /usr/lib/libxcb.so.1
#2  0x00007f23f4e9a679 in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007f23dc759449 in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007f23f31dbd78 in  () at /usr/lib/libQt5Core.so.5
#5  0x00007f23eefef454 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f23f5d617df in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f23f631a840 (LWP 816)):
[KCrash Handler]
#6  0x00007f23edd38810 in QQmlBinding::write(QQmlPropertyData const&, QV4::Value const&, bool, QFlags<QQmlPropertyPrivate::WriteFlag>) () at /usr/lib/libQt5Qml.so.5
#7  0x00007f23edd39775 in QQmlBinding::update(QFlags<QQmlPropertyPrivate::WriteFlag>) () at /usr/lib/libQt5Qml.so.5
#8  0x00007f23edd43405 in  () at /usr/lib/libQt5Qml.so.5
#9  0x00007f23edccc27e in QQmlComponentPrivate::complete(QQmlEnginePrivate*, QQmlComponentPrivate::ConstructionState*) () at /usr/lib/libQt5Qml.so.5
#10 0x00007f23edccc347 in QQmlComponentPrivate::completeCreate() () at /usr/lib/libQt5Qml.so.5
#11 0x00007f23edccc1b0 in QQmlComponent::create(QQmlContext*) () at /usr/lib/libQt5Qml.so.5
#12 0x00007f23d80a3cfd in  () at /usr/lib/qt/plugins/org.kde.kdecoration2/kwin5_aurorae.so
#13 0x00007f23f597661a in  () at /usr/lib/libkwin.so.5
#14 0x00007f23f583d7b2 in KWin::Client::createDecoration(QRect const&) () at /usr/lib/libkwin.so.5
#15 0x00007f23f583e416 in KWin::Client::updateDecoration(bool, bool) () at /usr/lib/libkwin.so.5
#16 0x00007f23f58a8b4d in KWin::Client::manage(unsigned int, bool) () at /usr/lib/libkwin.so.5
#17 0x00007f23f581ee14 in KWin::Workspace::createClient(unsigned int, bool) () at /usr/lib/libkwin.so.5
#18 0x00007f23f58927f9 in KWin::Workspace::workspaceEvent(xcb_generic_event_t*) () at /usr/lib/libkwin.so.5
#19 0x00007f23f33b337f in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) () at /usr/lib/libQt5Core.so.5
#20 0x00007f23dc75ac14 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /usr/lib/libQt5XcbQpa.so.5
#21 0x00007f23dc75b8a5 in QXcbConnection::processXcbEvents() () at /usr/lib/libQt5XcbQpa.so.5
#22 0x00007f23f33e24b9 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#23 0x00007f23f4095e0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#24 0x00007f23f409d581 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#25 0x00007f23f33b5de0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#26 0x00007f23f33b856d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#27 0x00007f23f34071fa in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#28 0x00007f23dc7d20dd in  () at /usr/lib/libQt5XcbQpa.so.5
#29 0x00007f23f33b423a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#30 0x00007f23f33bc73c in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#31 0x00007f23f6020495 in kdemain () at /usr/lib/libkdeinit5_kwin_x11.so
#32 0x00007f23f5c99291 in __libc_start_main () at /usr/lib/libc.so.6
#33 0x000000000040069a in _start ()

Reported using DrKonqi
Comment 1 Christoph Feck 2016-11-23 02:59:17 UTC
This might be fixed with Qt 5.7.1 or Qt 5.6.2.

As a workaround, use Breeze decoration.

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