Bug 369907 - Kwin crashes sometimes
Summary: Kwin crashes sometimes
Status: RESOLVED DUPLICATE of bug 361236
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.7.4
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-10-04 18:29 UTC by Stefan Rücker
Modified: 2016-10-05 05:34 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Rücker 2016-10-04 18:29:15 UTC
Application: kwin_x11 (5.7.4)

Qt Version: 5.6.1
Frameworks Version: 5.25.0
Operating System: Linux 4.7.0-1-amd64 x86_64
Distribution: Debian GNU/Linux testing (stretch)

-- Information about the crash:
- What I was doing when the application crashed:

Opened a new Program via K-Menu, this time Konsole. 
On another occasion pressed Reply button in KMail. 
I see these kind of crashes on both of my Systems, my notebook and my desktop

I am running debian testing on both systems.

The crash can be reproduced sometimes.

-- Backtrace:
Application: KWin (kwin_x11), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fdea5350900 (LWP 3927))]

Thread 7 (Thread 0x7fde858df700 (LWP 6392)):
#0  0x00007fdebbb03253 in select () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fdeb9988d3f in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) (nfds=19, fdread=fdread@entry=0x7fddfc0ac688, fdwrite=fdwrite@entry=0x7fddfc0ac918, fdexcept=fdexcept@entry=0x7fddfc0acba8, orig_timeout=orig_timeout@entry=0x0) at kernel/qcore_unix.cpp:75
#2  0x00007fdeb998a7e4 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) (timeout=0x0, exceptfds=0x7fddfc0acba8, writefds=0x7fddfc0ac918, readfds=0x7fddfc0ac688, nfds=<optimized out>, this=0x7fddfc08f540) at kernel/qeventdispatcher_unix.cpp:320
#3  0x00007fdeb998a7e4 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) (this=this@entry=0x7fddfc0ac4f0, flags=..., flags@entry=..., timeout=timeout@entry=0x0) at kernel/qeventdispatcher_unix.cpp:196
#4  0x00007fdeb998acfa in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fddfc08f540, flags=...) at kernel/qeventdispatcher_unix.cpp:607
#5  0x00007fdeb993519a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fde858deca0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007fdeb975ae53 in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:500
#7  0x00007fdeb41e8a55 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007fdeb975fd78 in QThreadPrivate::start(void*) (arg=0x14babc0) at thread/qthread_unix.cpp:341
#9  0x00007fdeb508a464 in start_thread (arg=0x7fde858df700) at pthread_create.c:333
#10 0x00007fdebbb0a97f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 6 (Thread 0x7fde9bfff700 (LWP 5311)):
#0  0x00007fdeb509018f in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fdeb9760c3b in QWaitCondition::wait(QMutex*, unsigned long) (time=18446744073709551615, this=0x13d07d0) at thread/qwaitcondition_unix.cpp:136
#2  0x00007fdeb9760c3b in QWaitCondition::wait(QMutex*, unsigned long) (this=<optimized out>, mutex=0x1282f40, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:208
#3  0x00007fdeb46b54c5 in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#4  0x00007fdeb46b5dba in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#5  0x00007fdeb975fd78 in QThreadPrivate::start(void*) (arg=0x1282ec0) at thread/qthread_unix.cpp:341
#6  0x00007fdeb508a464 in start_thread (arg=0x7fde9bfff700) at pthread_create.c:333
#7  0x00007fdebbb0a97f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 5 (Thread 0x7fde997fb700 (LWP 3965)):
#0  0x00007fdeb509018f in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fdeb8af9574 in  () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#2  0x00007fdeb8af95b9 in  () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#3  0x00007fdeb508a464 in start_thread (arg=0x7fde997fb700) at pthread_create.c:333
#4  0x00007fdebbb0a97f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 4 (Thread 0x7fde9b7fe700 (LWP 3957)):
#0  0x00007fdebbb03253 in select () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fdeb9988d3f in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) (nfds=13, fdread=fdread@entry=0x7fde88000a78, fdwrite=fdwrite@entry=0x7fde88000d08, fdexcept=fdexcept@entry=0x7fde88000f98, orig_timeout=orig_timeout@entry=0x0) at kernel/qcore_unix.cpp:75
#2  0x00007fdeb998a7e4 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) (timeout=0x0, exceptfds=0x7fde88000f98, writefds=0x7fde88000d08, readfds=0x7fde88000a78, nfds=<optimized out>, this=0x7fde880008c0) at kernel/qeventdispatcher_unix.cpp:320
#3  0x00007fdeb998a7e4 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) (this=this@entry=0x7fde880008e0, flags=..., flags@entry=..., timeout=timeout@entry=0x0) at kernel/qeventdispatcher_unix.cpp:196
#4  0x00007fdeb998acfa in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fde880008c0, flags=...) at kernel/qeventdispatcher_unix.cpp:607
#5  0x00007fdeb993519a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fde9b7fdca0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007fdeb975ae53 in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:500
#7  0x00007fdeb41e8a55 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007fdeb975fd78 in QThreadPrivate::start(void*) (arg=0xc4f960) at thread/qthread_unix.cpp:341
#9  0x00007fdeb508a464 in start_thread (arg=0x7fde9b7fe700) at pthread_create.c:333
#10 0x00007fdebbb0a97f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 3 (Thread 0x7fdea2101700 (LWP 3940)):
#0  0x00007fdebbb03253 in select () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fdeb9988d3f in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) (nfds=8, fdread=fdread@entry=0x7fde94000a78, fdwrite=fdwrite@entry=0x7fde94000d08, fdexcept=fdexcept@entry=0x7fde94000f98, orig_timeout=orig_timeout@entry=0x0) at kernel/qcore_unix.cpp:75
#2  0x00007fdeb998a7e4 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) (timeout=0x0, exceptfds=0x7fde94000f98, writefds=0x7fde94000d08, readfds=0x7fde94000a78, nfds=<optimized out>, this=0x7fde940008c0) at kernel/qeventdispatcher_unix.cpp:320
#3  0x00007fdeb998a7e4 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) (this=this@entry=0x7fde940008e0, flags=..., flags@entry=..., timeout=timeout@entry=0x0) at kernel/qeventdispatcher_unix.cpp:196
#4  0x00007fdeb998acfa in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fde940008c0, flags=...) at kernel/qeventdispatcher_unix.cpp:607
#5  0x00007fdeb993519a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fdea2100c90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007fdeb975ae53 in QThread::exec() (this=this@entry=0x7fdebc17ad60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:500
#7  0x00007fdebc106525 in QDBusConnectionManager::run() (this=0x7fdebc17ad60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:189
#8  0x00007fdeb975fd78 in QThreadPrivate::start(void*) (arg=0x7fdebc17ad60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:341
#9  0x00007fdeb508a464 in start_thread (arg=0x7fdea2101700) at pthread_create.c:333
#10 0x00007fdebbb0a97f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 2 (Thread 0x7fdea3e58700 (LWP 3934)):
#0  0x00007fdebbb0150d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fdebac8d150 in _xcb_conn_wait (__timeout=-1, __nfds=1, __fds=0x7fdea3e57bc0) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2  0x00007fdebac8d150 in _xcb_conn_wait (c=c@entry=0xab25b0, cond=cond@entry=0xab25f0, vector=vector@entry=0x0, count=count@entry=0x0) at ../../src/xcb_conn.c:479
#3  0x00007fdebac8eee9 in xcb_wait_for_event (c=0xab25b0) at ../../src/xcb_in.c:693
#4  0x00007fdea4b27a79 in QXcbEventReader::run() (this=0xabf820) at qxcbconnection.cpp:1325
#5  0x00007fdeb975fd78 in QThreadPrivate::start(void*) (arg=0xabf820) at thread/qthread_unix.cpp:341
#6  0x00007fdeb508a464 in start_thread (arg=0x7fdea3e58700) at pthread_create.c:333
#7  0x00007fdebbb0a97f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 1 (Thread 0x7fdea5350900 (LWP 3927)):
[KCrash Handler]
#6  0x00007fdeb41d3e50 in QQmlBinding::write(QQmlPropertyData const&, QV4::Value const&, bool, QFlags<QQmlPropertyPrivate::WriteFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007fdeb41d4ba7 in QQmlBinding::update(QFlags<QQmlPropertyPrivate::WriteFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007fdeb41de705 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#9  0x00007fdeb416852e in QQmlComponentPrivate::complete(QQmlEnginePrivate*, QQmlComponentPrivate::ConstructionState*) () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#10 0x00007fdeb41685f7 in QQmlComponentPrivate::completeCreate() () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#11 0x00007fdeb4168460 in QQmlComponent::create(QQmlContext*) () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#12 0x00007fdea0256fd7 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kdecoration2/kwin5_aurorae.so
#13 0x00007fdebb72fd19 in  () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#14 0x00007fdebb616339 in KWin::Client::createDecoration(QRect const&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#15 0x00007fdebb616cfd in KWin::Client::updateDecoration(bool, bool) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#16 0x00007fdebb673656 in KWin::Client::manage(unsigned int, bool) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#17 0x00007fdebb5f979f in KWin::Workspace::createClient(unsigned int, bool) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#18 0x00007fdebb660a97 in KWin::Workspace::workspaceEvent(xcb_generic_event_t*) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#19 0x00007fdeb99342df in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) (this=<optimized out>, eventType=..., message=message@entry=0x7fde9c0021a0, result=result@entry=0x7ffe564b9658) at kernel/qabstracteventdispatcher.cpp:460
#20 0x00007fdea4b29455 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) (this=this@entry=0xab0e40, event=event@entry=0x7fde9c0021a0) at qxcbconnection.cpp:1091
#21 0x00007fdea4b2a3eb in QXcbConnection::processXcbEvents() (this=0xab0e40) at qxcbconnection.cpp:1723
#22 0x00007fdeb9965729 in QObject::event(QEvent*) (this=0xab0e40, e=<optimized out>) at kernel/qobject.cpp:1256
#23 0x00007fdeba273bec in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0xab0e40, e=0x7fde9c0036f0) at kernel/qapplication.cpp:3804
#24 0x00007fdeba27908f in QApplication::notify(QObject*, QEvent*) (this=0x7ffe564b9ca0, receiver=0xab0e40, e=0x7fde9c0036f0) at kernel/qapplication.cpp:3561
#25 0x00007fdeb9937450 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0xab0e40, event=event@entry=0x7fde9c0036f0) at kernel/qcoreapplication.cpp:1015
#26 0x00007fdeb99393cc in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (event=0x7fde9c0036f0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:225
#27 0x00007fdeb99393cc in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0xa98f60) at kernel/qcoreapplication.cpp:1650
#28 0x00007fdeb998abe2 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0xaed4f0, flags=...) at kernel/qeventdispatcher_unix.cpp:579
#29 0x00007fdea4b9c0ad in QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at eventdispatchers/qunixeventdispatcher.cpp:62
#30 0x00007fdeb993519a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffe564b9b90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#31 0x00007fdeb993d99c in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1285
#32 0x00007fdebbdc9216 in kdemain () at /usr/lib/x86_64-linux-gnu/libkdeinit5_kwin_x11.so
#33 0x00007fdebba422b1 in __libc_start_main (main=0x4006a0, argc=3, argv=0x7ffe564b9e28, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe564b9e18) at ../csu/libc-start.c:291
#34 0x00000000004006d9 in _start ()

Reported using DrKonqi
Comment 1 Martin Flöser 2016-10-05 05:34:51 UTC
As a workaround use Breeze window decoration.

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