Skip to content

GNOME Shell crashes (SIGABRT) when monitor configuration changes via tiling-assistant moveHandler #440

@illusoryTwin

Description

@illusoryTwin

Describe the bug

GNOME Shell crashes with SIGABRT when a monitor/display reconfiguration occurs (e.g. VNC client connect/disconnect, xrandr resize). The crash originates in tiling-assistant's moveHandler.js which
queries a logical monitor that no longer exists after the reconfiguration. This drops the user to the GDM login screen (full session logout). Observed 3 crashes over 2 days. Disabling the extension
resolved the issue completely.

Steps To Reproduce

  1. Enable the Tiling Assistant extension
  2. Have x11vnc running with -xrandr flag (or any setup that triggers display reconfiguration)
  3. Connect/disconnect a VNC client, or trigger an xrandr display change
  4. GNOME Shell crashes with signal 6 and the session is terminated

System Info:

  • Distro (incl. version): Ubuntu (24.04-based)
  • GNOME Shell version: 46.0 (mutter 46.2)
  • Extension version and from where: v46, system-installed (/usr/share/gnome-shell/extensions/tiling-assistant@ubuntu.com)
  • XOrg/Wayland: XOrg

Journalctl logs

meta_monitor_manager_get_logical_monitor_from_number: assertion '(unsigned int) number < g_list_length (manager->logical_monitors)' failed
meta_workspace_get_work_area_for_monitor: assertion 'logical_monitor != NULL' failed
**
libmutter:ERROR:../src/core/window.c:5937:meta_window_get_work_area_for_logical_monitor: assertion failed: (logical_monitor)
Bail out! libmutter:ERROR:../src/core/window.c:5937:meta_window_get_work_area_for_logical_monitor: assertion failed: (logical_monitor)
GNOME Shell crashed with signal 6
== Stack trace for context 0x59db91cb04b0 ==
#0   7ffce2003320 b   file:///usr/share/gnome-shell/extensions/tiling-assistant@ubuntu.com/src/extension/moveHandler.js:475 (2a998266e6a0 @ 454)
#1   7ffce2003b40 b   file:///usr/share/gnome-shell/extensions/tiling-assistant@ubuntu.com/src/extension/moveHandler.js:363 (2a998266e420 @ 1833)
#2   59db91d7bf68 i   resource:///org/gnome/shell/ui/init.js:21 (1e0814c70bf0 @ 48)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions