Kactivitymanagerd crashing constantly plasma 5.27.9

Hello all,

I’m new to the OpenSUSE distro, especially with a Desktop environment.

i have been experiencing very odd behavior and have run out of options with google and reading the logs. I’m at a dead end and need assistance from more knowledgeable OpenSUSE users

the symptoms are:

everytime i log in it crashes.
everytime i open a window it crashes.
everytime i close a window… you guessed it, it crashes.

I’m not sure what happened but i think this started when i removed QT Creator? but i cant say that with 100% confidence since the issue has been ongoing for quite sometime.

this is what i have tried:
this post and deleted all the database files. issue persists the fiels do not get recreated either

Output Does not make alot of sense because it says the QSQLITE driver is not loaded but its available??

journalctl | grep kactivitymanager

May 10 23:11:58 localhost.localdomain dbus-daemon[2052]: [session uid=1000 pid=2052] Activating via systemd: service name=‘org.kde.ActivityManager’ unit=‘plasma-kactivitymanagerd.service’ requested by ‘:1.61’ (uid=1000 pid=3498 comm=“/usr/bin/dolphin “)
May 10 23:11:58 localhost.localdomain kactivitymanagerd[3605]: QSqlDatabase: QSQLITE driver not loaded
May 10 23:11:58 localhost.localdomain kactivitymanagerd[3605]: QSqlDatabase: available drivers: QSQLITE QSQLITE3 QMARIADB QMYSQL QMYSQL3
May 10 23:11:58 localhost.localdomain kactivitymanagerd[3605]: KCrash: Application ‘kactivitymanagerd’ crashing…
May 10 23:11:58 localhost.localdomain kactivitymanagerd[3605]: org.kde.kactivities.resources: KActivities: Database is not open: “kactivities_db_resources_140223416186944_readwrite” “” QSqlError(””, “Driver not loaded”, “Driver not loaded”)
May 10 23:11:58 localhost.localdomain kactivitymanagerd[3605]: KActivities: Opening the database in RW mode should always succeed
May 10 23:11:58 localhost.localdomain kactivitymanagerd[3605]: KCrash: Attempting to start /usr/lib/drkonqi
May 10 23:12:01 localhost.localdomain kactivitymanagerd[3605]: Unable to start Dr. Konqi
May 10 23:12:01 localhost.localdomain kactivitymanagerd[3605]: Re-raising signal for core dump handling.
May 10 23:12:01 localhost.localdomain systemd[1851]: plasma-kactivitymanagerd.service: Main process exited, code=killed, status=6/ABRT
May 10 23:12:01 localhost.localdomain systemd[1851]: plasma-kactivitymanagerd.service: Failed with result ‘signal’.
May 10 23:13:28 localhost.localdomain dbus-daemon[2052]: [session uid=1000 pid=2052] Activating via systemd: service name=‘org.kde.ActivityManager’ unit=‘plasma-kactivitymanagerd.service’ requested by ‘:1.22’ (uid=1000 pid=2214 comm=“/usr/bin/plasmashell --no-respawn “)
May 10 23:13:28 localhost.localdomain kactivitymanagerd[4007]: QSqlDatabase: QSQLITE driver not loaded
May 10 23:13:28 localhost.localdomain kactivitymanagerd[4007]: QSqlDatabase: available drivers: QSQLITE QSQLITE3 QMARIADB QMYSQL QMYSQL3
May 10 23:13:28 localhost.localdomain kactivitymanagerd[4007]: KCrash: Application ‘kactivitymanagerd’ crashing…
May 10 23:13:28 localhost.localdomain kactivitymanagerd[4007]: org.kde.kactivities.resources: KActivities: Database is not open: “kactivities_db_resources_140021231384640_readwrite” “” QSqlError(””, “Driver not loaded”, “Driver not loaded”)
May 10 23:13:28 localhost.localdomain kactivitymanagerd[4007]: KActivities: Opening the database in RW mode should always succeed
May 10 23:13:28 localhost.localdomain kactivitymanagerd[4007]: KCrash: Attempting to start /usr/lib/drkonqi
May 10 23:13:31 localhost.localdomain kactivitymanagerd[4007]: Unable to start Dr. Konqi
May 10 23:13:31 localhost.localdomain kactivitymanagerd[4007]: Re-raising signal for core dump handling.
May 10 23:13:31 localhost.localdomain systemd[1851]: plasma-kactivitymanagerd.service: Main process exited, code=dumped, status=6/ABRT
May 10 23:13:31 localhost.localdomain systemd[1851]: plasma-kactivitymanagerd.service: Failed with result ‘core-dump’.

section (i think) is related to this from messages, can provide the whole file upon request.

/var/log/messages

2024-05-10T23:13:28.424083-04:00 localhost systemd[1851]: Started KActivityManager Activity manager Service.
2024-05-10T23:13:28.444345-04:00 localhost kactivitymanagerd[4007]: QSqlDatabase: QSQLITE driver not loaded
2024-05-10T23:13:28.444461-04:00 localhost kactivitymanagerd[4007]: QSqlDatabase: available drivers: QSQLITE QSQLITE3 QMARIADB QMYSQL QMYSQL3
2024-05-10T23:13:28.444508-04:00 localhost kactivitymanagerd[4007]: KCrash: Application ‘kactivitymanagerd’ crashing…
2024-05-10T23:13:28.444553-04:00 localhost kactivitymanagerd[4007]: org.kde.kactivities.resources: KActivities: Database is not open: “kactivities_db_resources_140021231384640_readwrite” “” QSqlError(“”, “Driver not loaded”, “Driver not loaded”)
2024-05-10T23:13:28.444596-04:00 localhost kactivitymanagerd[4007]: KActivities: Opening the database in RW mode should always succeed
2024-05-10T23:13:28.452206-04:00 localhost kactivitymanagerd[4007]: KCrash: Attempting to start /usr/lib/drkonqi
2024-05-10T23:13:28.458962-04:00 localhost plasmashell[2214]: file:///usr/lib64/qt5/qml/org/kde/kirigami.2/templates/InlineMessage.qml:257:13: QML SelectableLabel: Binding loop detected for property “implicitWidth”
2024-05-10T23:13:28.487981-04:00 localhost plasmashell[2214]: org.kde.plasma.kicker: Entry is not valid “writer.desktop” QSharedPointer(0x56456db3aa90)
2024-05-10T23:13:28.488084-04:00 localhost plasmashell[2214]: org.kde.plasma.kicker: Entry is not valid “org.kde.digikam.desktop” QSharedPointer(0x56456db40610)
2024-05-10T23:13:28.488206-04:00 localhost plasmashell[2214]: org.kde.plasma.kicker: Entry is not valid “org.kde.Help.desktop” QSharedPointer(0x56456db40520)
2024-05-10T23:13:28.488254-04:00 localhost plasmashell[2214]: kf.activitiesstats: KActivities: Database is not open: “kactivities_db_resources_139913356675584_readonly” “” QSqlError(“”, “Driver not loaded”, “Driver not loaded”)
2024-05-10T23:13:28.488294-04:00 localhost plasmashell[2214]: kf.activitiesstats: KActivities ERROR: There is no database. This probably means that you do not have the Activity Manager running, or that something else is broken on your system. Recent documents and alike
will not work!
2024-05-10T23:13:28.488330-04:00 localhost plasmashell[2214]: kf.activitiesstats: KActivities: Database is not open: “kactivities_db_resources_139913356675584_readonly” “” QSqlError(“”, “Driver not loaded”, “Driver not loaded”)
2024-05-10T23:13:28.488354-04:00 localhost plasmashell[2214]: kf.activitiesstats: KActivities ERROR: There is no database. This probably means that you do not have the Activity Manager running, or that something else is broken on your system. Recent documents and alike
will not work!
2024-05-10T23:13:28.488396-04:00 localhost plasmashell[2214]: kf.activitiesstats: KActivities: Database is not open: “kactivities_db_resources_139913356675584_readonly” “” QSqlError(“”, “Driver not loaded”, “Driver not loaded”)
2024-05-10T23:13:28.488421-04:00 localhost plasmashell[2214]: kf.activitiesstats: KActivities ERROR: There is no database. This probably means that you do not have the Activity Manager running, or that something else is broken on your system. Recent documents and alike
will not work!
2024-05-10T23:13:28.612439-04:00 localhost kded5[2158]: Registering “:1.77/StatusNotifierItem” to system tray
2024-05-10T23:13:28.631124-04:00 localhost plasmashell[2214]: Could not find the Plasmoid for Plasma::FrameSvgItem(0x564572255930) QQmlContext(0x56456b4119c0) QUrl(“file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml”)
2024-05-10T23:13:28.631205-04:00 localhost plasmashell[2214]: Could not find the Plasmoid for Plasma::FrameSvgItem(0x564572255930) QQmlContext(0x56456b4119c0) QUrl(“file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml”)
2024-05-10T23:13:28.633747-04:00 localhost konsole[4006]: kf.xmlgui: Shortcut for action “” “Show Quick Commands” set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
2024-05-10T23:13:28.633813-04:00 localhost konsole[4006]: kf.xmlgui: Shortcut for action “” “Show SSH Manager” set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
2024-05-10T23:13:30.494779-04:00 localhost krunner[3340]: KActivities: FATAL ERROR: Failed to contact the activity manager daemon
2024-05-10T23:13:30.494956-04:00 localhost org_kde_powerdevil[2248]: KActivities: FATAL ERROR: Failed to contact the activity manager daemon
2024-05-10T23:13:30.495063-04:00 localhost plasmashell[2214]: KActivities: FATAL ERROR: Failed to contact the activity manager daemon
2024-05-10T23:13:30.498558-04:00 localhost kwin_x11[2159]: KActivities: FATAL ERROR: Failed to contact the activity manager daemon
2024-05-10T23:13:30.498983-04:00 localhost kded5[2158]: Service “:1.77” unregistered
2024-05-10T23:13:31.495753-04:00 localhost kactivitymanagerd[4007]: Unable to start Dr. Konqi
2024-05-10T23:13:31.495826-04:00 localhost kactivitymanagerd[4007]: Re-raising signal for core dump handling.
2024-05-10T23:13:31.497642-04:00 localhost systemd[1851]: plasma-kactivitymanagerd.service: Main process exited, code=dumped, status=6/ABRT
2024-05-10T23:13:31.497715-04:00 localhost systemd[1851]: plasma-kactivitymanagerd.service: Failed with result ‘core-dump’.
2024-05-10T23:13:50.265664-04:00 localhost sudo: pam_kwallet5(sudo:auth): pam_kwallet5: pam_sm_authenticate
2024-05-10T23:13:50.265729-04:00 localhost sudo: pam_kwallet5(sudo:auth): pam_kwallet5: Refusing to do anything for the root user
2024-05-10T23:13:52.899976-04:00 localhost sudo: gabriel : TTY=pts/1 ; PWD=/home/gabriel ; USER=root ; COMMAND=/usr/sbin/fsck -L
2024-05-10T23:13:52.900204-04:00 localhost sudo: pam_kwallet5(sudo:setcred): pam_kwallet5: pam_sm_setcred

i then tried to remove kde and reinstall (one of the following I can’t remember which ones worked but just to give you an idea of what i have tried already. i just went through history command)

zypper remove kde_plasma
zypper rm -u patterns-kde-kde
zypper rm -u kde
zypper install -t pattern kde kde_plasma

force reinstall kactivitymanagerd

zypper in -f kactivitymanagerd kactivities5-imports

force reinstall libQtSql5-qlite

zypper in -f libQt5Sql5-sqlite

Distro upgrade

zypper dup

Issue also persists with a new user account aswell

now I am here and it still crashes constantly… any help is greatly appreciated.

Thank you in advance

EDIT
When it does crash, i do get the Dr. Konqi message at the bottom right, i click report bug but i cant view the contents of what is being submitted. i was able to a few times but couldnt save the output anywhere

I have never run into a problem with “kactivitymanager”.

Reinstalling is not likely to help.

Try creating new user on your system. And then see if this still happens with the new user.

This is to test whether the problem might be due to user settings, user cache, etc.

Hello, thank you for the quick reply.

so I created 2 new users, a standard type and a Administrator type.
The issue happens on both new account types

after i checked if the files got created for the new users but they did not.

Summary
localhost:/home/gabrieltest/.local/share/kactivitymanagerd # tree -a ./
./
└── resources
    ├── test-backup
    └── working-backup

I was able to save the kcrash dump file aswell

cat kactivitymanagerd-20240511-115507.kcrash

Application: kactivitymanagerd (kactivitymanagerd), signal: Aborted

[KCrash Handler]
#4 0x00007fd8b30add2b in raise () from /lib64/libc.so.6
#5 0x00007fd8b30af3e5 in abort () from /lib64/libc.so.6
#6 0x00007fd8b355a68b in QMessageLogger::fatal(char const*, …) const () from /usr/lib64/libQt5Core.so.5
#7 0x00007fd8afc488a0 in ?? () from /usr/lib64/qt5/plugins/kactivitymanagerd/1/kactivitymanagerd_plugin_sqlite.so
#8 0x00007fd8afc33f9e in ?? () from /usr/lib64/qt5/plugins/kactivitymanagerd/1/kactivitymanagerd_plugin_sqlite.so
#9 0x00007fd8afc34f1c in ?? () from /usr/lib64/qt5/plugins/kactivitymanagerd/1/kactivitymanagerd_plugin_sqlite.so
#10 0x00007fd8afc3d594 in ?? () from /usr/lib64/qt5/plugins/kactivitymanagerd/1/kactivitymanagerd_plugin_sqlite.so
#11 0x0000557d658298e0 in ?? ()
#12 0x0000557d6582a4cb in ?? ()
#13 0x0000557d6582aeb6 in ?? ()
#14 0x0000557d65827205 in ?? ()
#15 0x00007fd8b37ac4ab in QObject::event(QEvent*) () from /usr/lib64/libQt5Core.so.5
#16 0x00007fd8b3d97171 in QGuiApplication::event(QEvent*) () from /usr/lib64/libQt5Gui.so.5
#17 0x00007fd8b44f790f in QApplication::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#18 0x00007fd8b44f253c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#19 0x00007fd8b44f92ff in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#20 0x00007fd8b3778013 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#21 0x00007fd8b377aa31 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQt5Core.so.5
#22 0x00007fd8b37db2b3 in ?? () from /usr/lib64/libQt5Core.so.5
#23 0x00007fd8b18c182b in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#24 0x00007fd8b18c1bd0 in ?? () from /usr/lib64/libglib-2.0.so.0
#25 0x00007fd8b18c1c5c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#26 0x00007fd8b37da95c in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib64/libQt5Core.so.5
#27 0x00007fd8b377687a in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib64/libQt5Core.so.5
#28 0x00007fd8b37800b7 in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#29 0x0000557d65825f84 in ?? ()
#30 0x00007fd8b309824d in __libc_start_main () from /lib64/libc.so.6
#31 0x0000557d658260aa in ?? ()
[Inferior 1 (process 2235) detached]

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.