Bug 418783

Summary: Kwin crashes when adding new virtual desktop (custom settings related)
Product: [Plasma] kwin Reporter: fabiodanielreis
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 5.17.5   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description fabiodanielreis 2020-03-12 15:19:21 UTC
Application: kwin_x11 (5.17.5)

Qt Version: 5.13.2
Frameworks Version: 5.67.0
Operating System: Linux 5.5.6-201.fc31.x86_64 x86_64
Distribution: Fedora 31 (KDE Plasma)

-- Information about the crash:
- What I was doing when the application crashed:
Creating a new virtual desktop
- Custom settings of the application:
I think the issue started after setting speciall applications settings for Slack and Thunderbird. I set the 'Desktop' option to 'All Desktops' (Force)

The crash can be reproduced every time.

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

Thread 10 (Thread 0x7f06c5814700 (LWP 1681058)):
#0  0x00007f0786d5bd45 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f07877f28b3 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt5Core.so.5
#2  0x00007f07877f2941 in QWaitCondition::wait(QMutex*, unsigned long) () from /lib64/libQt5Core.so.5
#3  0x00007f07868374e9 in QSGRenderThread::processEventsAndWaitForMore() () from /lib64/libQt5Quick.so.5
#4  0x00007f078683778d in QSGRenderThread::run() () from /lib64/libQt5Quick.so.5
#5  0x00007f07877ecd96 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#6  0x00007f0786d554e2 in start_thread () from /lib64/libpthread.so.0
#7  0x00007f0788eb76d3 in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7f06c7eb3700 (LWP 1681057)):
#0  0x00007ffe3e3c7870 in clock_gettime ()
#1  0x00007f0788e7e6ab in clock_gettime@GLIBC_2.2.5 () from /lib64/libc.so.6
#2  0x00007f07879f1035 in qt_gettime() () from /lib64/libQt5Core.so.5
#3  0x00007f07879efb7d in QTimerInfoList::updateCurrentTime() () from /lib64/libQt5Core.so.5
#4  0x00007f07879eff89 in QTimerInfoList::timerWait(timespec&) () from /lib64/libQt5Core.so.5
#5  0x00007f07879ef0f4 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#6  0x00007f078799b1db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#7  0x00007f07877ebc45 in QThread::exec() () from /lib64/libQt5Core.so.5
#8  0x00007f0786486399 in QQmlThreadPrivate::run() () from /lib64/libQt5Qml.so.5
#9  0x00007f07877ecd96 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#10 0x00007f0786d554e2 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f0788eb76d3 in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7f075b7fe700 (LWP 1647225)):
#0  0x00007f0786d5bd45 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f07877f28b3 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt5Core.so.5
#2  0x00007f07877f2941 in QWaitCondition::wait(QMutex*, unsigned long) () from /lib64/libQt5Core.so.5
#3  0x00007f07868374e9 in QSGRenderThread::processEventsAndWaitForMore() () from /lib64/libQt5Quick.so.5
#4  0x00007f078683778d in QSGRenderThread::run() () from /lib64/libQt5Quick.so.5
#5  0x00007f07877ecd96 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#6  0x00007f0786d554e2 in start_thread () from /lib64/libpthread.so.0
#7  0x00007f0788eb76d3 in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f076e507700 (LWP 1591623)):
#0  0x00007f0786d5bd45 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f07877f28b3 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt5Core.so.5
#2  0x00007f07877f2941 in QWaitCondition::wait(QMutex*, unsigned long) () from /lib64/libQt5Core.so.5
#3  0x00007f07868374e9 in QSGRenderThread::processEventsAndWaitForMore() () from /lib64/libQt5Quick.so.5
#4  0x00007f078683778d in QSGRenderThread::run() () from /lib64/libQt5Quick.so.5
#5  0x00007f07877ecd96 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#6  0x00007f0786d554e2 in start_thread () from /lib64/libpthread.so.0
#7  0x00007f0788eb76d3 in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f07659ba700 (LWP 1591273)):
#0  0x00007f0786d5bd45 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f07872da74a in QTWTF::TCMalloc_PageHeap::scavengerThread() () from /lib64/libQt5Script.so.5
#2  0x00007f07872da76f in QTWTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /lib64/libQt5Script.so.5
#3  0x00007f0786d554e2 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f0788eb76d3 in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f075bfff700 (LWP 1591271)):
#0  0x00007f0786d5bd45 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f076490619b in util_queue_thread_func () from /usr/lib64/dri/i965_dri.so
#2  0x00007f0764905dab in impl_thrd_routine () from /usr/lib64/dri/i965_dri.so
#3  0x00007f0786d554e2 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f0788eb76d3 in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f0766bfb700 (LWP 1591268)):
#0  0x00007f0788eacb66 in ppoll () from /lib64/libc.so.6
#1  0x00007f07879edcb9 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () from /lib64/libQt5Core.so.5
#2  0x00007f07879eef01 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#3  0x00007f078799b1db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#4  0x00007f07877ebc45 in QThread::exec() () from /lib64/libQt5Core.so.5
#5  0x00007f0786486399 in QQmlThreadPrivate::run() () from /lib64/libQt5Qml.so.5
#6  0x00007f07877ecd96 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#7  0x00007f0786d554e2 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f0788eb76d3 in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f076ff77700 (LWP 1591259)):
#0  0x00007f0788eacb66 in ppoll () from /lib64/libc.so.6
#1  0x00007f07879edcb9 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () from /lib64/libQt5Core.so.5
#2  0x00007f07879eef01 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#3  0x00007f078799b1db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#4  0x00007f07877ebc45 in QThread::exec() () from /lib64/libQt5Core.so.5
#5  0x00007f0785de1f6a in QDBusConnectionManager::run() () from /lib64/libQt5DBus.so.5
#6  0x00007f07877ecd96 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#7  0x00007f0786d554e2 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f0788eb76d3 in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f0774c95700 (LWP 1591257)):
#0  0x00007f0788eaca6f in poll () from /lib64/libc.so.6
#1  0x00007f078770e38a in _xcb_conn_wait () from /lib64/libxcb.so.1
#2  0x00007f078770ffea in xcb_wait_for_event () from /lib64/libxcb.so.1
#3  0x00007f0774ddcd48 in QXcbEventQueue::run() () from /lib64/libQt5XcbQpa.so.5
#4  0x00007f07877ecd96 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#5  0x00007f0786d554e2 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f0788eb76d3 in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f0781eff200 (LWP 1591254)):
[KCrash Handler]
#6  0x00007f07874507d2 in QHash<KWin::EffectWindow*, KWin::WindowMotionManager::WindowMotion>::keys() const () from /lib64/libkwin4_effect_builtins.so.1
#7  0x00007f0787449386 in KWin::DesktopGridEffect::slotWindowGeometryShapeChanged(KWin::EffectWindow*, QRect const&) () from /lib64/libkwin4_effect_builtins.so.1
#8  0x00007f07879c6a60 in QMetaObject::activate(QObject*, int, int, void**) () from /lib64/libQt5Core.so.5
#9  0x00007f0786b4e3fb in KWin::EffectsHandler::windowGeometryShapeChanged(KWin::EffectWindow*, QRect const&) () from /lib64/libkwineffects.so.12
#10 0x00007f07879c6a60 in QMetaObject::activate(QObject*, int, int, void**) () from /lib64/libQt5Core.so.5
#11 0x00007f0788b1f0eb in KWin::Toplevel::geometryShapeChanged(KWin::Toplevel*, QRect const&) () from /lib64/libkwin.so.5
#12 0x00007f0788b53891 in KWin::Client::updateShape() () from /lib64/libkwin.so.5
#13 0x00007f0788bc3050 in KWin::Client::setGeometry(int, int, int, int, KWin::AbstractClient::ForceGeometry_t) () from /lib64/libkwin.so.5
#14 0x00007f0788bc4c4a in KWin::AbstractClient::blockGeometryUpdates(bool) () from /lib64/libkwin.so.5
#15 0x00007f0788bc5886 in KWin::Client::changeMaximize(bool, bool, bool) () from /lib64/libkwin.so.5
#16 0x00007f0788bcbf66 in KWin::AbstractClient::checkWorkspacePosition(QRect, int, QRect) () from /lib64/libkwin.so.5
#17 0x00007f0788bd217c in KWin::Workspace::updateClientArea(bool) () from /lib64/libkwin.so.5
#18 0x00007f07879c691b in QMetaObject::activate(QObject*, int, int, void**) () from /lib64/libQt5Core.so.5
#19 0x00007f0788b1e960 in KWin::VirtualDesktopManager::countChanged(unsigned int, unsigned int) () from /lib64/libkwin.so.5
#20 0x00007f0788caf947 in KWin::VirtualDesktopManager::setCount(unsigned int) () from /lib64/libkwin.so.5
#21 0x00007f07879c6a60 in QMetaObject::activate(QObject*, int, int, void**) () from /lib64/libQt5Core.so.5
#22 0x00007f07879c691b in QMetaObject::activate(QObject*, int, int, void**) () from /lib64/libQt5Core.so.5
#23 0x00007f07863cfacc in QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) () from /lib64/libQt5Qml.so.5
#24 0x00007f07863cee5c in QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) () from /lib64/libQt5Qml.so.5
#25 0x00007f07863cee5c in QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) () from /lib64/libQt5Qml.so.5
#26 0x00007f078642a755 in QQmlObjectOrGadget::metacall(QMetaObject::Call, int, void**) const () from /lib64/libQt5Qml.so.5
#27 0x00007f078631ad1c in CallMethod(QQmlObjectOrGadget const&, int, int, int, int*, QV4::ExecutionEngine*, QV4::CallData*, QMetaObject::Call) () from /lib64/libQt5Qml.so.5
#28 0x00007f078631cd69 in CallPrecise(QQmlObjectOrGadget const&, QQmlPropertyData const&, QV4::ExecutionEngine*, QV4::CallData*, QMetaObject::Call) () from /lib64/libQt5Qml.so.5
#29 0x00007f078631db8e in QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const () from /lib64/libQt5Qml.so.5
#30 0x00007f078633afc6 in QV4::Moth::VME::interpret(QV4::CppStackFrame*, QV4::ExecutionEngine*, char const*) () from /lib64/libQt5Qml.so.5
#31 0x00007f078633cf9f in QV4::Moth::VME::exec(QV4::CppStackFrame*, QV4::ExecutionEngine*) () from /lib64/libQt5Qml.so.5
#32 0x00007f07862c97bf in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) () from /lib64/libQt5Qml.so.5
#33 0x00007f0786452b37 in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) () from /lib64/libQt5Qml.so.5
#34 0x00007f07863f356c in QQmlBoundSignalExpression::evaluate(void**) () from /lib64/libQt5Qml.so.5
#35 0x00007f07863f4738 in QQmlBoundSignal_callback(QQmlNotifierEndpoint*, void**) () from /lib64/libQt5Qml.so.5
#36 0x00007f07864360dd in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () from /lib64/libQt5Qml.so.5
#37 0x00007f07863d38e5 in QQmlData::signalEmitted(QAbstractDeclarativeData*, QObject*, int, void**) () from /lib64/libQt5Qml.so.5
#38 0x00007f07879c633f in QMetaObject::activate(QObject*, int, int, void**) () from /lib64/libQt5Core.so.5
#39 0x00007f075810bb93 in QQuickAction1::triggered(QObject*) () from /usr/lib64/qt5/qml/QtQuick/Controls/libqtquickcontrolsplugin.so
#40 0x00007f075810be72 in QQuickAction1::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib64/qt5/qml/QtQuick/Controls/libqtquickcontrolsplugin.so
#41 0x00007f075810c563 in QQuickAction1::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/qt5/qml/QtQuick/Controls/libqtquickcontrolsplugin.so
#42 0x00007f078642a755 in QQmlObjectOrGadget::metacall(QMetaObject::Call, int, void**) const () from /lib64/libQt5Qml.so.5
#43 0x00007f078631a95d in CallMethod(QQmlObjectOrGadget const&, int, int, int, int*, QV4::ExecutionEngine*, QV4::CallData*, QMetaObject::Call) () from /lib64/libQt5Qml.so.5
#44 0x00007f078631cd94 in CallPrecise(QQmlObjectOrGadget const&, QQmlPropertyData const&, QV4::ExecutionEngine*, QV4::CallData*, QMetaObject::Call) () from /lib64/libQt5Qml.so.5
#45 0x00007f078631dd81 in QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const () from /lib64/libQt5Qml.so.5
#46 0x00007f078633afc6 in QV4::Moth::VME::interpret(QV4::CppStackFrame*, QV4::ExecutionEngine*, char const*) () from /lib64/libQt5Qml.so.5
#47 0x00007f078633cf9f in QV4::Moth::VME::exec(QV4::CppStackFrame*, QV4::ExecutionEngine*) () from /lib64/libQt5Qml.so.5
#48 0x00007f07862c97bf in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) () from /lib64/libQt5Qml.so.5
#49 0x00007f0786452b37 in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) () from /lib64/libQt5Qml.so.5
#50 0x00007f07863f356c in QQmlBoundSignalExpression::evaluate(void**) () from /lib64/libQt5Qml.so.5
#51 0x00007f07863f4738 in QQmlBoundSignal_callback(QQmlNotifierEndpoint*, void**) () from /lib64/libQt5Qml.so.5
#52 0x00007f07864360dd in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () from /lib64/libQt5Qml.so.5
#53 0x00007f07863d38e5 in QQmlData::signalEmitted(QAbstractDeclarativeData*, QObject*, int, void**) () from /lib64/libQt5Qml.so.5
#54 0x00007f07879c633f in QMetaObject::activate(QObject*, int, int, void**) () from /lib64/libQt5Core.so.5
#55 0x00007f0786918976 in QQuickMouseArea::released(QQuickMouseEvent*) () from /lib64/libQt5Quick.so.5
#56 0x00007f078691a1e5 in QQuickMouseArea::setPressed(Qt::MouseButton, bool, Qt::MouseEventSource) () from /lib64/libQt5Quick.so.5
#57 0x00007f078691b373 in QQuickMouseArea::mouseReleaseEvent(QMouseEvent*) () from /lib64/libQt5Quick.so.5
#58 0x00007f078687c088 in QQuickItem::event(QEvent*) () from /lib64/libQt5Quick.so.5
#59 0x00007f0788310ab6 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#60 0x00007f078831a150 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#61 0x00007f078799c3e8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#62 0x00007f07868975e5 in QQuickWindowPrivate::deliverMouseEvent(QQuickPointerMouseEvent*) () from /lib64/libQt5Quick.so.5
#63 0x00007f0786898ceb in QQuickWindowPrivate::deliverPointerEvent(QQuickPointerEvent*) () from /lib64/libQt5Quick.so.5
#64 0x00007f0786899a99 in QQuickWindowPrivate::handleMouseEvent(QMouseEvent*) () from /lib64/libQt5Quick.so.5
#65 0x00007f078744daa0 in KWin::DesktopGridEffect::windowInputMouseEvent(QEvent*) () from /lib64/libkwin4_effect_builtins.so.1
#66 0x00007f0788bb169f in KWin::EffectsHandlerImpl::checkInputWindowEvent(QMouseEvent*) () from /lib64/libkwin.so.5
#67 0x00007f076f73b16b in KWin::EffectsMouseInterceptionX11Filter::event(xcb_generic_event_t*) () from /usr/lib64/qt5/plugins/org.kde.kwin.platforms/KWinX11Platform.so
#68 0x00007f0788bbc286 in KWin::Workspace::workspaceEvent(xcb_generic_event_t*) () from /lib64/libkwin.so.5
#69 0x00007f0787999a04 in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) () from /lib64/libQt5Core.so.5
#70 0x00007f0774db4285 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () from /lib64/libQt5XcbQpa.so.5
#71 0x00007f0774db4fe6 in QXcbConnection::processXcbEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5XcbQpa.so.5
#72 0x00007f0774dde120 in QXcbUnixEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5XcbQpa.so.5
#73 0x00007f078799b1db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#74 0x00007f07879a30b6 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#75 0x00007f0788f89648 in kdemain () from /lib64/libkdeinit5_kwin_x11.so
#76 0x00007f0788ddd1a3 in __libc_start_main () from /lib64/libc.so.6
#77 0x000055abd86ad0ae in _start ()
[Inferior 1 (process 1591254) detached]

The reporter indicates this bug may be a duplicate of or related to bug 401422.

Possible duplicates by query: bug 411943, bug 403202, bug 401422, bug 395825, bug 381895.

Reported using DrKonqi
Comment 1 Vlad Zahorodnii 2020-03-13 10:46:12 UTC

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