Bug 370432

Summary: New window causes KWin to crash
Product: [Plasma] kwin Reporter: Balpo <balpo>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 5.8.0   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Balpo 2016-10-10 23:27:43 UTC
Application: kwin_x11 (5.8.0)

Qt Version: 5.6.1
Frameworks Version: 5.26.0
Operating System: Linux 4.7.0-1-amd64 x86_64
Distribution: Debian GNU/Linux unstable (sid)

-- Information about the crash:
- What I was doing when the application crashed:
opened a new window
- Unusual behavior I noticed:
screen flickers, the cause seems to be tooltips or some sudden drawing
- Custom settings of the application:
none important

-- 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 0x7fe655fd7e00 (LWP 2259))]

Thread 6 (Thread 0x7fe63e45f700 (LWP 3514)):
#0  0x00007fe66b18aa71 in QMutex::lock() (this=this@entry=0x1bd69c8) at thread/qmutex.cpp:217
#1  0x00007fe66b36c1ac in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (m=0x1bd69c8, this=<synthetic pointer>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:128
#2  0x00007fe66b36c1ac in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1bd69a0) at kernel/qcoreapplication.cpp:1527
#3  0x00007fe66b3bdbe2 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fe6380008c0, flags=...) at kernel/qeventdispatcher_unix.cpp:579
#4  0x00007fe66b36819a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fe63e45ec60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007fe66b18de53 in QThread::exec() (this=this@entry=0x1ba2da0) at thread/qthread.cpp:500
#6  0x00007fe666370a55 in QQmlThreadPrivate::run() (this=0x1ba2da0) at qml/ftw/qqmlthread.cpp:141
#7  0x00007fe66b192d78 in QThreadPrivate::start(void*) (arg=0x1ba2da0) at thread/qthread_unix.cpp:341
#8  0x00007fe667213464 in start_thread (arg=0x7fe63e45f700) at pthread_create.c:333
#9  0x00007fe66d55997f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 5 (Thread 0x7fe63dc5e700 (LWP 2353)):
#0  0x00007fe66721918f in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fe66a52a574 in  () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#2  0x00007fe66a52a5b9 in  () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#3  0x00007fe667213464 in start_thread (arg=0x7fe63dc5e700) at pthread_create.c:333
#4  0x00007fe66d55997f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 4 (Thread 0x7fe64d341700 (LWP 2339)):
#0  0x00007fe66d552253 in select () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fe66b3bbd3f in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) (nfds=13, fdread=fdread@entry=0x7fe644000a78, fdwrite=fdwrite@entry=0x7fe644000d08, fdexcept=fdexcept@entry=0x7fe644000f98, orig_timeout=orig_timeout@entry=0x0) at kernel/qcore_unix.cpp:75
#2  0x00007fe66b3bd7e4 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) (timeout=0x0, exceptfds=0x7fe644000f98, writefds=0x7fe644000d08, readfds=0x7fe644000a78, nfds=<optimized out>, this=0x7fe6440008c0) at kernel/qeventdispatcher_unix.cpp:320
#3  0x00007fe66b3bd7e4 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) (this=this@entry=0x7fe6440008e0, flags=..., flags@entry=..., timeout=timeout@entry=0x0) at kernel/qeventdispatcher_unix.cpp:196
#4  0x00007fe66b3bdcfa in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fe6440008c0, flags=...) at kernel/qeventdispatcher_unix.cpp:607
#5  0x00007fe66b36819a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fe64d340c60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007fe66b18de53 in QThread::exec() (this=this@entry=0x1032390) at thread/qthread.cpp:500
#7  0x00007fe666370a55 in QQmlThreadPrivate::run() (this=0x1032390) at qml/ftw/qqmlthread.cpp:141
#8  0x00007fe66b192d78 in QThreadPrivate::start(void*) (arg=0x1032390) at thread/qthread_unix.cpp:341
#9  0x00007fe667213464 in start_thread (arg=0x7fe64d341700) at pthread_create.c:333
#10 0x00007fe66d55997f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 3 (Thread 0x7fe64f345700 (LWP 2313)):
#0  0x00007fe66d552253 in select () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fe66b3bbd3f in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) (nfds=8, fdread=fdread@entry=0x7fe648000a78, fdwrite=fdwrite@entry=0x7fe648000d08, fdexcept=fdexcept@entry=0x7fe648000f98, orig_timeout=orig_timeout@entry=0x0) at kernel/qcore_unix.cpp:75
#2  0x00007fe66b3bd7e4 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) (timeout=0x0, exceptfds=0x7fe648000f98, writefds=0x7fe648000d08, readfds=0x7fe648000a78, nfds=<optimized out>, this=0x7fe6480008c0) at kernel/qeventdispatcher_unix.cpp:320
#3  0x00007fe66b3bd7e4 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) (this=this@entry=0x7fe6480008e0, flags=..., flags@entry=..., timeout=timeout@entry=0x0) at kernel/qeventdispatcher_unix.cpp:196
#4  0x00007fe66b3bdcfa in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fe6480008c0, flags=...) at kernel/qeventdispatcher_unix.cpp:607
#5  0x00007fe66b36819a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fe64f344c50, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007fe66b18de53 in QThread::exec() (this=this@entry=0x7fe66dbbbd60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:500
#7  0x00007fe66db47525 in QDBusConnectionManager::run() (this=0x7fe66dbbbd60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:189
#8  0x00007fe66b192d78 in QThreadPrivate::start(void*) (arg=0x7fe66dbbbd60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:341
#9  0x00007fe667213464 in start_thread (arg=0x7fe64f345700) at pthread_create.c:333
#10 0x00007fe66d55997f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 2 (Thread 0x7fe65509f700 (LWP 2287)):
#0  0x00007fe66d55050d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fe66c6c0150 in  () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fe66c6c1ee9 in xcb_wait_for_event () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fe655d48a79 in QXcbEventReader::run() (this=0xe6cf80) at qxcbconnection.cpp:1325
#4  0x00007fe66b192d78 in QThreadPrivate::start(void*) (arg=0xe6cf80) at thread/qthread_unix.cpp:341
#5  0x00007fe667213464 in start_thread (arg=0x7fe65509f700) at pthread_create.c:333
#6  0x00007fe66d55997f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 1 (Thread 0x7fe655fd7e00 (LWP 2259)):
[KCrash Handler]
#6  0x00007fe66635be50 in QQmlBinding::write(QQmlPropertyData const&, QV4::Value const&, bool, QFlags<QQmlPropertyPrivate::WriteFlag>) (this=0x7fe5b5eac320) at ../../include/QtQml/5.6.1/QtQml/private/../../../../../src/qml/jsruntime/qv4value_p.h:351
#7  0x00007fe66635be50 in QQmlBinding::write(QQmlPropertyData const&, QV4::Value const&, bool, QFlags<QQmlPropertyPrivate::WriteFlag>) (this=this@entry=0x1f133c0, core=..., result=..., isUndefined=<optimized out>, flags=...) at qml/qqmlbinding.cpp:257
#8  0x00007fe66635cba7 in QQmlBinding::update(QFlags<QQmlPropertyPrivate::WriteFlag>) (this=0x1f133c0, flags=...) at qml/qqmlbinding.cpp:191
#9  0x00007fe666366705 in QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) (this=0x1b44500, interrupt=...) at qml/qqmlobjectcreator.cpp:1193
#10 0x00007fe6662f052e in QQmlComponentPrivate::complete(QQmlEnginePrivate*, QQmlComponentPrivate::ConstructionState*) (enginePriv=0x1de2820, state=0x1e61cf0) at qml/qqmlcomponent.cpp:919
#11 0x00007fe6662f05f7 in QQmlComponentPrivate::completeCreate() (this=0x1e61c50) at qml/qqmlcomponent.cpp:955
#12 0x00007fe6662f0460 in QQmlComponent::create(QQmlContext*) (this=0x1e61e30, context=0x1ecdd30) at qml/qqmlcomponent.cpp:781
#13 0x00007fe64d57dfd7 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kdecoration2/kwin5_aurorae.so
#14 0x00007fe66d176d09 in  () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#15 0x00007fe66d0571c9 in KWin::Client::createDecoration(QRect const&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#16 0x00007fe66d057b8d in KWin::Client::updateDecoration(bool, bool) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#17 0x00007fe66d0b6a1c in KWin::Client::manage(unsigned int, bool) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#18 0x00007fe66d03a2d4 in KWin::Workspace::createClient(unsigned int, bool) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#19 0x00007fe66d0a3a47 in KWin::Workspace::workspaceEvent(xcb_generic_event_t*) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#20 0x00007fe66b3672df in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) (this=<optimized out>, eventType=..., message=message@entry=0x7fe650002010, result=result@entry=0x7fff3fa77ab8) at kernel/qabstracteventdispatcher.cpp:460
#21 0x00007fe655d4a455 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) (this=this@entry=0xe610c0, event=event@entry=0x7fe650002010) at qxcbconnection.cpp:1091
#22 0x00007fe655d4b3eb in QXcbConnection::processXcbEvents() (this=0xe610c0) at qxcbconnection.cpp:1723
#23 0x00007fe66b398729 in QObject::event(QEvent*) (this=0xe610c0, e=<optimized out>) at kernel/qobject.cpp:1256
#24 0x00007fe66bca6bec in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0xe610c0, e=0x7fe6500027c0) at kernel/qapplication.cpp:3804
#25 0x00007fe66bcac08f in QApplication::notify(QObject*, QEvent*) (this=0x7fff3fa78100, receiver=0xe610c0, e=0x7fe6500027c0) at kernel/qapplication.cpp:3561
#26 0x00007fe66b36a450 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0xe610c0, event=event@entry=0x7fe6500027c0) at kernel/qcoreapplication.cpp:1015
#27 0x00007fe66b36c3cc in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (event=0x7fe6500027c0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:225
#28 0x00007fe66b36c3cc in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0xe45640) at kernel/qcoreapplication.cpp:1650
#29 0x00007fe66b3bdbe2 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0xe8dd60, flags=...) at kernel/qeventdispatcher_unix.cpp:579
#30 0x00007fe655dbd0ad in QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at eventdispatchers/qunixeventdispatcher.cpp:62
#31 0x00007fe66b36819a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fff3fa77ff0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#32 0x00007fe66b37099c in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1285
#33 0x00007fe66d818206 in kdemain () at /usr/lib/x86_64-linux-gnu/libkdeinit5_kwin_x11.so
#34 0x00007fe66d4912b1 in __libc_start_main (main=0x400670, argc=1, argv=0x7fff3fa78288, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff3fa78278) at ../csu/libc-start.c:291
#35 0x00000000004006aa in _start ()

Possible duplicates by query: bug 369534, bug 369013, bug 368993, bug 367951, bug 367862.

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

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