I can confirm the existence of this bug, also with a java application (Cameo System Modeler) when using Wayland. When I start the application it starts with a loading screen, and when it finishes with loading and wants to dispose the loading screen (probably a JFrame, ad Diego mentioned) I get a crash and Ubuntu logs out. I can reproduce this issue consistently.
Switching to X solves the problem, no more crash, I can use Cameo. Linux zsolt-ThinkPad-T480 6.2.0-20-generic #20-Ubuntu SMP PREEMPT_DYNAMIC Thu Apr 6 07:48:48 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux Distributor ID: Ubuntu Description: Ubuntu 23.04 Release: 23.04 Codename: lunar 2023-05-10T19:05:44.827550+02:00 zsolt-ThinkPad-T480 gnome-shell[23330]: ** 2023-05-10T19:05:44.827869+02:00 zsolt-ThinkPad-T480 gnome-shell[23330]: libmutter:ERROR:../src/core/window.c:1533:meta_window_unmanage: assertion failed: (window->display->focus_window != window) 2023-05-10T19:05:44.827930+02:00 zsolt-ThinkPad-T480 gnome-shell[23330]: Bail out! libmutter:ERROR:../src/core/window.c:1533:meta_window_unmanage: assertion failed: (window->display->focus_window != window) 2023-05-10T19:05:44.827981+02:00 zsolt-ThinkPad-T480 gnome-shell[23330]: GNOME Shell crashed with signal 6 2023-05-10T19:05:44.828047+02:00 zsolt-ThinkPad-T480 gnome-shell[23330]: == Stack trace for context 0x55df27bb9660 == 2023-05-10T19:05:46.021067+02:00 zsolt-ThinkPad-T480 systemd[22932]: org.gnome.Shell@x11.service: Main process exited, code=dumped, status=6/ABRT -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to mutter in Ubuntu. https://bugs.launchpad.net/bugs/2016308 Title: gnome-shell crashed with signal 6: libmutter:ERROR:../src/core/window.c:1533:meta_window_unmanage: assertion failed: (window->display->focus_window != window) Status in Mutter: Fix Released Status in mutter package in Ubuntu: Fix Committed Bug description: Hello, This bug is triggered by Sweethome 3D but the underlying problem seems to be a libmutter issue. Setup: Ubuntu 23.04 Ryzen 6000 AMD 680 Gnome 44 Sweethome 3D 7.0.2 (from the repositories) Whenever I load a file in Sweethome 3D my desktop session is killed instantly. I am either thrown back to the desktop login or it stays black. This seems like a severe problem to me. Under no circumstances should an app like Sweethome 3D be able to crash mutter. I don't know how to give any logs. But I attach a sample file for Sweethome 3D. Actually it crashes with any file. Steps to reproduce: Start Sweethome 3D Draw some walls to make Draw a room Save to file Quit Sweethome 3D Start Sweethome 3D Load the file Crash To manage notifications about this bug go to: https://bugs.launchpad.net/mutter/+bug/2016308/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp