Summary: | Loading a cursor theme which inherits itself bricks user account | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Anil <cd+kde> |
Component: | Startup process | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | critical | CC: | kde, nate, nicolas.fella |
Priority: | VHI | ||
Version: | 5.25.4 | ||
Target Milestone: | 1.0 | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/kwin/commit/e70b6a19f49d128363e0c5cfd90775800499437d | Version Fixed In: | 5.25.5 |
Sentry Crash Report: |
Description
Anil
2022-08-15 16:46:21 UTC
Goodness gracious. This is clearly an issue in the theme itself and I hope you report it to the developer, but, yeah, installing a broken cursor theme shouldn't produce a pants-on-fire issue like being unable to login. A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/2841 https://invent.kde.org/plasma/kwin/-/merge_requests/2841 fixes the issue for KWin However there is the same bug in libwayland-cursor (and possibly its X11 counterpart too) which will affect a lot of apps. See https://gitlab.freedesktop.org/wayland/wayland/-/issues/317 Git commit 2d2f972bff73d522250bf0ebcd0708d344d37483 by Vlad Zahorodnii. Committed on 01/09/2022 at 07:12. Pushed by vladz into branch 'master'. Fix loading xcursor themes with invalid Inherits field Xcursor loading can get stuck in an infinite recursion if index.theme file indicates that the theme inherits itself. In order to prevent that, keep track of the loaded so far themes and avoid loading already loaded themes. M +27 -11 src/xcursortheme.cpp https://invent.kde.org/plasma/kwin/commit/2d2f972bff73d522250bf0ebcd0708d344d37483 Git commit e70b6a19f49d128363e0c5cfd90775800499437d by Vlad Zahorodnii. Committed on 01/09/2022 at 08:29. Pushed by vladz into branch 'Plasma/5.25'. Fix loading xcursor themes with invalid Inherits field Xcursor loading can get stuck in an infinite recursion if index.theme file indicates that the theme inherits itself. In order to prevent that, keep track of the loaded so far themes and avoid loading already loaded themes. (cherry picked from commit 2d2f972bff73d522250bf0ebcd0708d344d37483) M +27 -11 src/xcursortheme.cpp https://invent.kde.org/plasma/kwin/commit/e70b6a19f49d128363e0c5cfd90775800499437d |