Latest update went awfully wrong

Update a few hours earlier, rebooted, seeing the new fancy SDDM background, login in… and BOOOM! That’s how KDE greets me ever since:

Please heeeeeeeelp!!!

I have an NVIDIA 4090 GPU with proprietary drivers (I was on version 570), so initially I suspected the proprietary nvidia drivers and Wayland. Tried X11. Still same issue. Install drivers 580; same issue. Uninstalled the proprietary drivers and tried my luck on nouveau. Still same.

I can use Alt+F2 to bring up krunner and start some programs like konsole, spectacle, which is how I took the above screenshot, and firefox, which is how I am making this post right now, but I have limited time before the next crash happens and I am kicked back to the SDDM login page! I managed to send some automatic reports, although I have no idea where these end up to.

I found the bunch of packages from the latest update in /var/log/apt, and I did an apt-get clean and apt-get install –reinstall <packages>, just to ensure that I go not corrupted package. Still the same problem.

Here is a sample stack trace that I copy pasted from the output of journalctl -p err:

Process 35438 (plasmashell) of user 1000 dumped core.

Module libgomp.so.1 from deb gcc-14-14.2.0-4ubuntu2~24.04.amd64
Module libzstd.so.1 from deb libzstd-1.5.5+dfsg2-2build1.1.amd64
Module libsystemd.so.0 from deb systemd-255.4-1ubuntu8.11.amd64
Module libudev.so.1 from deb systemd-255.4-1ubuntu8.11.amd64
Module libgcc_s.so.1 from deb gcc-14-14.2.0-4ubuntu2~24.04.amd64
Module libstdc++.so.6 from deb gcc-14-14.2.0-4ubuntu2~24.04.amd64
Stack trace of thread 35438:
#0 0x0000792b8c09eb2c __pthread_kill_implementation (libc.so.6 + 0x9eb2c)
#1 0x0000792b8c04527e __GI_raise (libc.so.6 + 0x4527e)
#2 0x0000792b8f467468 _ZN6KCrash19defaultCrashHandlerEi (libKF6Crash.so.6 + 0x9468)
#3 0x0000792b8c045330 __restore_rt (libc.so.6 + 0x45330)
#4 0x0000792b8f18f8dd n/a (libPlasmaActivities.so.7 + 0x1e8dd)
#5 0x0000792b8f18fb88 n/a (libPlasmaActivities.so.7 + 0x1eb88)
#6 0x0000792b8cc77e7d _ZNK20QFutureInterfaceBase15runContinuationEv (libQt6Core.so.6 + 0x477e7d)
#7 0x0000792b8cb46e39 n/a (libQt6Core.so.6 + 0x346e39)
#8 0x0000792b8d844321 ZN23QDBusPendingCallWatcher8finishedEPS (libQt6DBus.so.6 + 0x93321)
#9 0x0000792b8cb39540 _ZN7QObject5eventEP6QEvent (libQt6Core.so.6 + 0x339540)
#10 0x0000792b8ecc7dcd _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt6Widgets.so.6 + 0x2c7dcd)
#11 0x0000792b8cae59c0 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt6Core.so.6 + 0x2e59c0)
#12 0x0000792b8caebafb _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData (libQt6Core.so.6 + 0x2ebafb)
#13 0x0000792b8cd5f6ef n/a (libQt6Core.so.6 + 0x55f6ef)
#14 0x0000792b8b3595c5 n/a (libglib-2.0.so.0 + 0x5d5c5)
#15 0x0000792b8b3b8737 n/a (libglib-2.0.so.0 + 0xbc737)
#16 0x0000792b8b358a63 g_main_context_iteration (libglib-2.0.so.0 + 0x5ca63)
#17 0x0000792b8cd5cb2f _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x55cb2f)
#18 0x0000792b8caedadb _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x2edadb)
#19 0x0000792b8cae817f _ZN16QCoreApplication4execEv (libQt6Core.so.6 + 0x2e817f)
#20 0x00005ec260406aa8 n/a (plasmashell + 0x3daa8)
#21 0x0000792b8c02a1ca __libc_start_call_main (libc.so.6 + 0x2a1ca)
#22 0x0000792b8c02a28b __libc_start_main_impl (libc.so.6 + 0x2a28b)
#23 0x00005ec260406be5 n/a (plasmashell + 0x3dbe5)

Stack trace of thread 35457:
#0 0x0000792b8c11b4fd __GI___poll (libc.so.6 + 0x11b4fd)
#1 0x0000792b8d9282a6 n/a (libQt6WaylandClient.so.6 + 0xbc2a6)
#2 0x0000792b8cc6b380 n/a (libQt6Core.so.6 + 0x46b380)
#3 0x0000792b8c09caa4 start_thread (libc.so.6 + 0x9caa4)
#4 0x0000792b8c129c6c __clone3 (libc.so.6 + 0x129c6c)

Stack trace of thread 35449:
#0 0x0000792b8c11b4fd __GI___poll (libc.so.6 + 0x11b4fd)
#1 0x0000792b8b3b868e n/a (libglib-2.0.so.0 + 0xbc68e)
#2 0x0000792b8b358a63 g_main_context_iteration (libglib-2.0.so.0 + 0x5ca63)
#3 0x0000792b8cd5cb2f _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x55cb2f)
#4 0x0000792b8caedadb _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x2edadb)
#5 0x0000792b8cbe9597 _ZN7QThread4execEv (libQt6Core.so.6 + 0x3e9597)
#6 0x0000792b8d7fcbdd n/a (libQt6DBus.so.6 + 0x4bbdd)
#7 0x0000792b8cc6b380 n/a (libQt6Core.so.6 + 0x46b380)
#8 0x0000792b8c09caa4 start_thread (libc.so.6 + 0x9caa4)
#9 0x0000792b8c129c6c __clone3 (libc.so.6 + 0x129c6c)

Stack trace of thread 35538:
#0 0x0000792b8c11b4fd __GI___poll (libc.so.6 + 0x11b4fd)
#1 0x0000792b8b3b868e n/a (libglib-2.0.so.0 + 0xbc68e)
#2 0x0000792b8b358a63 g_main_context_iteration (libglib-2.0.so.0 + 0x5ca63)
#3 0x0000792b8cd5cb2f _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x55cb2f)
#4 0x0000792b8caedadb _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x2edadb)
#5 0x0000792b8cbe9597 _ZN7QThread4execEv (libQt6Core.so.6 + 0x3e9597)
#6 0x0000792b8cc6b380 n/a (libQt6Core.so.6 + 0x46b380)
#7 0x0000792b8c09caa4 start_thread (libc.so.6 + 0x9caa4)
#8 0x0000792b8c129c6c __clone3 (libc.so.6 + 0x129c6c)

Stack trace of thread 35542:
#0 0x0000792b8c11b4fd __GI___poll (libc.so.6 + 0x11b4fd)
#1 0x0000792b8b3b868e n/a (libglib-2.0.so.0 + 0xbc68e)
#2 0x0000792b8b358a63 g_main_context_iteration (libglib-2.0.so.0 + 0x5ca63)
#3 0x0000792b8cd5cb2f _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x55cb2f)
#4 0x0000792b8caedadb _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x2edadb)
#5 0x0000792b8cbe9597 _ZN7QThread4execEv (libQt6Core.so.6 + 0x3e9597)
#6 0x0000792b8cc6b380 n/a (libQt6Core.so.6 + 0x46b380)
#7 0x0000792b8c09caa4 start_thread (libc.so.6 + 0x9caa4)
#8 0x0000792b8c129c6c __clone3 (libc.so.6 + 0x129c6c)

Stack trace of thread 35458:
#0 0x0000792b8c11b4fd __GI___poll (libc.so.6 + 0x11b4fd)
#1 0x0000792b8d9282a6 n/a (libQt6WaylandClient.so.6 + 0xbc2a6)
#2 0x0000792b8cc6b380 n/a (libQt6Core.so.6 + 0x46b380)
#3 0x0000792b8c09caa4 start_thread (libc.so.6 + 0x9caa4)
#4 0x0000792b8c129c6c __clone3 (libc.so.6 + 0x129c6c)

Stack trace of thread 35539:
#0 0x0000792b8c11b4fd __GI___poll (libc.so.6 + 0x11b4fd)
#1 0x0000792b8b3b868e n/a (libglib-2.0.so.0 + 0xbc68e)
#2 0x0000792b8b358a63 g_main_context_iteration (libglib-2.0.so.0 + 0x5ca63)
#3 0x0000792b8cd5cb2f _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x55cb2f)
#4 0x0000792b8caedadb _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x2edadb)
#5 0x0000792b8cbe9597 _ZN7QThread4execEv (libQt6Core.so.6 + 0x3e9597)
#6 0x0000792b8cc6b380 n/a (libQt6Core.so.6 + 0x46b380)
#7 0x0000792b8c09caa4 start_thread (libc.so.6 + 0x9caa4)
#8 0x0000792b8c129c6c __clone3 (libc.so.6 + 0x129c6c)

Stack trace of thread 35810:
#0 0x0000792b8c098d71 __futex_abstimed_wait_common64 (libc.so.6 + 0x98d71)
#1 0x0000792b8c09b7ed __pthread_cond_wait_common (libc.so.6 + 0x9b7ed)
#2 0x0000792b8cc78b7c _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x478b7c)
#3 0x0000792b8e41708d n/a (libQt6Quick.so.6 + 0x41708d)
#4 0x0000792b8cc6b380 n/a (libQt6Core.so.6 + 0x46b380)
#5 0x0000792b8c09caa4 start_thread (libc.so.6 + 0x9caa4)
#6 0x0000792b8c129c6c __clone3 (libc.so.6 + 0x129c6c)

Stack trace of thread 35569:
#0 0x0000792b8c098d71 __futex_abstimed_wait_common64 (libc.so.6 + 0x98d71)
#1 0x0000792b8c09bc8e __pthread_cond_wait_common (libc.so.6 + 0x9bc8e)
#2 0x0000792b8cc78aec _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x478aec)
#3 0x0000792b8cc72cf6 n/a (libQt6Core.so.6 + 0x472cf6)
#4 0x0000792b8cc6b380 n/a (libQt6Core.so.6 + 0x46b380)
#5 0x0000792b8c09caa4 start_thread (libc.so.6 + 0x9caa4)
#6 0x0000792b8c129c6c __clone3 (libc.so.6 + 0x129c6c)

Stack trace of thread 35809:
#0 0x0000792b8c11b4fd __GI___poll (libc.so.6 + 0x11b4fd)
#1 0x0000792b8b3b868e n/a (libglib-2.0.so.0 + 0xbc68e)
#2 0x0000792b8b358a63 g_main_context_iteration (libglib-2.0.so.0 + 0x5ca63)
#3 0x0000792b8cd5cb2f _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x55cb2f)
#4 0x0000792b8caedadb _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x2edadb)
#5 0x0000792b8cbe9597 _ZN7QThread4execEv (libQt6Core.so.6 + 0x3e9597)
#6 0x0000792b8e4c50f2 n/a (libQt6Quick.so.6 + 0x4c50f2)
#7 0x0000792b8cc6b380 n/a (libQt6Core.so.6 + 0x46b380)
#8 0x0000792b8c09caa4 start_thread (libc.so.6 + 0x9caa4)
#9 0x0000792b8c129c6c __clone3 (libc.so.6 + 0x129c6c)

Stack trace of thread 35568:
#0 0x0000792b8c098d71 __futex_abstimed_wait_common64 (libc.so.6 + 0x98d71)
#1 0x0000792b8c09bc8e __pthread_cond_wait_common (libc.so.6 + 0x9bc8e)
#2 0x0000792b8cc78aec _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x478aec)
#3 0x0000792b8cc72cf6 n/a (libQt6Core.so.6 + 0x472cf6)
#4 0x0000792b8cc6b380 n/a (libQt6Core.so.6 + 0x46b380)
#5 0x0000792b8c09caa4 start_thread (libc.so.6 + 0x9caa4)
#6 0x0000792b8c129c6c __clone3 (libc.so.6 + 0x129c6c)

Stack trace of thread 35842:
#0 0x0000792b8c098d71 __futex_abstimed_wait_common64 (libc.so.6 + 0x98d71)
#1 0x0000792b8c09bc8e __pthread_cond_wait_common (libc.so.6 + 0x9bc8e)
#2 0x0000792b8cc78aec _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x478aec)
#3 0x0000792b8cc72cf6 n/a (libQt6Core.so.6 + 0x472cf6)
#4 0x0000792b8cc6b380 n/a (libQt6Core.so.6 + 0x46b380)
#5 0x0000792b8c09caa4 start_thread (libc.so.6 + 0x9caa4)
#6 0x0000792b8c129c6c __clone3 (libc.so.6 + 0x129c6c)

Stack trace of thread 35814:
#0 0x0000792b8c098d71 __futex_abstimed_wait_common64 (libc.so.6 + 0x98d71)
#1 0x0000792b8c09bc8e __pthread_cond_wait_common (libc.so.6 + 0x9bc8e)
#2 0x0000792b8cc78aec _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x478aec)
#3 0x0000792b8cc72cf6 n/a (libQt6Core.so.6 + 0x472cf6)
#4 0x0000792b8cc6b380 n/a (libQt6Core.so.6 + 0x46b380)
#5 0x0000792b8c09caa4 start_thread (libc.so.6 + 0x9caa4)
#6 0x0000792b8c129c6c __clone3 (libc.so.6 + 0x129c6c)

Stack trace of thread 35812:
#0 0x0000792b8c098d71 __futex_abstimed_wait_common64 (libc.so.6 + 0x98d71)
#1 0x0000792b8c09bc8e __pthread_cond_wait_common (libc.so.6 + 0x9bc8e)
#2 0x0000792b8cc78aec _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x478aec)
#3 0x0000792b8cc72cf6 n/a (libQt6Core.so.6 + 0x472cf6)
#4 0x0000792b8cc6b380 n/a (libQt6Core.so.6 + 0x46b380)
#5 0x0000792b8c09caa4 start_thread (libc.so.6 + 0x9caa4)
#6 0x0000792b8c129c6c __clone3 (libc.so.6 + 0x129c6c)

Stack trace of thread 35470:
#0 0x0000792b8c098d71 __futex_abstimed_wait_common64 (libc.so.6 + 0x98d71)
#1 0x0000792b8c09b7ed __pthread_cond_wait_common (libc.so.6 + 0x9b7ed)
#2 0x0000792b75b9359d n/a (libgallium-25.0.7-0ubuntu0.24.04.2.so + 0x59359d)
#3 0x0000792b75b6054b n/a (libgallium-25.0.7-0ubuntu0.24.04.2.so + 0x56054b)
#4 0x0000792b75b934cc n/a (libgallium-25.0.7-0ubuntu0.24.04.2.so + 0x5934cc)
#5 0x0000792b8c09caa4 start_thread (libc.so.6 + 0x9caa4)
#6 0x0000792b8c129c6c __clone3 (libc.so.6 + 0x129c6c)

Stack trace of thread 35841:
#0 0x0000792b8c098d71 __futex_abstimed_wait_common64 (libc.so.6 + 0x98d71)
#1 0x0000792b8c09bc8e __pthread_cond_wait_common (libc.so.6 + 0x9bc8e)
#2 0x0000792b8cc78aec _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x478aec)
#3 0x0000792b8cc72cf6 n/a (libQt6Core.so.6 + 0x472cf6)
#4 0x0000792b8cc6b380 n/a (libQt6Core.so.6 + 0x46b380)
#5 0x0000792b8c09caa4 start_thread (libc.so.6 + 0x9caa4)
#6 0x0000792b8c129c6c __clone3 (libc.so.6 + 0x129c6c)

Stack trace of thread 35843:
#0 0x0000792b8c098d71 __futex_abstimed_wait_common64 (libc.so.6 + 0x98d71)
#1 0x0000792b8c09bc8e __pthread_cond_wait_common (libc.so.6 + 0x9bc8e)
#2 0x0000792b8cc78aec _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x478aec)
#3 0x0000792b8cc72cf6 n/a (libQt6Core.so.6 + 0x472cf6)
#4 0x0000792b8cc6b380 n/a (libQt6Core.so.6 + 0x46b380)
#5 0x0000792b8c09caa4 start_thread (libc.so.6 + 0x9caa4)
#6 0x0000792b8c129c6c __clone3 (libc.so.6 + 0x129c6c)

Stack trace of thread 35832:
#0 0x0000792b8c098d71 __futex_abstimed_wait_common64 (libc.so.6 + 0x98d71)
#1 0x0000792b8c09bc8e __pthread_cond_wait_common (libc.so.6 + 0x9bc8e)
#2 0x0000792b8cc78aec _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x478aec)
#3 0x0000792b8cc72cf6 n/a (libQt6Core.so.6 + 0x472cf6)
#4 0x0000792b8cc6b380 n/a (libQt6Core.so.6 + 0x46b380)
#5 0x0000792b8c09caa4 start_thread (libc.so.6 + 0x9caa4)
#6 0x0000792b8c129c6c __clone3 (libc.so.6 + 0x129c6c)
ELF object binary architecture: AMD x86-64

1 Like

Does it help to install plasma-activities and reboot?

Unfortunately it did not help :frowning:

please update again and should be fixed

1 Like

That’s a tough one. Still same problem after the latest set of updates.

Just managed to resolve this after spending several hours.

No need to go into all the details, but long story short, I created a new user, logged in, and it worked. After a few more attempts with the old user I managed to get some good stack traces and post a bug report in https://bugs.kde.org/show_bug.cgi?id=510925. After looking at the stack traces more carefully, I noticed these lines that point to some database error handling in the code:

#15 0x0000772f5b85d7d4 in qt_assert_x (where=where@entry=0x772f54ccf733 “Uils::exec”, what=, file=file@entry=0x772f54cd0dc0 “./src/service/plugins/sqlite/Utils.h”, line=line@entry=53) at /usr/src/qt6-base-6.9.2-0zneon+24.04+noble+release+build121/src/corelib/global/qassert.cpp:114
#16 0x0000772f54cb354e in Utils::exec(Common::Database&, Utils::ErrorHandling, QSqlQuery&) [clone .isra.0] (eh=, query=…, database=) at /usr/src/kactivitymanagerd-6.5.0-0zneon+24.04+noble+release+build42/src/service/plugins/sqlite/Utils.h:53

then I tried cd ~/.local/share/kactivitymanagerd and mv resources resources-backup. Reboot and everything works!

After this tenure, I also found a bug that has been raised 7 years back: https://bugs.kde.org/show_bug.cgi?id=389441 and I would absolutely agree with the title of this one: kactivitymanagerd does not handle DB corruption properly. That’s too big of an impact if absolutely nothing works when something goes wrong with the DB! I was so close to a re-installation with the way my system was failing (I basically reinstalled all the neon package with some dpkg/aptitude commands), but even if I did a full re-installation, I would still face the same problem as I store my home directory on a different partition so that I don’t lose my personal settings in case of a reinstallation.

1 Like

I can report another occurrence of this issue on a completely different system. A friend that is using KDE Neon updated a few minutes earlier and called me for “help”. His system would not start and was showing him many “crash handler windows”. Sounded suspiciously similar. I asked him to type the command mv ~/.local/share/kactivitymanagerd/resources ~/.local/share/kactivitymanagerd/resources-backup and reboot. After the reboot his system is working again. The exact same issue on two different systems right after upgrading KDE Neon makes it a “suspicious coincidence”; It seems like there is some issue with the latest packaging/upgrade process.

Good catch. The lesson of the day is, “always check a clean account before trashing an install”. :wink:

Old configs seem to be the source of many headaches.