Bug 455892 - plasmashell crashes in KWindowSystem::stackingOrderChanged() every 5-10 minutes
Summary: plasmashell crashes in KWindowSystem::stackingOrderChanged() every 5-10 minutes
Status: REPORTED
Alias: None
Product: frameworks-kwindowsystem
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.95.0
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 459443 463306 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-06-24 16:26 UTC by Jaak Ristioja
Modified: 2023-01-05 21:35 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaak Ristioja 2022-06-24 16:26:44 UTC
STEPS TO REPRODUCE
1. Login into a KDE session
2. Do some stuff

OBSERVED RESULT
Shell disappears.

EXPECTED RESULT
Shell does not disappear. :)

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.25.1 
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.4

BACKTRACE(S):

(gdb) bt
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1  0x00007fca6408e503 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
#2  0x00007fca640413a6 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#3  0x00007fca6402b7f3 in __GI_abort () at abort.c:79
#4  0x00007fca64691977 in qt_message_fatal (message=<synthetic pointer>..., context=...) at /var/tmp/portage/dev-qt/qtcore-5.15.4-r3/work/qtbase-everywhere-src-5.15.4/src/corelib/global/qlogging.cpp:1914
#5  QMessageLogger::fatal(char const*, ...) const (this=this@entry=0x7ffd1330e3e8, msg=msg@entry=0x7fca64989968 "ASSERT: \"%s\" in file %s, line %d") at /var/tmp/portage/dev-qt/qtcore-5.15.4-r3/work/qtbase-everywhere-src-5.15.4/src/corelib/global/qlogging.cpp:893
#6  0x00007fca64690782 in qt_assert(char const*, char const*, int) (assertion=assertion@entry=0x7fca64a72d18 "from.isValid()", file=file@entry=0x7fca64a727e0 "/var/tmp/portage/dev-qt/qtcore-5.15.4-r3/work/qtbase-everywhere-src-5.15.4/src/corelib/itemmodels/qconcatenatetablesproxymodel.cpp", line=line@entry=623) at /var/tmp/portage/dev-qt/qtcore-5.15.4-r3/work/qtbase-everywhere-src-5.15.4/src/corelib/global/qglobal.cpp:3358
#7  0x00007fca646ad4f2 in QConcatenateTablesProxyModelPrivate::_q_slotDataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) (this=<optimized out>, from=<optimized out>, to=<optimized out>, roles=<optimized out>) at /var/tmp/portage/dev-qt/qtcore-5.15.4-r3/work/qtbase-everywhere-src-5.15.4/src/corelib/itemmodels/qconcatenatetablesproxymodel.cpp:623
#8  0x00007fca648e5304 in doActivate<false>(QObject*, int, void**) (sender=0x55c071e077c0, signal_index=3, argv=0x7ffd1330e580) at /var/tmp/portage/dev-qt/qtcore-5.15.4-r3/work/qtbase-everywhere-src-5.15.4/src/corelib/kernel/qobject.cpp:3898
#9  0x00007fca648de6d7 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x55c071e077c0, m=m@entry=0x7fca64bbccc0 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd1330e580) at /var/tmp/portage/dev-qt/qtcore-5.15.4-r3/work/qtbase-everywhere-src-5.15.4/src/corelib/kernel/qobject.cpp:3946
#10 0x00007fca6485a940 in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) (this=this@entry=0x55c071e077c0, _t1=..., _t2=..., _t3=...) at .moc/moc_qabstractitemmodel.cpp:558
#11 0x00007fca6487fac0 in QIdentityProxyModelPrivate::_q_sourceDataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) (this=<optimized out>, topLeft=..., bottomRight=<optimized out>, roles=...) at /var/tmp/portage/dev-qt/qtcore-5.15.4-r3/work/qtbase-everywhere-src-5.15.4/src/corelib/itemmodels/qidentityproxymodel.cpp:507
#12 0x00007fca648e5304 in doActivate<false>(QObject*, int, void**) (sender=0x55c071e33320, signal_index=3, argv=0x7ffd1330e700) at /var/tmp/portage/dev-qt/qtcore-5.15.4-r3/work/qtbase-everywhere-src-5.15.4/src/corelib/kernel/qobject.cpp:3898
#13 0x00007fca648de6d7 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x55c071e33320, m=m@entry=0x7fca64bbccc0 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd1330e700) at /var/tmp/portage/dev-qt/qtcore-5.15.4-r3/work/qtbase-everywhere-src-5.15.4/src/corelib/kernel/qobject.cpp:3946
#14 0x00007fca6485a940 in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) (this=this@entry=0x55c071e33320, _t1=..., _t2=..., _t3=...) at .moc/moc_qabstractitemmodel.cpp:558
#15 0x00007fca5e689fc4 in operator() (__closure=<optimized out>) at /var/tmp/portage/kde-plasma/plasma-workspace-5.25.1/work/plasma-workspace-5.25.1/libtaskmanager/xwindowtasksmodel.cpp:193
#16 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, TaskManager::XWindowTasksModel::Private::init()::<lambda()> >::call (arg=<optimized out>, f=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:146
#17 QtPrivate::Functor<TaskManager::XWindowTasksModel::Private::init()::<lambda()>, 0>::call<QtPrivate::List<>, void> (arg=<optimized out>, f=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:256
#18 QtPrivate::QFunctorSlotObject<TaskManager::XWindowTasksModel::Private::init()::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=<optimized out>, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:443
#19 0x00007fca648e52be in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffd1330e8a0, r=0x55c071e33320, this=0x55c071dfdec0) at /var/tmp/portage/dev-qt/qtcore-5.15.4-r3/work/qtbase-everywhere-src-5.15.4/include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#20 doActivate<false>(QObject*, int, void**) (sender=0x7fca66131420 <(anonymous namespace)::Q_QGS_g_kwmInstanceContainer::innerFunction()::holder>, signal_index=11, argv=0x7ffd1330e8a0) at /var/tmp/portage/dev-qt/qtcore-5.15.4-r3/work/qtbase-everywhere-src-5.15.4/src/corelib/kernel/qobject.cpp:3886
#21 0x00007fca648de6d7 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x7fca66131420 <(anonymous namespace)::Q_QGS_g_kwmInstanceContainer::innerFunction()::holder>, m=m@entry=0x7fca6612f8e0 <KWindowSystem::staticMetaObject>, local_signal_index=local_signal_index@entry=8, argv=argv@entry=0x0) at /var/tmp/portage/dev-qt/qtcore-5.15.4-r3/work/qtbase-everywhere-src-5.15.4/src/corelib/kernel/qobject.cpp:3946
#22 0x00007fca660f93a7 in KWindowSystem::stackingOrderChanged() (this=this@entry=0x7fca66131420 <(anonymous namespace)::Q_QGS_g_kwmInstanceContainer::innerFunction()::holder>) at /var/tmp/portage/kde-frameworks/kwindowsystem-5.95.0/work/kwindowsystem-5.95.0_build/src/KF5WindowSystem_autogen/EWIEGA46WW/moc_kwindowsystem.cpp:422
#23 0x00007fca5ef9f268 in NETEventFilter::nativeEventFilter(xcb_generic_event_t*) (this=0x55c071baccb0, ev=0x7fca5800c1e0) at /var/tmp/portage/kde-frameworks/kwindowsystem-5.95.0/work/kwindowsystem-5.95.0/src/platforms/xcb/kwindowsystem.cpp:275
#24 0x00007fca648aa294 in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) (this=<optimized out>, eventType=..., message=message@entry=0x7fca5800c1e0, result=result@entry=0x7ffd1330e9b8) at /var/tmp/portage/dev-qt/qtcore-5.15.4-r3/work/qtbase-everywhere-src-5.15.4/src/corelib/kernel/qabstracteventdispatcher.cpp:495
#25 0x00007fca5fce8ab5 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) (this=this@entry=0x55c071560840, event=event@entry=0x7fca5800c1e0) at /var/tmp/portage/dev-qt/qtgui-5.15.4-r2/work/qtbase-everywhere-src-5.15.4/src/plugins/platforms/xcb/qxcbconnection.cpp:536
#26 0x00007fca5fce9836 in QXcbConnection::processXcbEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55c071560840, flags=...) at /var/tmp/portage/dev-qt/qtgui-5.15.4-r2/work/qtbase-everywhere-src-5.15.4/src/plugins/platforms/xcb/qxcbconnection.cpp:1020
#27 0x00007fca5fd11057 in xcbSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at /var/tmp/portage/dev-qt/qtgui-5.15.4-r2/work/qtbase-everywhere-src-5.15.4/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:103
#28 0x00007fca6338966b in g_main_dispatch (context=0x7fca58005000) at ../glib-2.72.1/glib/gmain.c:3417
#29 g_main_context_dispatch (context=0x7fca58005000) at ../glib-2.72.1/glib/gmain.c:4135
#30 0x00007fca63389918 in g_main_context_iterate (context=context@entry=0x7fca58005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib-2.72.1/glib/gmain.c:4211
#31 0x00007fca633899e3 in g_main_context_iteration (context=0x7fca58005000, may_block=1) at ../glib-2.72.1/glib/gmain.c:4276
#32 0x00007fca64905b1a in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55c07161c850, flags=...) at /var/tmp/portage/dev-qt/qtcore-5.15.4-r3/work/qtbase-everywhere-src-5.15.4/src/corelib/kernel/qeventdispatcher_glib.cpp:423
#33 0x00007fca648abb2b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffd1330ec40, flags=..., flags@entry=...) at /var/tmp/portage/dev-qt/qtcore-5.15.4-r3/work/qtbase-everywhere-src-5.15.4/include/QtCore/../../src/corelib/global/qflags.h:69
#34 0x00007fca648b4b14 in QCoreApplication::exec() () at /var/tmp/portage/dev-qt/qtcore-5.15.4-r3/work/qtbase-everywhere-src-5.15.4/include/QtCore/../../src/corelib/global/qflags.h:121
#35 0x00007fca64d30940 in QGuiApplication::exec() () at /var/tmp/portage/dev-qt/qtgui-5.15.4-r2/work/qtbase-everywhere-src-5.15.4/src/gui/kernel/qguiapplication.cpp:1867
#36 0x00007fca6556c559 in QApplication::exec() () at /var/tmp/portage/dev-qt/qtwidgets-5.15.4-r2/work/qtbase-everywhere-src-5.15.4/src/widgets/kernel/qapplication.cpp:2829
#37 0x000055c07090b01b in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/kde-plasma/plasma-workspace-5.25.1/work/plasma-workspace-5.25.1/shell/main.cpp:240
(gdb) bt full
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
        tid = <optimized out>
        ret = 0
        pd = <optimized out>
        old_mask = {__val = {8, 520, 0, 140507245113658, 519, 7584102650705362688, 0, 140507239904896, 140724925424184, 140724925424192, 140724925424376, 55, 140724925425024, 140507239011403, 206158430240, 140724925424176}}
        ret = <optimized out>
#1  0x00007fca6408e503 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
#2  0x00007fca640413a6 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
        ret = <optimized out>
#3  0x00007fca6402b7f3 in __GI_abort () at abort.c:79
        save_stage = 1
        act = {__sigaction_handler = {sa_handler = 0x7ffd1330e2f8, sa_sigaction = 0x7ffd1330e2f8}, sa_mask = {__val = {55, 140724925425024, 140507286146748, 140724925424224, 140507286159404, 3, 140507245026292, 94285049648096, 7584102650705362688, 0, 7584102650705362688, 140724925424376, 94285030947280, 3, 140724925424376, 140724925424616}}, sa_flags = 1684905305, sa_restorer = 0x8}
        sigs = {__val = {32, 7584102650705362688, 140724925424192, 18446744073709551376, 2, 140724925424192, 140724925424376, 55, 140724925425024, 140507239904448, 1, 0, 140507239904896, 0, 140507250166720, 140724925424616}}
#4  0x00007fca64691977 in qt_message_fatal (message=<synthetic pointer>..., context=...) at /var/tmp/portage/dev-qt/qtcore-5.15.4-r3/work/qtbase-everywhere-src-5.15.4/src/corelib/global/qlogging.cpp:1914
        message = {d = <optimized out>}
        ap = {{gp_offset = 40, fp_offset = 48, overflow_arg_area = 0x7ffd1330e3e0, reg_save_area = 0x7ffd1330e320}}
#5  QMessageLogger::fatal(char const*, ...) const (this=this@entry=0x7ffd1330e3e8, msg=msg@entry=0x7fca64989968 "ASSERT: \"%s\" in file %s, line %d") at /var/tmp/portage/dev-qt/qtcore-5.15.4-r3/work/qtbase-everywhere-src-5.15.4/src/corelib/global/qlogging.cpp:893
        message = {d = <optimized out>}
        ap = {{gp_offset = 40, fp_offset = 48, overflow_arg_area = 0x7ffd1330e3e0, reg_save_area = 0x7ffd1330e320}}
#6  0x00007fca64690782 in qt_assert(char const*, char const*, int) (assertion=assertion@entry=0x7fca64a72d18 "from.isValid()", file=file@entry=0x7fca64a727e0 "/var/tmp/portage/dev-qt/qtcore-5.15.4-r3/work/qtbase-everywhere-src-5.15.4/src/corelib/itemmodels/qconcatenatetablesproxymodel.cpp", line=line@entry=623) at /var/tmp/portage/dev-qt/qtcore-5.15.4-r3/work/qtbase-everywhere-src-5.15.4/src/corelib/global/qglobal.cpp:3358
#7  0x00007fca646ad4f2 in QConcatenateTablesProxyModelPrivate::_q_slotDataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) (this=<optimized out>, from=<optimized out>, to=<optimized out>, roles=<optimized out>) at /var/tmp/portage/dev-qt/qtcore-5.15.4-r3/work/qtbase-everywhere-src-5.15.4/src/corelib/itemmodels/qconcatenatetablesproxymodel.cpp:623
        q = <optimized out>
        adjustedTo = {r = 0, c = 0, i = 4294967296, m = 0x55c071e077c0}
        myFrom = {r = 1687755968, c = 32714, i = 140507036555760, m = 0x7fca58009a10}
        myTo = {r = 3605, c = 32765, i = 140507246981417, m = 0x55c071f65310}
#8  0x00007fca648e5304 in doActivate<false>(QObject*, int, void**) (sender=0x55c071e077c0, signal_index=3, argv=0x7ffd1330e580) at /var/tmp/portage/dev-qt/qtcore-5.15.4-r3/work/qtbase-everywhere-src-5.15.4/src/corelib/kernel/qobject.cpp:3898
        method_relative = <optimized out>
        callFunction = <optimized out>
        methodIndex = 0
        receiver = 0x55c071d930e0
        td = <optimized out>
        receiverInSameThread = <optimized out>
        senderData = {previous = 0x0, receiver = 0x55c071d930e0, sender = 0x55c071e077c0, signal = 3}
        c = 0x55c071c6f9d0
        connections = {d = 0x55c071e07730}
        list = <optimized out>
        inSenderThread = true
        highestConnectionId = 48
        signalVector = 0x55c071d94d80
        currentThreadId = 0x7fca62307d00
        __PRETTY_FUNCTION__ = "void doActivate(QObject*, int, void**) [with bool callbacks_enabled = false]"
        sp = <optimized out>
        signal_spy_set = 0x0
        empty_argv = {0x0}
        senderDeleted = false
#9  0x00007fca648de6d7 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x55c071e077c0, m=m@entry=0x7fca64bbccc0 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd1330e580) at /var/tmp/portage/dev-qt/qtcore-5.15.4-r3/work/qtbase-everywhere-src-5.15.4/src/corelib/kernel/qobject.cpp:3946
#10 0x00007fca6485a940 in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) (this=this@entry=0x55c071e077c0, _t1=..., _t2=..., _t3=...) at .moc/moc_qabstractitemmodel.cpp:558
        _a = {0x0, 0x7ffd1330e5c0, 0x7ffd1330e5e0, 0x7ffd1330e748}
#11 0x00007fca6487fac0 in QIdentityProxyModelPrivate::_q_sourceDataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) (this=<optimized out>, topLeft=..., bottomRight=<optimized out>, roles=...) at /var/tmp/portage/dev-qt/qtcore-5.15.4-r3/work/qtbase-everywhere-src-5.15.4/src/corelib/itemmodels/qidentityproxymodel.cpp:507
        q = 0x55c071e077c0
#12 0x00007fca648e5304 in doActivate<false>(QObject*, int, void**) (sender=0x55c071e33320, signal_index=3, argv=0x7ffd1330e700) at /var/tmp/portage/dev-qt/qtcore-5.15.4-r3/work/qtbase-everywhere-src-5.15.4/src/corelib/kernel/qobject.cpp:3898
        method_relative = <optimized out>
        callFunction = <optimized out>
        methodIndex = 0
        receiver = 0x55c071e077c0
        td = <optimized out>
        receiverInSameThread = <optimized out>
        senderData = {previous = 0x0, receiver = 0x55c071e077c0, sender = 0x55c071e33320, signal = 3}
        c = 0x55c071f3b460
        connections = {d = 0x55c071d99200}
        list = <optimized out>
        inSenderThread = true
        highestConnectionId = 19
        signalVector = 0x55c071f5d7f0
        currentThreadId = 0x7fca62307d00
        __PRETTY_FUNCTION__ = "void doActivate(QObject*, int, void**) [with bool callbacks_enabled = false]"
        sp = <optimized out>
        signal_spy_set = 0x0
        empty_argv = {0x0}
        senderDeleted = false
#13 0x00007fca648de6d7 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x55c071e33320, m=m@entry=0x7fca64bbccc0 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd1330e700) at /var/tmp/portage/dev-qt/qtcore-5.15.4-r3/work/qtbase-everywhere-src-5.15.4/src/corelib/kernel/qobject.cpp:3946
#14 0x00007fca6485a940 in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) (this=this@entry=0x55c071e33320, _t1=..., _t2=..., _t3=...) at .moc/moc_qabstractitemmodel.cpp:558
        _a = {0x0, 0x7ffd1330e770, 0x7ffd1330e7d0, 0x7ffd1330e748}
#15 0x00007fca5e689fc4 in operator() (__closure=<optimized out>) at /var/tmp/portage/kde-plasma/plasma-workspace-5.25.1/work/plasma-workspace-5.25.1/libtaskmanager/xwindowtasksmodel.cpp:193
        this = <optimized out>
#16 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, TaskManager::XWindowTasksModel::Private::init()::<lambda()> >::call (arg=<optimized out>, f=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:146
#17 QtPrivate::Functor<TaskManager::XWindowTasksModel::Private::init()::<lambda()>, 0>::call<QtPrivate::List<>, void> (arg=<optimized out>, f=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:256
#18 QtPrivate::QFunctorSlotObject<TaskManager::XWindowTasksModel::Private::init()::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=<optimized out>, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:443
#19 0x00007fca648e52be in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffd1330e8a0, r=0x55c071e33320, this=0x55c071dfdec0) at /var/tmp/portage/dev-qt/qtcore-5.15.4-r3/work/qtbase-everywhere-src-5.15.4/include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
        obj = std::unique_ptr<class QtPrivate::QSlotObjectBase> = {get() = 0x55c071dfdec0}
        receiver = 0x55c071e33320
        td = <optimized out>
        receiverInSameThread = <optimized out>
        senderData = {previous = 0x0, receiver = 0x55c071e33320, sender = 0x7fca66131420 <(anonymous namespace)::Q_QGS_g_kwmInstanceContainer::innerFunction()::holder>, signal = 11}
        c = 0x55c071dfdee0
        connections = {d = 0x55c0716c1b80}
        list = <optimized out>
        inSenderThread = true
        highestConnectionId = 17
        signalVector = 0x55c0716be150
        currentThreadId = 0x7fca62307d00
        __PRETTY_FUNCTION__ = "void doActivate(QObject*, int, void**) [with bool callbacks_enabled = false]"
        sp = <optimized out>
        signal_spy_set = 0x0
        empty_argv = {0x0}
        senderDeleted = false
#20 doActivate<false>(QObject*, int, void**) (sender=0x7fca66131420 <(anonymous namespace)::Q_QGS_g_kwmInstanceContainer::innerFunction()::holder>, signal_index=11, argv=0x7ffd1330e8a0) at /var/tmp/portage/dev-qt/qtcore-5.15.4-r3/work/qtbase-everywhere-src-5.15.4/src/corelib/kernel/qobject.cpp:3886
        obj = std::unique_ptr<class QtPrivate::QSlotObjectBase> = {get() = 0x55c071dfdec0}
        receiver = 0x55c071e33320
        td = <optimized out>
        receiverInSameThread = <optimized out>
        senderData = {previous = 0x0, receiver = 0x55c071e33320, sender = 0x7fca66131420 <(anonymous namespace)::Q_QGS_g_kwmInstanceContainer::innerFunction()::holder>, signal = 11}
        c = 0x55c071dfdee0
        connections = {d = 0x55c0716c1b80}
        list = <optimized out>
        inSenderThread = true
        highestConnectionId = 17
        signalVector = 0x55c0716be150
        currentThreadId = 0x7fca62307d00
        __PRETTY_FUNCTION__ = "void doActivate(QObject*, int, void**) [with bool callbacks_enabled = false]"
        sp = <optimized out>
        signal_spy_set = 0x0
        empty_argv = {0x0}
        senderDeleted = false
#21 0x00007fca648de6d7 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x7fca66131420 <(anonymous namespace)::Q_QGS_g_kwmInstanceContainer::innerFunction()::holder>, m=m@entry=0x7fca6612f8e0 <KWindowSystem::staticMetaObject>, local_signal_index=local_signal_index@entry=8, argv=argv@entry=0x0) at /var/tmp/portage/dev-qt/qtcore-5.15.4-r3/work/qtbase-everywhere-src-5.15.4/src/corelib/kernel/qobject.cpp:3946
#22 0x00007fca660f93a7 in KWindowSystem::stackingOrderChanged() (this=this@entry=0x7fca66131420 <(anonymous namespace)::Q_QGS_g_kwmInstanceContainer::innerFunction()::holder>) at /var/tmp/portage/kde-frameworks/kwindowsystem-5.95.0/work/kwindowsystem-5.95.0_build/src/KF5WindowSystem_autogen/EWIEGA46WW/moc_kwindowsystem.cpp:422
#23 0x00007fca5ef9f268 in NETEventFilter::nativeEventFilter(xcb_generic_event_t*) (this=0x55c071baccb0, ev=0x7fca5800c1e0) at /var/tmp/portage/kde-frameworks/kwindowsystem-5.95.0/work/kwindowsystem-5.95.0/src/platforms/xcb/kwindowsystem.cpp:275
        old_active_window = 0
        props2 = {i = 0}
        old_current_desktop = 1
        old_number_of_desktops = 1
        old_showing_desktop = false
        props = {i = 4}
        s_q = 0x7fca66131420 <(anonymous namespace)::Q_QGS_g_kwmInstanceContainer::innerFunction()::holder>
        eventType = <optimized out>
        eventWindow = <optimized out>
#24 0x00007fca648aa294 in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) (this=<optimized out>, eventType=..., message=message@entry=0x7fca5800c1e0, result=result@entry=0x7ffd1330e9b8) at /var/tmp/portage/dev-qt/qtcore-5.15.4-r3/work/qtbase-everywhere-src-5.15.4/src/corelib/kernel/qabstracteventdispatcher.cpp:495
        filter = <optimized out>
        i = 2
        scopeLevelCounter = {threadData = 0x55c071548f60}
        d = 0x55c07161cdd0
#25 0x00007fca5fce8ab5 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) (this=this@entry=0x55c071560840, event=event@entry=0x7fca5800c1e0) at /var/tmp/portage/dev-qt/qtgui-5.15.4-r2/work/qtbase-everywhere-src-5.15.4/src/plugins/platforms/xcb/qxcbconnection.cpp:536
        dispatcher = <optimized out>
        result = 0
        response_type = <optimized out>
        handled = <optimized out>
        __PRETTY_FUNCTION__ = "void QXcbConnection::handleXcbEvent(xcb_generic_event_t*)"
#26 0x00007fca5fce9836 in QXcbConnection::processXcbEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55c071560840, flags=...) at /var/tmp/portage/dev-qt/qtgui-5.15.4-r2/work/qtbase-everywhere-src-5.15.4/src/plugins/platforms/xcb/qxcbconnection.cpp:1020
        event = 0x7fca5800c1e0
        eventGuard = {d = 0x7fca5800c1e0}
        connection_error = <optimized out>
        __PRETTY_FUNCTION__ = "void QXcbConnection::processXcbEvents(QEventLoop::ProcessEventsFlags)"
#27 0x00007fca5fd11057 in xcbSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at /var/tmp/portage/dev-qt/qtgui-5.15.4-r2/work/qtbase-everywhere-src-5.15.4/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:103
        xcbEventSource = <optimized out>
        flags = {i = 36}
#28 0x00007fca6338966b in g_main_dispatch (context=0x7fca58005000) at ../glib-2.72.1/glib/gmain.c:3417
        dispatch = 0x7fca5fd11040 <xcbSourceDispatch(GSource*, GSourceFunc, gpointer)>
        prev_source = 0x0
        begin_time_nsec = 0
        was_in_call = 0
        user_data = 0x0
        callback = 0x0
        cb_funcs = <optimized out>
        cb_data = <optimized out>
        need_destroy = <optimized out>
        source = 0x55c07161b7b0
        current = 0x55c07181eda0
        i = 1
        __func__ = "g_main_dispatch"
#29 g_main_context_dispatch (context=0x7fca58005000) at ../glib-2.72.1/glib/gmain.c:4135
#30 0x00007fca63389918 in g_main_context_iterate (context=context@entry=0x7fca58005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib-2.72.1/glib/gmain.c:4211
        max_priority = 2147483647
        timeout = 754
        some_ready = 1
        nfds = <optimized out>
        allocated_nfds = 9
        fds = 0x55c0726da600
#31 0x00007fca633899e3 in g_main_context_iteration (context=0x7fca58005000, may_block=1) at ../glib-2.72.1/glib/gmain.c:4276
        retval = <optimized out>
#32 0x00007fca64905b1a in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55c07161c850, flags=...) at /var/tmp/portage/dev-qt/qtcore-5.15.4-r3/work/qtbase-everywhere-src-5.15.4/src/corelib/kernel/qeventdispatcher_glib.cpp:423
        d = 0x55c07161cdd0
        canWait = true
        savedFlags = {i = 0}
        result = <optimized out>
#33 0x00007fca648abb2b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffd1330ec40, flags=..., flags@entry=...) at /var/tmp/portage/dev-qt/qtcore-5.15.4-r3/work/qtbase-everywhere-src-5.15.4/include/QtCore/../../src/corelib/global/qflags.h:69
        d = 0x7fca50005fa0
        threadData = <optimized out>
        locker = {val = 94285023449176}
        __PRETTY_FUNCTION__ = "int QEventLoop::exec(QEventLoop::ProcessEventsFlags)"
        app = <optimized out>
#34 0x00007fca648b4b14 in QCoreApplication::exec() () at /var/tmp/portage/dev-qt/qtcore-5.15.4-r3/work/qtbase-everywhere-src-5.15.4/include/QtCore/../../src/corelib/global/qflags.h:121
        threadData = 0x55c071548f60
        __PRETTY_FUNCTION__ = "static int QCoreApplication::exec()"
        eventLoop = {<QObject> = {_vptr.QObject = 0x7fca64bbdf08 <vtable for QEventLoop+16>, static staticMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7fca64a871c0 <qt_meta_stringdata_QObject>, data = 0x7fca64a870a0 <qt_meta_data_QObject>, static_metacall = 0x7fca648e33c0 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0x7fca50005fa0}, static staticQtMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7fca64a8a160 <qt_meta_stringdata_Qt>, data = 0x7fca64a872e0 <qt_meta_data_Qt>, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = {direct = 0x7fca64bb5780 <QObject::staticMetaObject>}, stringdata = 0x7fca64a7f200 <qt_meta_stringdata_QEventLoop>, data = 0x7fca64a7f1a0 <qt_meta_data_QEventLoop>, static_metacall = 0x7fca648ab800 <QEventLoop::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}}
        returnCode = <optimized out>
#35 0x00007fca64d30940 in QGuiApplication::exec() () at /var/tmp/portage/dev-qt/qtgui-5.15.4-r2/work/qtbase-everywhere-src-5.15.4/src/gui/kernel/qguiapplication.cpp:1867
#36 0x00007fca6556c559 in QApplication::exec() () at /var/tmp/portage/dev-qt/qtwidgets-5.15.4-r2/work/qtbase-everywhere-src-5.15.4/src/widgets/kernel/qapplication.cpp:2829
#37 0x000055c07090b01b in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/kde-plasma/plasma-workspace-5.25.1/work/plasma-workspace-5.25.1/shell/main.cpp:240
        qpaVariable = <optimized out>
        app = {<QGuiApplication> = {<QCoreApplication> = {<QObject> = {_vptr.QObject = 0x7fca65a8e868 <vtable for QApplication+16>, static staticMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7fca64a871c0 <qt_meta_stringdata_QObject>, data = 0x7fca64a870a0 <qt_meta_data_QObject>, static_metacall = 0x7fca648e33c0 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0x55c071554360}, static staticQtMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7fca64a8a160 <qt_meta_stringdata_Qt>, data = 0x7fca64a872e0 <qt_meta_data_Qt>, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = {direct = 0x7fca64bb5780 <QObject::staticMetaObject>}, stringdata = 0x7fca64a7ffe0 <qt_meta_stringdata_QCoreApplication>, data = 0x7fca64a7fec0 <qt_meta_data_QCoreApplication>, static_metacall = 0x7fca648af370 <QCoreApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, static self = 0x7ffd1330ed60}, static staticMetaObject = {d = {superdata = {direct = 0x7fca64bbe0a0 <QCoreApplication::staticMetaObject>}, stringdata = 0x7fca650da6c0 <qt_meta_stringdata_QGuiApplication>, data = 0x7fca650da440 <qt_meta_data_QGuiApplication>, static_metacall = 0x7fca64d31930 <QGuiApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = {direct = 0x7fca65200880 <QGuiApplication::staticMetaObject>}, stringdata = 0x7fca659298a0 <qt_meta_stringdata_QApplication>, data = 0x7fca65929720 <qt_meta_data_QApplication>, static_metacall = 0x7fca65570150 <QApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}}
        aboutData = {d = std::unique_ptr<class KAboutDataPrivate> = {get() = 0x55c07161f310}}
        replace = false
        corona = 0x55c07161dcb0
        service = {<QObject> = {_vptr.QObject = 0x7fca66830f18 <vtable for KDBusService+16>, static staticMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7fca64a871c0 <qt_meta_stringdata_QObject>, data = 0x7fca64a870a0 <qt_meta_data_QObject>, static_metacall = 0x7fca648e33c0 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0x55c071617cd0}, static staticQtMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7fca64a8a160 <qt_meta_stringdata_Qt>, data = 0x7fca64a872e0 <qt_meta_data_Qt>, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = {direct = 0x7fca64bb5780 <QObject::staticMetaObject>}, stringdata = 0x7fca6682b540 <qt_meta_stringdata_KDBusService>, data = 0x7fca6682b400 <qt_meta_data_KDBusService>, static_metacall = 0x7fca6681eef0 <KDBusService::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, d = std::unique_ptr<class KDBusServicePrivate> = {get() = 0x55c071642260}}
Comment 1 Sergey 2022-06-26 18:22:52 UTC
I believe I have the same crash. But for me it's every couple of seconds right after login.

crashes on Q_ASSERT(from.isValid()); in QConcatenateTablesProxyModelPrivate::_q_slotDataChanged in qtbase-everywhere-src-5.15.5/src/corelib/itemmodels/qconcatenatetablesproxymodel.cpp 

I had to recompile qtcore without debug to disable asserts and now it's somewhat stable.
Comment 2 Jaak Ristioja 2022-06-30 11:36:28 UTC
Also happens with Plasma 5.25.2.
Comment 3 Nate Graham 2022-07-20 16:27:53 UTC
Relevant bits in KDE code:

#22 0x00007fca660f93a7 in KWindowSystem::stackingOrderChanged() (this=this@entry=0x7fca66131420 <(anonymous namespace)::Q_QGS_g_kwmInstanceContainer::innerFunction()::holder>) at /var/tmp/portage/kde-frameworks/kwindowsystem-5.95.0/work/kwindowsystem-5.95.0_build/src/KF5WindowSystem_autogen/EWIEGA46WW/moc_kwindowsystem.cpp:422
#23 0x00007fca5ef9f268 in NETEventFilter::nativeEventFilter(xcb_generic_event_t*) (this=0x55c071baccb0, ev=0x7fca5800c1e0) at /var/tmp/portage/kde-frameworks/kwindowsystem-5.95.0/work/kwindowsystem-5.95.0/src/platforms/xcb/kwindowsystem.cpp:275
Comment 4 Jaak Ristioja 2022-09-20 14:33:39 UTC
*** Bug 459443 has been marked as a duplicate of this bug. ***
Comment 5 Nate Graham 2023-01-05 21:35:09 UTC
*** Bug 463306 has been marked as a duplicate of this bug. ***