Bug 470772 - Daemon crash after running pacman -Syu
Summary: Daemon crash after running pacman -Syu
Status: REPORTED
Alias: None
Product: frameworks-kded
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.109.0
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-08 09:12 UTC by Miroslav Jarý
Modified: 2023-08-27 13:12 UTC (History)
2 users (show)

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


Attachments
Journal log around the time of the crash. (8.55 KB, text/x-log)
2023-08-27 13:12 UTC, Miroslav Jarý
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Miroslav Jarý 2023-06-08 09:12:30 UTC
SUMMARY
When I run pacman -Syu in my Konsole, it sometimes crashes the app (as well as kded5, and I do believe it is connected).
I unfortunatelly cannot provide a list of packages, which were updated (as the terminal crashed). What I can say is that the issue happens in the "Running post-transaction hooks..." phase, and it crashes the whole pacman process (as the db lock is present after the crash).
This does not happen when I use other terminal emulators.

I will try to provide the list of packages as soon as I will reproduce the issue again.

STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9
Kernel Version: 6.3.4-zen2-1-zen (64-bit)
Graphics Platform: X11
Processors: 8 × 11th Gen Intel® Core™ i5-1135G7 @ 2.40GHz
Memory: 11,5 GiB of RAM
Graphics Processor: Mesa Intel® Xe Graphics
Manufacturer: Acer
Product Name: Aspire A515-56
System Version: V1.26

ADDITIONAL INFORMATION
Comment 1 Miroslav Jarý 2023-06-22 14:38:20 UTC
Just happened again. This is the list of upgraded packages, and their corresponding versions.

aalib-1.4rc5-17
bind-9.18.16-1
bluedevil-1:5.27.6-1
breeze-5.27.6-1
breeze-gtk-5.27.6-1
btrfs-progs-6.3.2-1
discover-5.27.6-1
docker-compose-2.19.0-1
drkonqi-5.27.6-1
exiv2-0.28.0-2
firefox-114.0.2-1
fluidsynth-2.3.3-1
ghostscript-10.01.2-1
glib-networking-1:2.76.0-2
grub-2:2.06.r566.g857af0e17-1
gst-plugins-bad-libs-1.22.4-1
gst-plugins-base-1.22.4-1
gst-plugins-base-libs-1.22.4-1
gst-plugins-good-1.22.4-1
gst-plugins-ugly-1.22.4-1
gstreamer-1.22.4-1
iana-etc-20230524-1
kactivitymanagerd-5.27.6-1
kde-cli-tools-5.27.6-1
kde-gtk-config-5.27.6-1
kdecoration-5.27.6-1
kdeplasma-addons-5.27.6-1
kgamma5-5.27.6-1
khotkeys-5.27.6-1
kinfocenter-5.27.6-1
kmenuedit-5.27.6-1
kpipewire-5.27.6-1
kscreen-5.27.6-1
kscreenlocker-5.27.6-1
ksshaskpass-5.27.6-1
ksystemstats-5.27.6-1
kwallet-pam-5.27.6-1
kwayland-integration-5.27.6-1
kwin-5.27.6-1
kwrited-5.27.6-1
layer-shell-qt-5.27.6-1
lib32-duktape-2.7.0-6
lib32-glib-networking-2.76.0-2
lib32-gst-plugins-base-1.22.4-1
lib32-gst-plugins-base-libs-1.22.4-1
lib32-gst-plugins-good-1.22.4-1
lib32-gstreamer-1.22.4-1
lib32-libcups-2.4.5-1
lib32-libproxy-0.5.2-1
libkscreen-5.27.6-1
libksysguard-5.27.6-1
libproxy-0.5.2-1
libsynctex-2023.66984-10
linux-zen-6.3.9.zen1-1
linux-zen-headers-6.3.9.zen1-1
milou-5.27.6-1
mupdf-1.22.2-1
nodejs-nopt-7.2.0-1
oxygen-5.27.6-1
oxygen-sounds-5.27.6-1
perl-net-http-6.23-1
plasma-browser-integration-5.27.6-1
plasma-desktop-5.27.6-1
plasma-disks-5.27.6-1
plasma-firewall-5.27.6-1
plasma-integration-5.27.6-1
plasma-nm-5.27.6-1
plasma-pa-5.27.6-1
plasma-systemmonitor-5.27.6-1
plasma-thunderbolt-5.27.6-1
plasma-vault-5.27.6-1
plasma-wayland-session-5.27.6-1
plasma-welcome-5.27.6-1
plasma-workspace-5.27.6-1
plasma-workspace-wallpapers-5.27.6-1
polkit-kde-agent-5.27.6-1
powerdevil-5.27.6-1
python-asgiref-3.7.2-1
qbittorrent-4.5.4-1
qpdf-11.4.0-2
sddm-kcm-5.27.6-1
svt-av1-1.6.0-1
systemd-253.5-2
systemd-libs-253.5-2
systemd-sysvcompat-253.5-2
systemsettings-5.27.6-1
texlive-basic-2023.66594-14
texlive-bibtexextra-2023.66594-14
texlive-bin-2023.66984-10
texlive-fontsrecommended-2023.66594-14
texlive-formatsextra-2023.66594-14
texlive-games-2023.66594-14
texlive-humanities-2023.66594-14
texlive-langgreek-2023.66594-14
texlive-latex-2023.66594-14
texlive-latexextra-2023.66594-14
texlive-latexrecommended-2023.66594-14
texlive-mathscience-2023.66594-14
texlive-music-2023.66594-14
texlive-pictures-2023.66594-14
texlive-plaingeneric-2023.66594-14
texlive-pstricks-2023.66594-14
texlive-publishers-2023.66594-14
util-linux-2.39-10
Comment 2 thenujan 2023-08-05 08:07:37 UTC
Any chance you can get backtrace of crash? 
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/Debugging_with_GDB
Comment 3 Miroslav Jarý 2023-08-27 12:56:53 UTC
Retrieven from journalctl. Issue persist on new laptop, and could be quite dangerous.

systemd-coredump[8497]: [🡕] Process 1829 (kded5) of user 1000 dumped core.
                                                   
                                                   Stack trace of thread 1829:
                                                   #0  0x00007fd84e4939d8 pthread_sigmask (libc.so.6 + 0x939d8)
                                                   #1  0x00007fd84e43e90d sigprocmask (libc.so.6 + 0x3e90d)
                                                   #2  0x00007fd85018227b _ZN6KCrash15setCrashHandlerEPFviE (libKF5Crash.so.5 + 0x527b)
                                                   #3  0x00007fd850184886 _ZN6KCrash19defaultCrashHandlerEi (libKF5Crash.so.5 + 0x7886)
                                                   #4  0x00007fd84e43e710 n/a (libc.so.6 + 0x3e710)
                                                   #5  0x00007fd84e6f41ed XPending (libX11.so.6 + 0x371ed)
                                                   #6  0x00007fd7f07dfd91 n/a (kded_touchpad.so + 0x19d91)
                                                   #7  0x00007fd84eed17f3 n/a (/usr/lib/libQt5Core.so.5.15.10 (deleted) + 0x2d17f3)
                                                   #8  0x00007fd84eed2ea9 n/a (/usr/lib/libQt5Core.so.5.15.10 (deleted) + 0x2d2ea9)
                                                   ELF object binary architecture: AMD x86-64
Comment 4 Miroslav Jarý 2023-08-27 13:11:55 UTC
I've changed the product as this seems better suited. Also, I would consider this a high-priority issue (as this broke my Arch install completly - the crash happened between deletion and creation of new linux base images (via mkinitcpio). Also, I'm including a whole log from journal around the time the daemon crashed.
Comment 5 Miroslav Jarý 2023-08-27 13:12:40 UTC
Created attachment 161217 [details]
Journal log around the time of the crash.