Bug 470635 - Plasma crashes in KActivities::Stats::ResultModelPrivate::fetch() since updating an RPM through Discover
Summary: Plasma crashes in KActivities::Stats::ResultModelPrivate::fetch() since updat...
Status: REPORTED
Alias: None
Product: frameworks-activities-stats
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.106.0
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Ivan Čukić
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-06-04 17:07 UTC by me
Modified: 2024-01-20 10:39 UTC (History)
6 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 me 2023-06-04 17:07:40 UTC
Application: plasmashell (5.27.5)

Qt Version: 5.15.9
Frameworks Version: 5.106.0
Operating System: Linux 6.3.5-200.fc38.x86_64 x86_64
Windowing System: X11
Distribution: Fedora Linux 38 (KDE Plasma)
DrKonqi: 5.27.5 [KCrashBackend]

-- Information about the crash:
I updated a installed RPM package through Discover (https://github.com/th-ch/youtube-music/releases/download/v1.20.0/youtube-music-1.20.0.x86_64.rpm) and since then my Plasma keeps crashing concurrently, even if i try to manually start Plasma with "kstart5 plasmashell".

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault

[KCrash Handler]
#4  0x00007fba8386f54d in QStack<QVector<QPersistentModelIndexData*> >::pop() () at /lib64/libQt5Core.so.5
#5  0x00007fba838685fe in QAbstractItemModelPrivate::itemsMoved(QModelIndex const&, int, int, QModelIndex const&, int, Qt::Orientation) () at /lib64/libQt5Core.so.5
#6  0x00007fba8386b718 in QAbstractItemModel::endMoveRows() () at /lib64/libQt5Core.so.5
#7  0x00007fba35c976c7 in KActivities::Stats::ResultModelPrivate::fetch(int, int) () at /lib64/libKF5ActivitiesStats.so.1
#8  0x00007fba35c98295 in KActivities::Stats::ResultModelPrivate::fetch(KActivities::Stats::ResultModelPrivate::Fetch) () at /lib64/libKF5ActivitiesStats.so.1
#9  0x00007fba35d07e4d in RecentUsageModel::refresh() () at /usr/lib64/qt5/qml/org/kde/plasma/private/kicker/libkickerplugin.so
#10 0x00007fba35d00474 in RootModel::refresh() [clone .part.0] () at /usr/lib64/qt5/qml/org/kde/plasma/private/kicker/libkickerplugin.so
#11 0x00007fba35cd8b82 in RootModel::qt_metacall(QMetaObject::Call, int, void**) () at /usr/lib64/qt5/qml/org/kde/plasma/private/kicker/libkickerplugin.so
#12 0x00007fba84ef444a in QQmlObjectOrGadget::metacall(QMetaObject::Call, int, void**) const () at /lib64/libQt5Qml.so.5
#13 0x00007fba84dc5b70 in CallPrecise(QQmlObjectOrGadget const&, QQmlPropertyData const&, QV4::ExecutionEngine*, QV4::CallData*, QMetaObject::Call) () at /lib64/libQt5Qml.so.5
#14 0x00007fba84dc8e02 in QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const () at /lib64/libQt5Qml.so.5
#15 0x00007fba84de696c in QV4::Moth::VME::interpret(QV4::CppStackFrame*, QV4::ExecutionEngine*, char const*) () at /lib64/libQt5Qml.so.5
#16 0x00007fba84dea18f in QV4::Moth::VME::exec(QV4::CppStackFrame*, QV4::ExecutionEngine*) () at /lib64/libQt5Qml.so.5
#17 0x00007fba84d7a162 in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) () at /lib64/libQt5Qml.so.5
#18 0x00007fba84f10120 in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) () at /lib64/libQt5Qml.so.5
#19 0x00007fba84ebe611 in QQmlBoundSignalExpression::evaluate(void**) () at /lib64/libQt5Qml.so.5
#20 0x00007fba84ebf890 in QQmlBoundSignal_callback(QQmlNotifierEndpoint*, void**) () at /lib64/libQt5Qml.so.5
#21 0x00007fba84ef3ee7 in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () at /lib64/libQt5Qml.so.5
#22 0x00007fba838e8320 in void doActivate<false>(QObject*, int, void**) () at /lib64/libQt5Core.so.5
#23 0x00007fba84f269a8 in QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) () at /lib64/libQt5Qml.so.5
#24 0x00007fba84eb85c1 in QQmlIncubatorPrivate::incubate(QQmlInstantiationInterrupt&) () at /lib64/libQt5Qml.so.5
#25 0x00007fba84eb8bd0 in QQmlEnginePrivate::incubate(QQmlIncubator&, QQmlContextData*) () at /lib64/libQt5Qml.so.5
#26 0x00007fba84eb21d4 in QQmlComponent::create(QQmlIncubator&, QQmlContext*, QQmlContext*) () at /lib64/libQt5Qml.so.5
#27 0x00007fba85a897e5 in KDeclarative::QmlObject::createObjectFromComponent(QQmlComponent*, QQmlContext*, QHash<QString, QVariant> const&) () at /lib64/libKF5Declarative.so.5
#28 0x00007fba85db9cc9 in PlasmaQuick::AppletQuickItemPrivate::createFullRepresentationItem() () at /lib64/libKF5PlasmaQuick.so.5
#29 0x00007fba85dbc27f in PlasmaQuick::AppletQuickItemPrivate::preloadForExpansion() () at /lib64/libKF5PlasmaQuick.so.5
#30 0x00007fba838df73b in QObject::event(QEvent*) () at /lib64/libQt5Core.so.5
#31 0x00007fba845aeb75 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#32 0x00007fba838b3d48 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#33 0x00007fba838b71f5 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib64/libQt5Core.so.5
#34 0x00007fba83906e2f in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5Core.so.5
#35 0x00007fba823e039c in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#36 0x00007fba8243e438 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#37 0x00007fba823dda23 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#38 0x00007fba83906919 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#39 0x00007fba838b270b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#40 0x00007fba838ba99b in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#41 0x0000557a3628e62a in main ()
[Inferior 1 (process 14102) detached]

Reported using DrKonqi
Comment 1 Nate Graham 2023-06-05 15:52:56 UTC
> KActivities::Stats::ResultModelPrivate::fetch

Seems like maybe the activities database got corrupted somehow?
Comment 2 me 2023-06-05 17:07:48 UTC
(In reply to Nate Graham from comment #1)
> > KActivities::Stats::ResultModelPrivate::fetch
> 
> Seems like maybe the activities database got corrupted somehow?

Got it running again by deleting ~/.config/plasma-org.kde.plasma.desktop-appletsrc so I don't know if anything else should be done here.
Comment 3 ostap-tymur-tymchenko 2023-08-30 23:18:33 UTC
Hi, Im also having this issue constantly. Please let me know if theres any info that would be helpful. Im running Fedora 38. I did not install the specific app that me@unbekannt3.eu reported installing.
Comment 4 Méven Car 2024-01-20 10:39:54 UTC
(In reply to ostap-tymur-tymchenko from comment #3)
> Hi, Im also having this issue constantly. Please let me know if theres any
> info that would be helpful. Im running Fedora 38. I did not install the
> specific app that me@unbekannt3.eu reported installing.

Which version are you using ?
Are you sure this is the same crash ? Do you have a stacktrace to corroborate ?

Command `coredumpctl info -n1 plasmashell` should allow to get one.