| Summary: | Kwin never notifies the systemd watchdog and gets killed | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | Jonas Rakebrandt <xarblu> |
| Component: | general | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | fanzhuyifan, kde, olib141 |
| Priority: | NOR | ||
| Version First Reported In: | git-stable-Plasma/6.1 | ||
| Target Milestone: | --- | ||
| Platform: | Gentoo Packages | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
CMake Log
Systemd journal log Oliver's log during Arch update from 6.0.90 to 6.1.0 |
||
|
Description
Jonas Rakebrandt
2024-05-29 16:20:21 UTC
Tested with Kwin commit: 0e9b0fd4046908d609e243d57af896e2ce590359 >Operating System: Gentoo 2.15
This situation could occur if kwin is compiled without libsystemd and then run with systemd.
Could you double check the cmake output of the kwin build please.
Created attachment 169994 [details]
CMake Log
Here's the CMake log, it can definitely find libsystemd and libsystemd is also linked to the final kwin_wayland binary (in ldd output)
Created attachment 170063 [details]
Systemd journal log
This could be a relevant part of the systemd journal - especially the "Cannot find unit for notify message of PID 9192, ignoring." (9192 being kwin_wayland_wrapper) part.
Looks like Kwin is sending the notifies properly but systemd can't associate the process with plasma-kwin_wayland.service (?)
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! It looks like this might be cause of session death whilst updating in Arch Linux. I've seen this when updating from 6.0 to 6.1 beta, and from 6.1 beta to 6.1 (release). Potentially relevant lines from log: Jun 18 19:55:02 Oliver-Laptop systemd[828]: plasma-kwin_wayland.service: Got notification message from PID 1980, but reception is disabled Jun 18 19:55:02 Oliver-Laptop systemd[828]: plasma-kwin_wayland.service: Watchdog timeout (limit 15s)! Jun 18 19:55:02 Oliver-Laptop systemd[828]: plasma-kwin_wayland.service: Killing process 1973 (kwin_wayland_wr) with signal SIGABRT. Jun 18 19:55:02 Oliver-Laptop systemd[828]: plasma-kwin_wayland.service: Killing process 1980 (kwin_wayland) with signal SIGABRT. Jun 18 19:55:02 Oliver-Laptop systemd[828]: plasma-kwin_wayland.service: Killing process 2039 (Xwayland) with signal SIGABRT. Jun 18 19:55:02 Oliver-Laptop systemd[828]: plasma-kwin_wayland.service: Killing process 14081 (kscreenlocker_g) with signal SIGABRT. Created attachment 170607 [details]
Oliver's log during Arch update from 6.0.90 to 6.1.0
We disabled the watchdog in 6.1 release. Is kwin still getting killed in 6.1.0? (In reply to Vlad Zahorodnii from comment #8) > We disabled the watchdog in 6.1 release. Is kwin still getting killed in > 6.1.0? No, with watchdog disabled in 6.1.0 kwin doesn't get killed the watchdog got disabled in master and 6.2 |