You are not logged in.

#26 2025-05-06 19:15:59

HelmchenLord
Member
Registered: 2025-04-24
Posts: 18

Re: [SOLVED] plasma-plasmashell.service hangs on shutdown/restart

I have switched off baloo with suspend and disable in the terminal, additionally I have deactivated the file search in the settings and then restarted.
I just tried again and “balooctl6 status” says that it is disabled, but same problem.

Offline

#27 2025-05-06 20:03:15

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,288

Re: [SOLVED] plasma-plasmashell.service hangs on shutdown/restart

'key… what are the remaining (kip) processes? Notably the https ones?

Offline

#28 2025-05-07 22:12:49

HelmchenLord
Member
Registered: 2025-04-24
Posts: 18

Re: [SOLVED] plasma-plasmashell.service hangs on shutdown/restart

Do you mean KIO?

Not sure how I can find that out, the PIDs are no longer matching after the restart.
Wouldn't know how to find out after the fact, maybe I just don't have the expertise.

Offline

#29 2025-05-08 05:37:19

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,288

Re: [SOLVED] plasma-plasmashell.service hangs on shutdown/restart

If you check the process list, there're probably such kio (yup, sorry, typo) processes right now.
Their list of opened files might provide a hint but from the context

guybrush       4854  0.0  0.0 226468 23820 ?        Ssl  11:34   0:00  \_ /usr/bin/xembedsniproxy
guybrush       4905  0.0  0.0   8044  4520 ?        S    11:34   0:00  \_ /usr/bin/xsettingsd
guybrush       4944  0.0  0.0 244612 24972 ?        Sl   11:34   0:00  \_ /usr/lib/kf6/kioworker /usr/lib/qt6/plugins/kf6/kio/desktop.so desktop  local:/run/user/1000/plasmashellCoibZn.1.kioworker.socket
guybrush       4946  0.0  0.1 405228 34392 ?        Sl   11:34   0:00  \_ /usr/lib/kf6/kioworker /usr/lib/qt6/plugins/kf6/kio/kio_http.so https  local:/run/user/1000/plasmashellhCdhxJ.2.kioworker.socket
guybrush       4951  0.1  0.3 676300 125452 ?       Ssl  11:34   0:00  \_ /usr/bin/kdeconnectd
guybrush       4965  0.0  0.1 405228 34900 ?        Sl   11:34   0:00  \_ /usr/lib/kf6/kioworker /usr/lib/qt6/plugins/kf6/kio/kio_http.so https  local:/run/user/1000/plasmashellHVkoLA.3.kioworker.socket
guybrush       4968  0.0  0.0 268534236 24244 ?     S    11:34   0:00  \_ /usr/lib/kf6/kioworker /usr/lib/qt6/plugins/kf6/kio/tags.so tags  local:/run/user/1000/plasmashellaKGDgv.4.kioworker.socket

I suspect kdeconnectd and xsettingsd - maybe the systray (but you'll have a hard time shutting down that?)
https://archlinux.org/packages/extra/x86_64/xsettingsd/
https://archlinux.org/packages/extra/x86_64/kdeconnect/

Offline

#30 2025-05-08 15:25:22

HelmchenLord
Member
Registered: 2025-04-24
Posts: 18

Re: [SOLVED] plasma-plasmashell.service hangs on shutdown/restart

Ok, I tried to collect information for the task you mentioned and all kio tasks:

kdeconnectd
lsof: https://paste.c-net.org/GraniteEscorted
proc: https://paste.c-net.org/RobertaEames

xembedsniproxy
lsof: https://paste.c-net.org/KittenStored
proc: https://paste.c-net.org/LuckiestDiaries

xsettingsd
lsof: https://paste.c-net.org/PreparesPyjamas
proc: https://paste.c-net.org/StormedHandmade

plasmashellCuutZu | R-rdma_cm
lsof: https://paste.c-net.org/ArrivePockets
proc: https://paste.c-net.org/VitaminsOrdering

plasmashellOPUtnK | R-smb3decryptd
lsof: https://paste.c-net.org/BikesOutdone
proc: https://paste.c-net.org/ChunksRatted

plasmashellsqBzIB | R-cfid_put_wq
lsof: https://paste.c-net.org/HoweverRebirth
proc: https://paste.c-net.org/StewiePioneer

plasmashellxdXFsA | R-cifsoplockd
lsof: https://paste.c-net.org/OffhandHicks
proc: https://paste.c-net.org/TamperImplied

I could not get any information for the following processes, although they are reported by ps fhaux:

4896  0.0  0.0 244600 25540 ?        Sl   16:39   0:00  \_ /usr/lib/kf6/kioworker /usr/lib/qt6/plugins/kf6/kio/desktop.so desktop  local:/run/user/1000/plasmashellptYCLc.1.kioworker.socket
4898  0.0  0.1 405492 34936 ?        Sl   16:39   0:00  \_ /usr/lib/kf6/kioworker /usr/lib/qt6/plugins/kf6/kio/kio_http.so https  local:/run/user/1000/plasmashellaJONuR.2.kioworker.socket
4901  0.0  0.1 405492 35844 ?        Sl   16:39   0:00  \_ /usr/lib/kf6/kioworker /usr/lib/qt6/plugins/kf6/kio/kio_http.so https  local:/run/user/1000/plasmashellOBVpbp.3.kioworker.socket
4991  0.0  0.0 268534236 25588 ?     S    16:39   0:00  \_ /usr/lib/kf6/kioworker /usr/lib/qt6/plugins/kf6/kio/tags.so tags  local:/run/user/1000/plasmashellRqAypD.4.kioworker.socket
7152  0.0  0.0 268534236 30776 ?     S    16:44   0:00  \_ /usr/lib/kf6/kioworker /usr/lib/qt6/plugins/kf6/kio/tags.so tags  local:/run/user/1000/plasmashellFtXMbe.10.kioworker.socket

I looked through the information but unfortunately I couldn't do much with it.

Offline

#31 2025-05-09 21:26:45

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,288

Re: [SOLVED] plasma-plasmashell.service hangs on shutdown/restart

plasmashell* | R-* is all CIFS/SMB stuff - the kioworkers might be very short-lived?
The idea would be to disable/remove kconnectd and xsettings (next to baloo and the cifs mount) and see whether that has any impact.
You need to figure which kioworker is stalling the process termination and if the shutting down system can no longer be analyzed live, stripping the pot. causes to verify some kioworker to be the culprit and  then  identify the offender by sequentially re-introducing them is the only option left sad

Offline

#32 2025-05-13 14:36:41

entite309
Member
Registered: 2025-05-13
Posts: 5

Re: [SOLVED] plasma-plasmashell.service hangs on shutdown/restart

I have similar problem but xorg works totally fine, here is journalctl for wayland: https://paste.c-net.org/EquityWarfield and xorg: https://paste.c-net.org/LowersLawsuit (btw i can be really dumb sometimes (and i'm very novice))

Offline

#33 2025-05-13 19:48:38

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,288

Re: [SOLVED] plasma-plasmashell.service hangs on shutdown/restart

Because it is like top posting.
Why not?
Please don't "-r".

мая 13 17:12:19 B560M-Aorus systemd[1]: Finished Tell Plymouth To Jump To initramfs.
мая 13 17:12:57 B560M-Aorus systemd[785]: plasma-plasmashell.service: State 'stop-sigterm' timed out. Killing.
мая 13 17:12:57 B560M-Aorus systemd[785]: plasma-plasmashell.service: Killing process 1122 (plasmashell) with signal SIGKILL.
мая 13 17:12:57 B560M-Aorus systemd[785]: plasma-plasmashell.service: Killing process 1203 (n/a) with signal SIGKILL.
мая 13 17:12:57 B560M-Aorus systemd[785]: plasma-plasmashell.service: Killing process 1442 (threaded-ml) with signal SIGKILL.
мая 13 17:12:57 B560M-Aorus systemd[785]: plasma-plasmashell.service: Main process exited, code=killed, status=9/KILL
мая 13 17:12:57 B560M-Aorus systemd[785]: plasma-plasmashell.service: Failed with result 'timeout'.

no kio-worder here, according to https://bugs.kde.org/show_bug.cgi?id=460594 and https://bugs.kde.org/show_bug.cgi?id=487344 threaded-ml seems libpulse … so … the shutdown sound???

Offline

#34 2025-05-14 09:15:11

entite309
Member
Registered: 2025-05-13
Posts: 5

Re: [SOLVED] plasma-plasmashell.service hangs on shutdown/restart

I fixed it by deleting all widgets not from folder(not /usr/share/plasmoids/ ) but from plasma gui(https://paste.c-net.org/HandlePosters) and then reinstalling plasma by pacman, here's journalctl now: https://paste.c-net.org/DiagnoseSports (sorry for -r it's just more human-readable in my opinion) btw for some reason grub quiet loglevel=3 doesn't work maybe it's related UPDATE: it's not working, it returned after i installed widgets back(?) upd2: no, not caused by widgets(not 100%)

Last edited by entite309 (2025-05-14 09:58:00)

Offline

#35 2025-05-14 15:16:00

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,288

Re: [SOLVED] plasma-plasmashell.service hangs on shutdown/restart

sorry for -r it's just more human-readable in my opinion

мая 13 17:12:19

Makes sense since the russian grammar is completely backwards tongue

https://paste.c-net.org/DiagnoseSports has a kwin_wayland hiccup but no plasmashell termination failure, does it currently end w/ a running threaded-ml - which seems libpulse … so … the shutdown sound???
Otherwise, what is that control-station thing? remote control? Network related?

Offline

#36 2025-05-14 16:52:50

entite309
Member
Registered: 2025-05-13
Posts: 5

Re: [SOLVED] plasma-plasmashell.service hangs on shutdown/restart

control station is just a widget(https://github.com/EliverLara/kde-control-station), deleting it does nothing. there is no shutdown sound (btw it should be 13 мая not мая 13 as it sounds weird)

Offline

#37 2025-05-14 19:21:05

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,288

Re: [SOLVED] plasma-plasmashell.service hangs on shutdown/restart

'key, brute force (my favorite force)

https://wiki.archlinux.org/title/Systemd#Drop-in_files

systemctl --user edit plasma-plasmashell --drop-in=crashme
[Service]
FinalKillSignal=
FinalKillSignal=SIGABRT

https://wiki.archlinux.org/title/Systemd#Examples
Then we'll hopefully get a https://wiki.archlinux.org/title/Core_d … _core_dump out of this

Last edited by seth (2025-05-14 21:26:59)

Offline

#38 2025-05-14 19:55:45

entite309
Member
Registered: 2025-05-13
Posts: 5

Re: [SOLVED] plasma-plasmashell.service hangs on shutdown/restart

i don't really understand what should i do after systemctl command...

Offline

#39 2025-05-14 20:11:21

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,288

Re: [SOLVED] plasma-plasmashell.service hangs on shutdown/restart

Sorry, there was an extra code pair in my post and it's "plasma-plasmashell", not "plasmashell"
The plan is to augment the plasmashell.service, override the FinalKillSignal so that the process doesn't get SIGKILL'd but SIGABORT'ed which will ideally induce a coredump (if hopefully drkonqi doesn't get in the way)
We can then inspect the coredump to figure wtf plasma is doing there when it refuses to die.

Offline

#40 2025-05-14 20:24:26

entite309
Member
Registered: 2025-05-13
Posts: 5

Re: [SOLVED] plasma-plasmashell.service hangs on shutdown/restart

so what should i do exactly?

Offline

#41 2025-05-14 21:27:54

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,288

Re: [SOLVED] plasma-plasmashell.service hangs on shutdown/restart

Edit the service with a drop-in (second code box), restart plasma, shutdown, hope for a coredump, see link in the wiki (which was interestingly subject to the third typo in that post, I' guess it's time for the alcoven…)

Offline

#42 2025-07-08 09:06:33

HelmchenLord
Member
Registered: 2025-04-24
Posts: 18

Re: [SOLVED] plasma-plasmashell.service hangs on shutdown/restart

Problem seems to be solved by an update of KDE Plasma and/or Nvidia, not sure what exactly it fixed.

Offline

Board footer

Powered by FluxBB