ubuntu / ubuntu/Tiling-Assistant
GNOME Shell crashes (SIGABRT) when monitor configuration changes via tiling-assistant moveHandler
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.3k
- Forks
- 78
- PR merge metrics
- No merged PRs in 30d
Description
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
- Enable the Tiling Assistant extension
- Have x11vnc running with
-xrandrflag (or any setup that triggers display reconfiguration) - Connect/disconnect a VNC client, or trigger an xrandr display change
- 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)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Inspect src/extension/moveHandler.js around lines 363 and 475, then reproduce the failure with x11vnc using the -xrandr flag or another display reconfiguration. Trace the logical-monitor lookup during reconfiguration and verify that the extension no longer causes GNOME Shell to abort or terminate the session.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, linux
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100