Application: kwin_x11 (5.18.5) Qt Version: 5.12.8 Frameworks Version: 5.68.0 Operating System: Linux 5.4.0-66-generic x86_64 Windowing system: X11 Distribution: Ubuntu 20.04.2 LTS -- Information about the crash: - What I was doing when the application crashed: The compositor crashes if a new virtual desktop is added when there is at least one application pinned to all the desktops. I need to unpin the applications before to add a new desktop. The crash can be reproduced every time. -- 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 0x7f898a46d800 (LWP 18267))] Thread 9 (Thread 0x7f88c5793700 (LWP 18284)): #0 futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x561ce5609650) at ../sysdeps/nptl/futex-internal.h:183 #1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x561ce5609600, cond=0x561ce5609628) at pthread_cond_wait.c:508 #2 __pthread_cond_wait (cond=0x561ce5609628, mutex=0x561ce5609600) at pthread_cond_wait.c:638 #3 0x00007f898fa0db0f in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #4 0x00007f898fa0dc01 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007f898eaa9109 in () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5 #6 0x00007f898eaa93ad in () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5 #7 0x00007f898fa079d2 in () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #8 0x00007f898efc5609 in start_thread (arg=<optimized out>) at pthread_create.c:477 #9 0x00007f8991234293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 8 (Thread 0x7f88c5f94700 (LWP 18283)): #0 futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x561ce55b5844) at ../sysdeps/nptl/futex-internal.h:183 #1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x561ce55b57f0, cond=0x561ce55b5818) at pthread_cond_wait.c:508 #2 __pthread_cond_wait (cond=0x561ce55b5818, mutex=0x561ce55b57f0) at pthread_cond_wait.c:638 #3 0x00007f898fa0db0f in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #4 0x00007f898fa0dc01 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007f898eaa9109 in () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5 #6 0x00007f898eaa93ad in () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5 #7 0x00007f898fa079d2 in () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #8 0x00007f898efc5609 in start_thread (arg=<optimized out>) at pthread_create.c:477 #9 0x00007f8991234293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 7 (Thread 0x7f88c6795700 (LWP 18282)): #0 0x00007f8991227bf6 in __ppoll (fds=0x7f88b8000d68, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:44 #1 0x00007f898fc234a9 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #2 0x00007f898fc24a14 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #3 0x00007f898fbce4db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #4 0x00007f898fa06785 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007f898e7381a9 in () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 #6 0x00007f898fa079d2 in () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #7 0x00007f898efc5609 in start_thread (arg=<optimized out>) at pthread_create.c:477 #8 0x00007f8991234293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 6 (Thread 0x7f88c6f96700 (LWP 18281)): #0 0x00007f8991227bf6 in __ppoll (fds=0x7f88c0000d68, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:44 #1 0x00007f898fc234a9 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #2 0x00007f898fc24a14 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #3 0x00007f898fbce4db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #4 0x00007f898fa06785 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007f898e7381a9 in () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 #6 0x00007f898fa079d2 in () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #7 0x00007f898efc5609 in start_thread (arg=<optimized out>) at pthread_create.c:477 #8 0x00007f8991234293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 5 (Thread 0x7f894cb35700 (LWP 18278)): #0 futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f898f610fb8) at ../sysdeps/nptl/futex-internal.h:183 #1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7f898f610f68, cond=0x7f898f610f90) at pthread_cond_wait.c:508 #2 __pthread_cond_wait (cond=0x7f898f610f90, mutex=0x7f898f610f68) at pthread_cond_wait.c:638 #3 0x00007f898f5135fa in () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5 #4 0x00007f898f51361f in () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5 #5 0x00007f898efc5609 in start_thread (arg=<optimized out>) at pthread_create.c:477 #6 0x00007f8991234293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 4 (Thread 0x7f896fcdd700 (LWP 18276)): #0 0x00007f8991227bf6 in __ppoll (fds=0x7f8968000d68, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:44 #1 0x00007f898fc234a9 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #2 0x00007f898fc24a14 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #3 0x00007f898fbce4db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #4 0x00007f898fa06785 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007f898e7381a9 in () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 #6 0x00007f898fa079d2 in () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #7 0x00007f898efc5609 in start_thread (arg=<optimized out>) at pthread_create.c:477 #8 0x00007f8991234293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 3 (Thread 0x7f8982757700 (LWP 18275)): #0 0x00007f8991227bf6 in __ppoll (fds=0x7f8970000d68, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:44 #1 0x00007f898fc234a9 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #2 0x00007f898fc24a14 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #3 0x00007f898fbce4db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #4 0x00007f898fa06785 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007f898e7381a9 in () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 #6 0x00007f898fa079d2 in () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #7 0x00007f898efc5609 in start_thread (arg=<optimized out>) at pthread_create.c:477 #8 0x00007f8991234293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 2 (Thread 0x7f8988a58700 (LWP 18271)): #0 0x00007f8991227bf6 in __ppoll (fds=0x7f897c00ebe8, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:44 #1 0x00007f898fc234a9 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #2 0x00007f898fc24a14 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #3 0x00007f898fbce4db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #4 0x00007f898fa06785 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007f8990c38efa in () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5 #6 0x00007f898fa079d2 in () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #7 0x00007f898efc5609 in start_thread (arg=<optimized out>) at pthread_create.c:477 #8 0x00007f8991234293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 1 (Thread 0x7f898a46d800 (LWP 18267)): [KCrash Handler] #6 0x00007f898f6886cb in () at /usr/lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1 #7 0x00007f898f681366 in () at /usr/lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1 #8 0x00007f898fbfb458 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #9 0x00007f898ede610b in KWin::EffectsHandler::windowGeometryShapeChanged(KWin::EffectWindow*, QRect const&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.12 #10 0x00007f898fbfb458 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #11 0x00007f8990e6d83b in KWin::Toplevel::geometryShapeChanged(KWin::Toplevel*, QRect const&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5 #12 0x00007f8990ffe50a in KWin::X11Client::updateShape() () at /usr/lib/x86_64-linux-gnu/libkwin.so.5 #13 0x00007f899100db40 in KWin::X11Client::updateServerGeometry() () at /usr/lib/x86_64-linux-gnu/libkwin.so.5 #14 0x00007f899100e228 in KWin::X11Client::setFrameGeometry(int, int, int, int, KWin::AbstractClient::ForceGeometry_t) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5 #15 0x00007f8990e9197f in KWin::AbstractClient::blockGeometryUpdates(bool) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5 #16 0x00007f899100fc76 in KWin::X11Client::changeMaximize(bool, bool, bool) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5 #17 0x00007f8990e91046 in KWin::AbstractClient::checkWorkspacePosition(QRect, int, QRect) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5 #18 0x00007f8990ff4574 in KWin::Workspace::updateClientArea(bool) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5 #19 0x00007f898fbfb300 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #20 0x00007f8990e6dd70 in KWin::VirtualDesktopManager::countChanged(unsigned int, unsigned int) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5 #21 0x00007f8990fd9467 in KWin::VirtualDesktopManager::setCount(unsigned int) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5 #22 0x00007f898fbfb458 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #23 0x00007f898fbfb300 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #24 0x00007f898e67bccd in QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 #25 0x00007f898e67adb4 in QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 #26 0x00007f898e67adb4 in QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 #27 0x00007f898e6d8f65 in () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 #28 0x00007f898e5c816c in () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 #29 0x00007f898e5ca1b9 in () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 #30 0x00007f898e5cafde in QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 #31 0x00007f898e5e8401 in () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 #32 0x00007f898e5ea2c7 in () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 #33 0x00007f898e57764f in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 #34 0x00007f898e701587 in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 #35 0x00007f898e6a038c in QQmlBoundSignalExpression::evaluate(void**) () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 #36 0x00007f898e6a1528 in () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 #37 0x00007f898e6e474d in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 #38 0x00007f898e680715 in QQmlData::signalEmitted(QAbstractDeclarativeData*, QObject*, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 #39 0x00007f898fbfabd3 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #40 0x00007f896ccf27c3 in () at /usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/libqtquickcontrolsplugin.so #41 0x00007f896ccf2b82 in () at /usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/libqtquickcontrolsplugin.so #42 0x00007f896ccf3273 in () at /usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/libqtquickcontrolsplugin.so #43 0x00007f898e6d8f65 in () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 #44 0x00007f898e5c7dad in () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 #45 0x00007f898e5ca1e4 in () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 #46 0x00007f898e5cb1d1 in QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 #47 0x00007f898e5e8401 in () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 #48 0x00007f898e5ea2c7 in () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 #49 0x00007f898e57764f in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 #50 0x00007f898e701587 in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 #51 0x00007f898e6a038c in QQmlBoundSignalExpression::evaluate(void**) () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 #52 0x00007f898e6a1528 in () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 #53 0x00007f898e6e474d in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 #54 0x00007f898e680715 in QQmlData::signalEmitted(QAbstractDeclarativeData*, QObject*, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 #55 0x00007f898fbfabd3 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #56 0x00007f898eb89626 in QQuickMouseArea::released(QQuickMouseEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5 #57 0x00007f898eb8af75 in QQuickMouseArea::setPressed(Qt::MouseButton, bool, Qt::MouseEventSource) () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5 #58 0x00007f898eb8c103 in QQuickMouseArea::mouseReleaseEvent(QMouseEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5 #59 0x00007f898eaedad8 in QQuickItem::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5 #60 0x00007f89905e9a66 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #61 0x00007f89905f30f0 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #62 0x00007f898fbcf93a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #63 0x00007f898eb08aed in QQuickWindowPrivate::deliverMouseEvent(QQuickPointerMouseEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5 #64 0x00007f898eb09f71 in QQuickWindowPrivate::deliverPointerEvent(QQuickPointerEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5 #65 0x00007f898eb0ac29 in QQuickWindowPrivate::handleMouseEvent(QMouseEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5 #66 0x00007f898f685950 in () at /usr/lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1 #67 0x00007f8990efe19f in KWin::EffectsHandlerImpl::checkInputWindowEvent(QMouseEvent*) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5 #68 0x00007f898821c97e in () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.platforms/KWinX11Platform.so #69 0x00007f8990f08e66 in KWin::Workspace::workspaceEvent(xcb_generic_event_t*) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5 #70 0x00007f898fbccd8f in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #71 0x00007f8989b067b5 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #72 0x00007f8989b0778a in QXcbConnection::processXcbEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #73 0x00007f8989b326f0 in () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #74 0x00007f898fbce4db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #75 0x00007f898fbd6246 in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #76 0x00007f899130d9ef in kdemain () at /usr/lib/x86_64-linux-gnu/libkdeinit5_kwin_x11.so #77 0x00007f89911390b3 in __libc_start_main (main=0x561ce1e03060, argc=3, argv=0x7ffce69c0128, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffce69c0118) at ../csu/libc-start.c:308 #78 0x0000561ce1e0309e in _start () [Inferior 1 (process 18267) detached] Possible duplicates by query: bug 423133, bug 419165, bug 418783, bug 411943, bug 403202. Reported using DrKonqi
*** This bug has been marked as a duplicate of bug 401422 ***