Bug 460311

Summary: Plasma periodically crashes with "The Wayland connection experienced a fatal error: Invalid argument"
Product: [Plasma] plasmashell Reporter: Pawel <bednarczyk.pawel>
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nate
Priority: NOR Keywords: regression, wayland
Version: git-stable-Plasma/5.26   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=447717
Latest Commit: Version Fixed In:

Description Pawel 2022-10-12 14:15:45 UTC
Since the release of plasma 5.26, I have been experiencing these silent crashes where the screen goes back for a few seconds and then plasma desktop is restarted. There is no core dump available, only the following in the journal:

10/12/22 3:38 PM	plasmashell	The Wayland connection experienced a fatal error: Invalid argument
10/12/22 3:38 PM	systemd	plasma-plasmashell.service: Failed with result 'exit-code'.

This happens rather frequently - I am happy to help debug if someone can explain to me how :)

Thanks,
Comment 1 Nate Graham 2022-10-12 18:39:03 UTC
I have seen these two. No idea how to debug, though.
Comment 2 Pawel 2022-10-12 19:07:02 UTC
I have a feeling this happens when the mouse cursor crosses from a maximized app or the desktop to the panel. In  my case I have a single panel at the bottom of the screen and work with maximized apps such as Thunderbird or Firefox.
Comment 3 Vlad Zahorodnii 2022-10-13 06:03:47 UTC
When this happens, can you check kwin's logs too?
Comment 4 Pawel 2022-10-13 07:46:30 UTC
sure, will do, but... where can I find kwin's logs?
Comment 5 Pawel 2022-10-13 08:15:59 UTC
(In reply to Pawel from comment #4)
> sure, will do, but... where can I find kwin's logs?

figured it out. I exported QT_LOGGING_RULES="kwin_*.debug=true" and will check ~/.local/share/sddm/wayland-session.log for logs
Comment 6 Pawel 2022-10-13 13:19:51 UTC
I can reliably repro now. This seems to be the same issue as 447717. However, there is nothing in ~/.local/share/sddm/wayland-session.log
Comment 7 Nate Graham 2022-10-13 13:23:30 UTC

*** This bug has been marked as a duplicate of bug 447717 ***