Bug 374491

Summary: Kwin crashed on login
Product: kwin Reporter: Evstifeev Roman <someuniquename>
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 Evstifeev Roman 2017-01-03 11:12:04 UTC
Application: kwin_x11 (5.8.3)

Qt Version: 5.6.1
Frameworks Version: 5.26.0
Operating System: Linux 4.6.2-4.g14295d6-default x86_64
Distribution: "openSUSE Leap 42.2"

-- Information about the crash:
This is first time it crashed on login for me. I did not update or install any new packages  from the last login, which succeeded without crash. May be a clue that before last shutdown I was playing with QMidiArp \ Carla \ Yoshimi. Also this time the Claudia did not start on boot (ususally it does start), despite the fact that it is in the "Autostart" in KDE systemsettings.

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 0x7fae0c341940 (LWP 1885))]

Thread 7 (Thread 0x7fad57fff700 (LWP 2018)):
#0  0x00007fae0bac9b03 in select () at /lib64/libc.so.6
#1  0x00007fae0919c849 in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) (nfds=16, fdread=0x7fad50000a58, fdwrite=0x7fad50000ce8, fdexcept=0x7fad50000f78, orig_timeout=0x0) at kernel/qcore_unix.cpp:75
#2  0x00007fae0919e0c3 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) (this=this@entry=0x7fad500008c0, flags=..., flags@entry=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:196
#3  0x00007fae0919e527 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fad500a3330, flags=...) at kernel/qeventdispatcher_unix.cpp:607
#4  0x00007fae0914dfdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fad57ffec70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007fae08f88f1a in QThread::exec() (this=this@entry=0xd4dd50) at thread/qthread.cpp:500
#6  0x00007fae03b7a9b8 in QQmlThreadPrivate::run() (this=0xd4dd50) at /usr/src/debug/qtdeclarative-opensource-src-5.6.1/src/qml/qml/ftw/qqmlthread.cpp:141
#7  0x00007fae08f8d9e9 in QThreadPrivate::start(void*) (arg=0xd4dd50) at thread/qthread_unix.cpp:341
#8  0x00007fae0bd92734 in start_thread () at /lib64/libpthread.so.0
#9  0x00007fae0bad0d3d in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7fad4a977700 (LWP 2009)):
#0  0x00007fae0bd970af in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fad55d17533 in  () at /usr/lib64/dri/r600_dri.so
#2  0x00007fad55d16d57 in  () at /usr/lib64/dri/r600_dri.so
#3  0x00007fae0bd92734 in start_thread () at /lib64/libpthread.so.0
#4  0x00007fae0bad0d3d in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7fade8f29700 (LWP 1958)):
#0  0x00007fae0bd970af in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fae0812393b in  () at /usr/lib64/libQt5Script.so.5
#2  0x00007fae08123969 in  () at /usr/lib64/libQt5Script.so.5
#3  0x00007fae0bd92734 in start_thread () at /lib64/libpthread.so.0
#4  0x00007fae0bad0d3d in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7fadea93a700 (LWP 1948)):
#0  0x00007fae0bac9b03 in select () at /lib64/libc.so.6
#1  0x00007fae0919c849 in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) (nfds=14, fdread=0x7faddc000a78, fdwrite=0x7faddc000d08, fdexcept=0x7faddc000f98, orig_timeout=0x0) at kernel/qcore_unix.cpp:75
#2  0x00007fae0919e0c3 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) (this=this@entry=0x7faddc0008e0, flags=..., flags@entry=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:196
#3  0x00007fae0919e527 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7faddc0008c0, flags=...) at kernel/qeventdispatcher_unix.cpp:607
#4  0x00007fae0914dfdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fadea939c70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007fae08f88f1a in QThread::exec() (this=this@entry=0xbe5720) at thread/qthread.cpp:500
#6  0x00007fae03b7a9b8 in QQmlThreadPrivate::run() (this=0xbe5720) at /usr/src/debug/qtdeclarative-opensource-src-5.6.1/src/qml/qml/ftw/qqmlthread.cpp:141
#7  0x00007fae08f8d9e9 in QThreadPrivate::start(void*) (arg=0xbe5720) at thread/qthread_unix.cpp:341
#8  0x00007fae0bd92734 in start_thread () at /lib64/libpthread.so.0
#9  0x00007fae0bad0d3d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7fadf0c06700 (LWP 1916)):
#0  0x00007fae0bac9b03 in select () at /lib64/libc.so.6
#1  0x00007fae0919c849 in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) (nfds=8, fdread=0x7fade4000a78, fdwrite=0x7fade4000d08, fdexcept=0x7fade4000f98, orig_timeout=0x0) at kernel/qcore_unix.cpp:75
#2  0x00007fae0919e0c3 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) (this=this@entry=0x7fade40008e0, flags=..., flags@entry=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:196
#3  0x00007fae0919e527 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fade40008c0, flags=...) at kernel/qeventdispatcher_unix.cpp:607
#4  0x00007fae0914dfdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fadf0c05c60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007fae08f88f1a in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:500
#6  0x00007fae02d5b1d5 in  () at /usr/lib64/libQt5DBus.so.5
#7  0x00007fae08f8d9e9 in QThreadPrivate::start(void*) (arg=0x7fae02fc3ce0) at thread/qthread_unix.cpp:341
#8  0x00007fae0bd92734 in start_thread () at /lib64/libpthread.so.0
#9  0x00007fae0bad0d3d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7fadf2ae4700 (LWP 1900)):
#0  0x00007fae0bac849d in poll () at /lib64/libc.so.6
#1  0x00007fae0ac4f3e2 in  () at /usr/lib64/libxcb.so.1
#2  0x00007fae0ac50fcf in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007fadf3794839 in  () at /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007fae08f8d9e9 in QThreadPrivate::start(void*) (arg=0xac91a0) at thread/qthread_unix.cpp:341
#5  0x00007fae0bd92734 in start_thread () at /lib64/libpthread.so.0
#6  0x00007fae0bad0d3d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7fae0c341940 (LWP 1885)):
[KCrash Handler]
#6  0x00007fae03b66dd0 in QQmlBinding::write(QQmlPropertyData const&, QV4::Value const&, bool, QFlags<QQmlPropertyPrivate::WriteFlag>) (this=0x7fad57000320) at /usr/src/debug/qtdeclarative-opensource-src-5.6.1/src/qml/jsruntime/qv4value_p.h:348
#7  0x00007fae03b66dd0 in QQmlBinding::write(QQmlPropertyData const&, QV4::Value const&, bool, QFlags<QQmlPropertyPrivate::WriteFlag>) (this=this@entry=0x17a7aa0, core=..., result=..., isUndefined=<optimized out>, flags=...) at /usr/src/debug/qtdeclarative-opensource-src-5.6.1/src/qml/qml/qqmlbinding.cpp:257
#8  0x00007fae03b6824a in QQmlBinding::update(QFlags<QQmlPropertyPrivate::WriteFlag>) (this=0x17a7aa0, flags=...) at /usr/src/debug/qtdeclarative-opensource-src-5.6.1/src/qml/qml/qqmlbinding.cpp:191
#9  0x00007fae03b712f6 in QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) (this=0x17991a0, interrupt=...) at /usr/src/debug/qtdeclarative-opensource-src-5.6.1/src/qml/qml/qqmlobjectcreator.cpp:1193
#10 0x00007fae03aff93b in QQmlComponentPrivate::complete(QQmlEnginePrivate*, QQmlComponentPrivate::ConstructionState*) (enginePriv=0xccbf80, state=state@entry=0xd7c1a0) at /usr/src/debug/qtdeclarative-opensource-src-5.6.1/src/qml/qml/qqmlcomponent.cpp:919
#11 0x00007fae03aff9f7 in QQmlComponentPrivate::completeCreate() (this=0xd7c100) at /usr/src/debug/qtdeclarative-opensource-src-5.6.1/src/qml/qml/qqmlcomponent.cpp:955
#12 0x00007fae03aff880 in QQmlComponent::create(QQmlContext*) (this=0xd41710, context=0x1602550) at /usr/src/debug/qtdeclarative-opensource-src-5.6.1/src/qml/qml/qqmlcomponent.cpp:781
#13 0x00007fadeab787cf in Aurorae::Decoration::init() (this=0x176ade0) at /usr/src/debug/kwin-5.8.3/plugins/kdecorations/aurorae/src/aurorae.cpp:316
#14 0x00007fae0b6f4047 in KWin::Decoration::DecorationBridge::createDecoration(KWin::AbstractClient*) (this=0xb35f40, client=client@entry=0x175fc20) at /usr/src/debug/kwin-5.8.3/decorations/decorationbridge.cpp:260
#15 0x00007fae0b5d8891 in KWin::Client::createDecoration(QRect const&) (this=this@entry=0x175fc20, oldgeom=...) at /usr/src/debug/kwin-5.8.3/client.cpp:393
#16 0x00007fae0b5d95ab in KWin::Client::updateDecoration(bool, bool) (this=0x175fc20, check_workspace_pos=<optimized out>, force=<optimized out>) at /usr/src/debug/kwin-5.8.3/client.cpp:380
#17 0x00007fae0b63aed6 in KWin::Client::manage(unsigned int, bool) (this=this@entry=0x175fc20, w=w@entry=67108890, isMapped=isMapped@entry=false) at /usr/src/debug/kwin-5.8.3/manage.cpp:390
#18 0x00007fae0b5bc994 in KWin::Workspace::createClient(unsigned int, bool) (this=this@entry=0xb66c00, w=67108890, is_mapped=is_mapped@entry=false) at /usr/src/debug/kwin-5.8.3/workspace.cpp:517
#19 0x00007fae0b6290e0 in KWin::Workspace::workspaceEvent(xcb_generic_event_t*) (this=0xb66c00, e=0x7fadec006b40) at /usr/src/debug/kwin-5.8.3/events.cpp:421
#20 0x00007fae0914d270 in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) (this=<optimized out>, eventType=..., message=0x7fadec006b40, result=0x7ffda04fea18) at kernel/qabstracteventdispatcher.cpp:460
#21 0x00007fadf3792be4 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /usr/lib64/libQt5XcbQpa.so.5
#22 0x00007fadf3794c3b in QXcbConnection::processXcbEvents() () at /usr/lib64/libQt5XcbQpa.so.5
#23 0x00007fae0917b166 in QObject::event(QEvent*) (this=0xab47f0, e=<optimized out>) at kernel/qobject.cpp:1256
#24 0x00007fae09e56e3c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#25 0x00007fae09e5b49a in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#26 0x00007fae0914ffc5 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0xab47f0, event=event@entry=0x7fadec001bf0) at kernel/qcoreapplication.cpp:1015
#27 0x00007fae09151daa in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (event=0x7fadec001bf0, receiver=<optimized out>) at kernel/qcoreapplication.h:225
#28 0x00007fae09151daa in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0xa9b650) at kernel/qcoreapplication.cpp:1650
#29 0x00007fae0919e4b4 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0xb0ee40, flags=...) at kernel/qeventdispatcher_unix.cpp:579
#30 0x00007fadf37f694d in  () at /usr/lib64/libQt5XcbQpa.so.5
#31 0x00007fae0914dfdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffda04fefc0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#32 0x00007fae09155ec6 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1285
#33 0x00007fae0bfb09cc in kdemain(int, char**) (argc=1, argv=0x7ffda04ff248) at /usr/src/debug/kwin-5.8.3/main_x11.cpp:466
#34 0x00007fae0ba076e5 in __libc_start_main () at /lib64/libc.so.6
#35 0x0000000000400809 in _start () at ../sysdeps/x86_64/start.S:118

Possible duplicates by query: bug 374129, bug 374100, bug 374002, bug 373785, bug 373472.

Reported using DrKonqi
Comment 1 Martin Flöser 2017-01-03 11:36:59 UTC
As a workaround use the breeze window decoration.

@dupe_of 361236
Comment 2 Martin Flöser 2017-01-03 15:45:38 UTC
Now really as dupe.

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