Bug 2143629 - KDE Plasma 5.26.3 + frameworks 5.100.0 on Wayland can't logout or shutdown
Summary: KDE Plasma 5.26.3 + frameworks 5.100.0 on Wayland can't logout or shutdown
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: plasma-workspace
Version: 37
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: KDE SIG
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-11-17 12:33 UTC by Roger Noble
Modified: 2022-12-05 19:49 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-12-05 19:49:51 UTC
Type: Bug


Attachments (Terms of Use)
journalctl Fedora 36 KDE (9.03 KB, text/plain)
2022-11-28 17:00 UTC, Geraldo Simião
no flags Details
journal log from the moment lock screen crashes (19.48 KB, text/plain)
2022-11-29 18:29 UTC, Geraldo Simião
no flags Details

Description Roger Noble 2022-11-17 12:33:11 UTC
Description of problem:

Since the upgrade to KDE Plasma 5.26.3 with frameworks 5.100.0 selecting logout from the GUI results in a kmserver-logout-greeter crash.

Version-Release number of selected component (if applicable):

Plasma 5.26.3, frameworks 5.100.0

How reproducible:

Always

Steps to Reproduce:
1. Log into Plasma wayland session
2. Try to logout or shutdown
3.

Actual results:

Nothing happens


Expected results:

Session should logout or shutdown


Additional info:

journalctl shows:

Nov 17 12:10:52 halley systemd[1832]: Started dbus-:1.2-org.kde.LogoutPrompt.
Nov 17 12:10:53 halley ksmserver-logout-greeter[8619]: KCrash: Application 'ksmserver-logout-greeter' crashing...
Nov 17 12:10:53 halley ksmserver-logout-greeter[8619]: The Wayland connection experienced a fatal error: Bad file descriptor
Nov 17 12:10:53 halley systemd[1832]: dbus-:1.2-org.kde.LogoutPrompt: Main process exited, code=exited, status=1/FAILURE
Nov 17 12:10:53 halley systemd[1832]: dbus-:1.2-org.kde.LogoutPrompt: Failed with result 'exit-code'.

Also the screen locker appears to be broken.

Comment 1 Roger Noble 2022-11-17 13:08:20 UTC
OK, looks like it was a result of a partial update happening because of stuff from rpmfusion preventing certgain packages from being updated (obs-studio for one). Obviously needs an update.

Unfortunately Plasma Discover doesn't indicate that something has been missed in an update.

Comment 2 Norman Davidson 2022-11-17 16:14:06 UTC
Same problem here. 

I did a dnf update and got a message to say that akonadi server was being skipped if that helps. I then tried to do a dnf history rollback without success.

journalctl shows exactly the same as above.

Comment 3 Roger Noble 2022-11-17 22:58:35 UTC
In my case it was obs-studio and and qt5-qtwebengine-freeworld which between them have dependencies on qt 5.15.6 and kf5-akonadi-server* 22.08.2-1 and and kf5 stuff 5.99.0-1 etc. The presence of obs-studio and qt5-qtwebengine-freeworld stopped later versions qt etc being installed and seemingly broke logout and so on. Removing the offending packages fixed it. I'll file a bug with rpmfusion tomorrow.

Comment 4 Geraldo Simião 2022-11-28 15:21:58 UTC
Same here, but I have the new obs-studio and qt5-qtwebengine-freeworld installed...

Bug started after this upgrade:

Pacotes alterados:
    Reinstalar  kf5-frameworkintegration-5.100.0-1.fc36.x86_64  @updates
    Reinstalled kf5-frameworkintegration-5.100.0-1.fc36.x86_64  @@System
    Reinstalar  plasma-integration-5.26.3-1.fc36.x86_64         @updates
    Reinstalled plasma-integration-5.26.3-1.fc36.x86_64         @@System
    Upgrade     python-qt5-rpm-macros-5.15.6-9.fc36.noarch      @updates
    Upgraded    python-qt5-rpm-macros-5.15.6-8.fc36.noarch      @@System
    Upgrade     python3-qt5-5.15.6-9.fc36.x86_64                @updates
    Upgraded    python3-qt5-5.15.6-8.fc36.x86_64                @@System
    Upgrade     python3-qt5-base-5.15.6-9.fc36.x86_64           @updates
    Upgraded    python3-qt5-base-5.15.6-8.fc36.x86_64           @@System
    Upgrade     qt5-qdbusviewer-5.15.7-1.fc36.x86_64            @updates
    Upgraded    qt5-qdbusviewer-5.15.6-1.fc36.x86_64            @@System
    Upgrade     qt5-qtbase-5.15.7-1.fc36.x86_64                 @updates
    Upgraded    qt5-qtbase-5.15.6-1.fc36.x86_64                 @@System
    Upgrade     qt5-qtbase-common-5.15.7-1.fc36.noarch          @updates
    Upgraded    qt5-qtbase-common-5.15.6-1.fc36.noarch          @@System
    Upgrade     qt5-qtbase-gui-5.15.7-1.fc36.x86_64             @updates
    Upgraded    qt5-qtbase-gui-5.15.6-1.fc36.x86_64             @@System
    Upgrade     qt5-qtconnectivity-5.15.7-1.fc36.x86_64         @updates
    Upgraded    qt5-qtconnectivity-5.15.6-1.fc36.x86_64         @@System
    Upgrade     qt5-qtdeclarative-5.15.7-1.fc36.x86_64          @updates
    Upgraded    qt5-qtdeclarative-5.15.6-1.fc36.x86_64          @@System
    Upgrade     qt5-qtgraphicaleffects-5.15.7-1.fc36.x86_64     @updates
    Upgraded    qt5-qtgraphicaleffects-5.15.6-1.fc36.x86_64     @@System
    Upgrade     qt5-qtimageformats-5.15.7-1.fc36.x86_64         @updates
    Upgraded    qt5-qtimageformats-5.15.6-1.fc36.x86_64         @@System
    Upgrade     qt5-qtlocation-5.15.7-1.fc36.x86_64             @updates
    Upgraded    qt5-qtlocation-5.15.6-1.fc36.x86_64             @@System
    Upgrade     qt5-qtmultimedia-5.15.7-1.fc36.x86_64           @updates
    Upgraded    qt5-qtmultimedia-5.15.6-1.fc36.x86_64           @@System
    Upgrade     qt5-qtnetworkauth-5.15.7-1.fc36.x86_64          @updates
    Upgraded    qt5-qtnetworkauth-5.15.6-1.fc36.x86_64          @@System
    Upgrade     qt5-qtquickcontrols-5.15.7-1.fc36.x86_64        @updates
    Upgraded    qt5-qtquickcontrols-5.15.6-1.fc36.x86_64        @@System
    Upgrade     qt5-qtquickcontrols2-5.15.7-1.fc36.x86_64       @updates
    Upgraded    qt5-qtquickcontrols2-5.15.6-1.fc36.x86_64       @@System
    Upgrade     qt5-qtsensors-5.15.7-1.fc36.x86_64              @updates
    Upgraded    qt5-qtsensors-5.15.6-1.fc36.x86_64              @@System
    Upgrade     qt5-qtserialport-5.15.7-1.fc36.x86_64           @updates
    Upgraded    qt5-qtserialport-5.15.6-1.fc36.x86_64           @@System
    Upgrade     qt5-qtspeech-5.15.7-1.fc36.x86_64               @updates
    Upgraded    qt5-qtspeech-5.15.6-1.fc36.x86_64               @@System
    Upgrade     qt5-qtspeech-speechd-5.15.7-1.fc36.x86_64       @updates
    Upgraded    qt5-qtspeech-speechd-5.15.6-1.fc36.x86_64       @@System
    Upgrade     qt5-qtsvg-5.15.7-1.fc36.x86_64                  @updates
    Upgraded    qt5-qtsvg-5.15.6-1.fc36.x86_64                  @@System
    Upgrade     qt5-qttools-5.15.7-1.fc36.x86_64                @updates
    Upgraded    qt5-qttools-5.15.6-1.fc36.x86_64                @@System
    Upgrade     qt5-qttools-common-5.15.7-1.fc36.noarch         @updates
    Upgraded    qt5-qttools-common-5.15.6-1.fc36.noarch         @@System
    Upgrade     qt5-qttools-libs-designer-5.15.7-1.fc36.x86_64  @updates
    Upgraded    qt5-qttools-libs-designer-5.15.6-1.fc36.x86_64  @@System
    Upgrade     qt5-qttools-libs-help-5.15.7-1.fc36.x86_64      @updates
    Upgraded    qt5-qttools-libs-help-5.15.6-1.fc36.x86_64      @@System
    Upgrade     qt5-qtvirtualkeyboard-5.15.7-1.fc36.x86_64      @updates
    Upgraded    qt5-qtvirtualkeyboard-5.15.6-1.fc36.x86_64      @@System
    Upgrade     qt5-qtwayland-5.15.7-1.fc36.x86_64              @updates
    Upgraded    qt5-qtwayland-5.15.6-1.fc36.x86_64              @@System
    Upgrade     qt5-qtwebchannel-5.15.7-1.fc36.x86_64           @updates
    Upgraded    qt5-qtwebchannel-5.15.6-1.fc36.x86_64           @@System
    Upgrade     qt5-qtwebengine-5.15.10-4.fc36.x86_64           @updates
    Upgraded    qt5-qtwebengine-5.15.10-2.fc36.x86_64           @@System
    Upgrade     qt5-qtwebkit-5.212.0-0.70alpha4.fc36.x86_64     @updates
    Upgraded    qt5-qtwebkit-5.212.0-0.68.alpha4.fc36.x86_64    @@System
    Upgrade     qt5-qtwebsockets-5.15.7-1.fc36.x86_64           @updates
    Upgraded    qt5-qtwebsockets-5.15.6-1.fc36.x86_64           @@System
    Upgrade     qt5-qtwebview-5.15.7-1.fc36.x86_64              @updates
    Upgraded    qt5-qtwebview-5.15.6-1.fc36.x86_64              @@System
    Upgrade     qt5-qtx11extras-5.15.7-1.fc36.x86_64            @updates
    Upgraded    qt5-qtx11extras-5.15.6-1.fc36.x86_64            @@System
    Upgrade     qt5-qtxmlpatterns-5.15.7-1.fc36.x86_64          @updates
    Upgraded    qt5-qtxmlpatterns-5.15.6-1.fc36.x86_64          @@System
    Upgrade     obs-studio-28.1.2-2.fc36.x86_64                 @@commandline
    Upgraded    obs-studio-28.1.2-1.fc36.x86_64                 @@System
    Upgrade     obs-studio-libs-28.1.2-2.fc36.x86_64            @@commandline
    Upgraded    obs-studio-libs-28.1.2-1.fc36.x86_64            @@System
    Upgrade     qt5-qtwebengine-freeworld-5.15.10-4.fc36.x86_64 @@commandline
    Upgraded    qt5-qtwebengine-freeworld-5.15.10-2.fc36.x86_64 @@System

Comment 5 Geraldo Simião 2022-11-28 17:00:14 UTC
Created attachment 1928050 [details]
journalctl Fedora 36 KDE

Here journalctl output when trying to logout (first with menu, then pressing power button and the alt+ctrl+del, follow by a failled session block attempt.

Comment 6 Geraldo Simião 2022-11-28 22:59:36 UTC
Removed OBS-studio and qt5-qtwebengine-freeworld but bug still happens
####################
####################
nov 28 19:47:06  systemd[1133]: Started dbus-:1.2-org.kde.LogoutPrompt.
nov 28 19:47:06  ksmserver-logout-greeter[3288]: KCrash: Application 'ksmserver-logout-greeter' crashing...
nov 28 19:47:06  ksmserver-logout-greeter[3288]: The Wayland connection experienced a fatal error: Descritor de arquivo inválido
nov 28 19:47:06  systemd[1133]: dbus-:1.2-org.kde.LogoutPrompt: Main process exited, code=exited, status=1/FAILURE
nov 28 19:47:06  systemd[1133]: dbus-:1.2-org.kde.LogoutPrompt: Failed with result 'exit-code'.
nov 28 19:47:16  plasmashell[1373]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
nov 28 19:47:17  systemd[1133]: Started dbus-:1.2-org.kde.LogoutPrompt.
nov 28 19:47:18  ksmserver-logout-greeter[3325]: KCrash: Application 'ksmserver-logout-greeter' crashing...
nov 28 19:47:18  ksmserver-logout-greeter[3325]: The Wayland connection experienced a fatal error: Descritor de arquivo inválido
nov 28 19:47:18  systemd[1133]: dbus-:1.2-org.kde.LogoutPrompt: Main process exited, code=exited, status=1/FAILURE
nov 28 19:47:18  systemd[1133]: dbus-:1.2-org.kde.LogoutPrompt: Failed with result 'exit-code'.
nov 28 19:47:28  systemd-logind[832]: Power key pressed short.
nov 28 19:47:28  systemd[1133]: Started dbus-:1.2-org.kde.LogoutPrompt.
nov 28 19:47:28  ksmserver-logout-greeter[3348]: KCrash: Application 'ksmserver-logout-greeter' crashing...
nov 28 19:47:28  ksmserver-logout-greeter[3348]: The Wayland connection experienced a fatal error: Descritor de arquivo inválido
nov 28 19:47:28  systemd[1133]: dbus-:1.2-org.kde.LogoutPrompt: Main process exited, code=exited, status=1/FAILURE
nov 28 19:47:28  systemd[1133]: dbus-:1.2-org.kde.LogoutPrompt: Failed with result 'exit-code'.
nov 28 19:47:53  plasmashell[1373]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
nov 28 19:47:58  systemd[1133]: Started dbus-:1.2-org.kde.LogoutPrompt.
nov 28 19:47:58  ksmserver-logout-greeter[3402]: KCrash: Application 'ksmserver-logout-greeter' crashing...
nov 28 19:47:58  ksmserver-logout-greeter[3402]: The Wayland connection experienced a fatal error: Descritor de arquivo inválido
nov 28 19:47:58  systemd[1133]: dbus-:1.2-org.kde.LogoutPrompt: Main process exited, code=exited, status=1/FAILURE
nov 28 19:47:58  systemd[1133]: dbus-:1.2-org.kde.LogoutPrompt: Failed with result 'exit-code'.
nov 28 19:48:00  plasmashell[1373]: kf.plasma.quick: Couldn't create KWindowShadow for ToolTipDialog(0x55a407dab710)
nov 28 19:48:00  plasmashell[1373]: kf.plasma.quick: Couldn't create KWindowShadow for ToolTipDialog(0x55a407dab710)
nov 28 19:48:00  plasmashell[1373]: kf.plasma.quick: Couldn't create KWindowShadow for ToolTipDialog(0x55a407dab710)

Comment 7 Geraldo Simião 2022-11-29 18:29:02 UTC
Created attachment 1928400 [details]
journal log from the moment lock screen crashes

F36 KDE, from the moment screen locker crashes

Comment 8 Geraldo Simião 2022-12-01 14:12:47 UTC
Great news, this upgrade at F36 fixed all the problems I was having: https://bodhi.fedoraproject.org/updates/FEDORA-2022-7845d68b47


Note You need to log in before you can comment on or make changes to this bug.