Describe the bug
PaperWM randomly crashes GNOME shell. Below is the output of running this journalctl -b -1 --since "08:03:00" --until "08:04:16" | grep -i "gnome-shell\|mutter\|wayland\|segfault\|signal\|core dump" after my most recent crash.
Also notice that it reports 18 GB memory usage from GNOME shell, could that be a memory leak in PaperWM?: "Consumed 1h 28min 21.374s CPU time, 18.5G memory peak, 12.0G memory swap peak".
Click to see log output
Mar 24 08:03:20 framework13-df gnome-shell[3738]: #PaperWM enabled
Mar 24 08:03:21 framework13-df gnome-shell[3738]: clutter_actor_allocate: assertion '!isnan (real_allocation.x1) && !isnan (real_allocation.x2) && !isnan (real_allocation.y1) && !isnan (real_allocation.y2)' failed
Mar 24 08:03:21 framework13-df gnome-shell[3738]: clutter_actor_allocate: assertion '!isnan (real_allocation.x1) && !isnan (real_allocation.x2) && !isnan (real_allocation.y1) && !isnan (real_allocation.y2)' failed
Mar 24 08:03:21 framework13-df gnome-shell[3738]: Can't update stage views actor unnamed [ClutterActor] is on because it needs an allocation.
Mar 24 08:03:21 framework13-df gnome-shell[3738]: Can't update stage views actor panel [Gjs_paperwm_paperwm_github_com_topbar_FocusIcon] is on because it needs an allocation.
Mar 24 08:03:21 framework13-df gnome-shell[3738]: Can't update stage views actor unnamed [ClutterActor] is on because it needs an allocation.
Mar 24 08:03:21 framework13-df gnome-shell[3738]: Can't update stage views actor unnamed [StLabel] is on because it needs an allocation.
Mar 24 08:03:21 framework13-df gnome-shell[3738]: Can't update stage views actor unnamed [ClutterText] is on because it needs an allocation.
Mar 24 08:03:21 framework13-df gnome-shell[3738]: Can't update stage views actor stack-overlay [ClutterActor] is on because it needs an allocation.
Mar 24 08:03:21 framework13-df gnome-shell[3738]: clutter_actor_allocate: assertion '!isnan (real_allocation.x1) && !isnan (real_allocation.x2) && !isnan (real_allocation.y1) && !isnan (real_allocation.y2)' failed
Mar 24 08:03:21 framework13-df gnome-shell[3738]: cogl_framebuffer_set_viewport: assertion 'width > 0 && height > 0' failed
Mar 24 08:03:21 framework13-df gnome-shell[3738]: clutter_actor_allocate: assertion '!isnan (real_allocation.x1) && !isnan (real_allocation.x2) && !isnan (real_allocation.y1) && !isnan (real_allocation.y2)' failed
Mar 24 08:03:21 framework13-df gnome-shell[3738]: clutter_actor_allocate: assertion '!isnan (real_allocation.x1) && !isnan (real_allocation.x2) && !isnan (real_allocation.y1) && !isnan (real_allocation.y2)' failed
Mar 24 08:03:21 framework13-df gnome-shell[3738]: meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed
Mar 24 08:03:21 framework13-df gnome-shell[3738]: clutter_actor_allocate: assertion '!isnan (real_allocation.x1) && !isnan (real_allocation.x2) && !isnan (real_allocation.y1) && !isnan (real_allocation.y2)' failed
Mar 24 08:03:21 framework13-df gnome-shell[3738]: meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed
Mar 24 08:03:21 framework13-df gnome-shell[3738]: meta_window_is_focusable: assertion '!window->unmanaging' failed
Mar 24 08:03:21 framework13-df gnome-shell[3738]: meta_window_is_focusable: assertion '!window->unmanaging' failed
Mar 24 08:03:21 framework13-df gnome-shell[3738]: meta_window_is_focusable: assertion '!window->unmanaging' failed
Mar 24 08:03:21 framework13-df gnome-shell[3738]: meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed
Mar 24 08:03:21 framework13-df gnome-shell[3738]: meta_window_is_focusable: assertion '!window->unmanaging' failed
Mar 24 08:03:21 framework13-df gnome-shell[3738]: meta_window_is_focusable: assertion '!window->unmanaging' failed
Mar 24 08:03:21 framework13-df gnome-shell[3738]: meta_window_is_focusable: assertion '!window->unmanaging' failed
Mar 24 08:03:21 framework13-df gnome-shell[3738]: Window manager warning: Overwriting existing binding of keysym 6a with keysym 6a (keycode 2c).
Mar 24 08:03:21 framework13-df gnome-shell[3738]: Window manager warning: Overwriting existing binding of keysym 6b with keysym 6b (keycode 2d).
Mar 24 08:03:24 framework13-df slack.desktop[4030]: [03/24/26, 08:03:24:589] info: [EVENTLOG] (TC9V6K607) dispatching signal and clearing timestamp
Mar 24 08:03:49 framework13-df gnome-shell[3738]: meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed
Mar 24 08:04:03 framework13-df gnome-shell[3738]: Can't update stage views actor unnamed [ClutterActor] is on because it needs an allocation.
Mar 24 08:04:03 framework13-df gnome-shell[3738]: Can't update stage views actor unnamed [ClutterActor] is on because it needs an allocation.
Mar 24 08:04:04 framework13-df gnome-shell[3738]: meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed
Mar 24 08:04:04 framework13-df gnome-shell[3738]: meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed
Mar 24 08:04:04 framework13-df gnome-shell[3738]: meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed
Mar 24 08:04:07 framework13-df gnome-shell[3738]: meta_monitor_manager_get_logical_monitor_from_number: assertion '(unsigned int) number < g_list_length (manager->logical_monitors)' failed
Mar 24 08:04:07 framework13-df gnome-shell[3738]: meta_workspace_get_work_area_for_monitor: assertion 'logical_monitor != NULL' failed
Mar 24 08:04:07 framework13-df gnome-shell[3738]: GNOME Shell crashed with signal 11
Mar 24 08:04:07 framework13-df gnome-shell[3738]: == Stack trace for context 0x566552a2c740 ==
Mar 24 08:04:07 framework13-df gnome-shell[3738]: meta_monitor_manager_get_logical_monitor_from_number: assertion '(unsigned int) number < g_list_length (manager->logical_monitors)' failed
Mar 24 08:04:07 framework13-df gnome-shell[3738]: #0 7ffeff196680 b file:///home/melker/.local/share/gnome-shell/extensions/paperwm@paperwm.github.com/tiling.js:1408 (33c9e2767a10 @ 485)
Mar 24 08:04:07 framework13-df gnome-shell[3738]: #1 7ffeff196780 b self-hosted:203 (3ccf98397b50 @ 245)
Mar 24 08:04:07 framework13-df gnome-shell[3738]: #2 7ffeff196eb0 b file:///home/melker/.local/share/gnome-shell/extensions/paperwm@paperwm.github.com/tiling.js:1382 (33c9e2767970 @ 302)
Mar 24 08:04:07 framework13-df gnome-shell[3738]: #3 566552af3a28 i file:///home/melker/.local/share/gnome-shell/extensions/paperwm@paperwm.github.com/tiling.js:4462 (33c9e276bec0 @ 17)
Mar 24 08:04:07 framework13-df gnome-shell[3738]: #4 566552af39a8 i file:///home/melker/.local/share/gnome-shell/extensions/paperwm@paperwm.github.com/tiling.js:4483 (33c9e276bf10 @ 11)
Mar 24 08:04:07 framework13-df gnome-shell[3738]: #5 7ffeff197970 b resource:///org/gnome/shell/ui/environment.js:67 (e5e6b7f0560 @ 98)
Mar 24 08:04:07 framework13-df gnome-shell[3738]: #6 7ffeff1980d0 b resource:///org/gnome/shell/ui/environment.js:162 (e5e6b7f9920 @ 922)
Mar 24 08:04:07 framework13-df gnome-shell[3738]: #7 7ffeff198820 b resource:///org/gnome/shell/ui/environment.js:302 (110633e8b650 @ 19)
Mar 24 08:04:07 framework13-df gnome-shell[3738]: #8 7ffeff198f50 b file:///home/melker/.local/share/gnome-shell/extensions/paperwm@paperwm.github.com/utils.js:589 (33c9e2776e20 @ 137)
Mar 24 08:04:07 framework13-df gnome-shell[3738]: #9 566552af38d8 i file:///home/melker/.local/share/gnome-shell/extensions/paperwm@paperwm.github.com/tiling.js:4481 (33c9e276be20 @ 691)
Mar 24 08:04:07 framework13-df gnome-shell[3738]: #10 566552af3838 i file:///home/melker/.local/share/gnome-shell/extensions/paperwm@paperwm.github.com/tiling.js:3732 (33c9e276b2e0 @ 42)
Mar 24 08:04:07 framework13-df gnome-shell[3738]: #11 566552af3758 i file:///home/melker/.local/share/gnome-shell/extensions/paperwm@paperwm.github.com/tiling.js:3742 (33c9e276b240 @ 648)
Mar 24 08:04:07 framework13-df gnome-shell[3738]: #12 566552af36c8 i file:///home/melker/.local/share/gnome-shell/extensions/paperwm@paperwm.github.com/tiling.js:3543 (33c9e276add0 @ 67)
Mar 24 08:04:07 framework13-df gnome-shell[3738]: meta_workspace_get_work_area_for_monitor: assertion 'logical_monitor != NULL' failed
Mar 24 08:04:07 framework13-df gnome-shell[3738]: #13 566552af3638 i resource:///org/gnome/shell/ui/init.js:21 (3ccf98370bf0 @ 48)
Mar 24 08:04:07 framework13-df gnome-shell[3738]: meta_workspace_get_work_area_for_monitor: assertion 'data != NULL' failed
Mar 24 08:04:15 framework13-df gnome-shell[4548]: (EE) failed to read Wayland events: Broken pipe
Mar 24 08:04:15 framework13-df brave-browser.desktop[5575]: Gdk-Message: 08:04:15.181: Lost connection to Wayland compositor.
Mar 24 08:04:15 framework13-df ghostty[7721]: info(glib): MESSAGE: Gdk: Lost connection to Wayland compositor.
Mar 24 08:04:15 framework13-df systemd[3440]: org.gnome.Shell@wayland.service: Main process exited, code=dumped, status=11/SEGV
Mar 24 08:04:15 framework13-df neovide.desktop[89452]: ERROR [neovide::bridge::session] Nvim: Caught deadly signal 'SIGTERM'
Mar 24 08:04:15 framework13-df update-notifier-crash[699310]: gnome-shell
Mar 24 08:04:15 framework13-df systemd[3440]: org.gnome.Shell@wayland.service: Failed with result 'core-dump'.
Mar 24 08:04:15 framework13-df systemd[3440]: org.gnome.Shell@wayland.service: Triggering OnFailure= dependencies.
Mar 24 08:04:15 framework13-df systemd[3440]: org.gnome.Shell@wayland.service: Consumed 1h 28min 21.374s CPU time, 18.5G memory peak, 12.0G memory swap peak.
Mar 24 08:04:15 framework13-df systemd[3440]: Stopped target gnome-session-wayland@ubuntu.target - GNOME Wayland Session (session: ubuntu).
Mar 24 08:04:15 framework13-df systemd[3440]: org.gnome.Shell-disable-extensions.service - Disable GNOME Shell extensions after failure was skipped because of an unmet condition check (ConditionPathExists=/run/user/1000/gnome-shell-disable-extensions).
Mar 24 08:04:15 framework13-df systemd[3440]: Stopped target gnome-session-wayland.target - GNOME Wayland Session.
System information:
Distribution: Ubuntu 24.04.4 LTS (Noble Numbat)
GNOME Shell: 46.0
Display server: Wayland
PaperWM version: 49.0.1
Enabled extensions:
- paperwm@paperwm.github.com
- Bluetooth-Battery-Meter@maniacx.github.com
- ubuntu-appindicators@ubuntu.com
Describe the bug
PaperWM randomly crashes GNOME shell. Below is the output of running this
journalctl -b -1 --since "08:03:00" --until "08:04:16" | grep -i "gnome-shell\|mutter\|wayland\|segfault\|signal\|core dump"after my most recent crash.Also notice that it reports 18 GB memory usage from GNOME shell, could that be a memory leak in PaperWM?: "
Consumed 1h 28min 21.374s CPU time, 18.5G memory peak, 12.0G memory swap peak".Click to see log output
System information: