SUMMARY Previously, I opened a text file on a samba server with an ip on the local network 192.168.0.2. When launching Kate, a info dialog window appeared saying that the file could not be found at the path smb://admin@192.168.0.2/. Then a few seconds later the KDE session died, preventing the documents from being saved. The error is repeated consistently. Reinstallation doesn't help. STEPS TO REPRODUCE 1. Use Kate to open the file on the smb server. 2. Leave the local network with this server. 3. Launch Kate. 4. Enjoy the fallen KDE. OBSERVED RESULT Restarting KDE session EXPECTED RESULT Continued work SOFTWARE/OS VERSIONS Operating System: Manjaro Linux KDE Plasma Version: 5.27.10 KDE Frameworks Version: 5.112.0 Qt Version: 5.15.11 Kernel Version: 6.6.7-4-MANJARO (64-bit) Graphics Platform: Wayland Processors: 16 × AMD Ryzen 7 6800H with Radeon Graphics Memory: 13.3 GiB of RAM Graphics Processor: AMD Radeon Graphics Manufacturer: TIMI Product Name: Redmi Book Pro 15 2022 ADDITIONAL INFORMATION I think the problem went away when I removed the following block of text from the ~/.local/share/kate/anonymous.katesession file: [Plugin:katefilebrowserplugin:MainWindow:0] Allow Expansion=false Decoration position=2 Show Inline Previews=true Show Preview=false Show hidden files=false Sort by=Name Sort directories first=true Sort hidden files last=false Sort reversed=false View Style=DetailTree auto sync folder=true filter history= highlight current file=true location=smb://admin@192.168.0.2/soft/ Part of the journalctl -xe output when the error occurred: Dec 23 23:08:19 demyan-pc kwin_wayland[34902]: kf.service.services: The desktop entry file '/usr/share/applications/org.freedesktop.Xwayland.desktop' has Type= 'Application' but has no Exec field. Dec 23 23:08:19 demyan-pc kate[35532]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate() Dec 23 23:08:19 demyan-pc dbus-daemon[995]: [session uid=1000 pid=995] Activating service name='org.kde.kpasswdserver' requested by ':1.292' (uid=1000 pid=35548 comm='/usr/lib/kf5/smbnotifier smb://admin 192.168.0.2/s') Dec 23 23:08:19 demyan-pc kwin_wayland[34902]: qt.svg: link #g917 is undefined! Dec 23 23:08:19 demyan-pc kwin_wayland[34902]: qt.svg: link #g949 is undefined! Dec 23 23:08:19 demyan-pc kwin_wayland[34902]: qt.svg: link #g969 is undefined! Dec 23 23:08:19 demyan-pc kwin_wayland[34902]: kf.service.services: The desktop entry file '/usr/share/applications/org.freedesktop.Xwayland.desktop' has Type= 'Application' but has no Exec field. Dec 23 23:08:19 demyan-pc dbus-daemon[995]: [session uid=1000 pid=995] Successfully activated service 'org.kde.kpasswdserver' Dec 23 23:08:19 demyan-pc kiod5[35555]: kf.kio.kiod: loadModule 'kpasswdserver' Dec 23 23:08:19 demyan-pc dbus-daemon[995]: [session uid=1000 pid=995] Activating service name='org.kde.kwalletd5' requested by ':1.293' (uid=1000 pid=35555 comm='/usr/lib/kf5/kiod5') Dec 23 23:08:20 demyan-pc kwalletd5[35573]: kf.wallet.kwalletd: Lacking a socket, pipe: 0 env: 0 Dec 23 23:08:20 demyan-pc kwin_wayland[34902]: kf.service.services: The desktop entry file '/usr/share/applications/org.freedesktop.Xwayland.desktop' has Type= 'Application' but has no Exec field. Dec 23 23:08:20 demyan-pc dbus-daemon[995]: [session uid=1000 pid=995] Successfully activated service 'org.kde.kwalletd5' Dec 23 23:08:20 demyan-pc kwalletd5[35573]: Application ' 'kiod5' ' using kwallet without parent window! Dec 23 23:08:24 demyan-pc kwin_wayland[34902]: kf.service.services: The desktop entry file '/usr/share/applications/org.freedesktop.Xwayland.desktop' has Type= 'Application' but has no Exec field. Dec 23 23:08:24 demyan-pc kate[35587]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate() Dec 23 23:08:25 demyan-pc smbnotifier[35548]: kf.kio.workers.smb: -- Failed to smbc_opendir: No route to node Dec 23 23:08:25 demyan-pc kate[35587]: kf.kio.core: 'Error connecting to host 192.168.0.2: Host unreachable.' Dec 23 23:08:25 demyan-pc kate[35532]: kf.kio.core: 'Error connecting to host 192.168.0.2: Host unreachable.' Dec 23 23:08:39 demyan-pc PackageKit[33278]: daemon quit Dec 23 23:08:39 demyan-pc systemd[1]: packagekit.service: Deactivated successfully. ░░ Subject: Unit succeeded ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ The unit packagekit.service has successfully entered the 'dead' state. Dec 23 23:08:39 demyan-pc plasmashell[34985]: kf.service.services: KApplicationTrader: mimeType 'x-scheme-handler/file' not found
If the session dies, that rather looks like an issues with plasma.
Can you be specific about what you mean by "the KDE session died"? Did only Plasma crash? Or did KWin crash as well and kill all of your apps, but you remained logged in? Or did everything die and you got kicked back to the login screen? Or something else?
(In reply to Nate Graham from comment #2) > Can you be specific about what you mean by "the KDE session died"? Did only > Plasma crash? Or did KWin crash as well and kill all of your apps, but you > remained logged in? Or did everything die and you got kicked back to the > login screen? Or something else? All applications closed, the plasma panels disappeared and reloaded, the wallpaper on the desktop changed (I have random images configured)
Interesting, sounds like a kwin_wayland crash. Can you get a backtrace of the kwin_wayland crash using the instructions at https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl
(In reply to Nate Graham from comment #4) > Interesting, sounds like a kwin_wayland crash. Can you get a backtrace of > the kwin_wayland crash using the instructions at > https://community.kde.org/Guidelines_and_HOWTOs/Debugging/ > How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl The bug can no longer be reproduced. Even returning those lines whose deletion made it possible to open Kate after working with smb resources. Perhaps it was fixed in one of the updates since then. Sounds like good news.