** Changed in: mutter (Ubuntu Noble)
     Assignee: (unassigned) => vijayyaso (vijayyaso)

** Changed in: mutter (Ubuntu Noble)
    Milestone: None => noble-updates

** Changed in: mutter (Ubuntu Noble)
       Status: Triaged => In Progress

** Description changed:

+ [ Impact ]
+ 
  https://errors.ubuntu.com/problem/fe092080e51d5bc7c80988a3ef5cfcd7f32ae6d1
  
- ---
+ gnome-shell crashes with SIGSEGV in
+ wl_resource_get_version(resource=NULL), called from
+ committed_state_handle_highest_scale_monitor(), when a client destroys a
+ wl_surface (often an xdg_popup) while its scale state is still being
+ applied. On a Wayland session the shell is the display server, so every
+ open app is killed and the user returns to the login screen. Reported
+ here and in the error tracker bucket above. I also hit it twice
+ (2026-09-02 and 2026-09-23) on a MacBookPro11,4 running a Noble-based
+ distribution.
+ 
+ [ Test Plan ]
+ 
+ There is no reliable manual reproducer. Run a Wayland session with
+ fractional scaling, open and close popups quickly (context menus, video
+ scrubbing in Totem on a second window), and check `coredumpctl list
+ gnome-shell` and the error tracker bucket for new crashes in
+ committed_state_handle_highest_scale_monitor.
+ 
+ [ Where problems could occur ]
+ 
+ The change adds one early return when surface->resource is NULL, i.e.
+ after the client already destroyed the surface. No scale event can be
+ sent in that state anyway, and the committed state of such a surface
+ cannot have child sub-surfaces. A regression would show up as a scale
+ event not sent to a surface that no longer exists on the client side.
+ 
+ [ Other Info ]
+ 
+ Upstream commit: 
https://gitlab.gnome.org/GNOME/mutter/-/commit/8978f74c1e2199f061a07e10c593cb64fd904771
+ Upstream issue: https://gitlab.gnome.org/GNOME/mutter/-/issues/3552
+ I rebuilt libmutter-14 from the .18 source with this patch and confirmed in 
the compiled code that committed_state_handle_highest_scale_monitor now starts 
with a NULL check on surface->resource. Subscribing ubuntu-sponsors for 
sponsorship.
+ 
+ [ Original report ]
  
  I was editing a video in Kdenlive (in that I had the project open on my
  first monitor), and was simultaneously scrubbing one of the input clips
  on my second monitor using Totem, when the crash occurred.
  
  Not much further info at the moment that I can think of. Just making
  this initial report so that I have something to refer to, should a
  similar crash occur again.
  
  ProblemType: Crash
  DistroRelease: Ubuntu 24.04
  Package: gnome-shell 46.0-0ubuntu6~24.04.9
  ProcVersionSignature: Ubuntu 6.8.0-85.85-generic 6.8.12
  Uname: Linux 6.8.0-85-generic x86_64
  ApportVersion: 2.28.1-0ubuntu3.8
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: ubuntu:GNOME
  Date: Tue Oct 21 13:24:28 2025
  DisplayManager: gdm3
  ExecutablePath: /usr/bin/gnome-shell
  InstallationDate: Installed on 2020-11-30 (1786 days ago)
  InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
  JournalErrors: -- No entries --
  ProcCmdline: /usr/bin/gnome-shell
  RelatedPackageVersions: mutter-common 46.2-1ubuntu0.24.04.10
  Signal: 11
  SignalName: SIGSEGV
  SourcePackage: gnome-shell
  StacktraceTop:
   wl_resource_get_version () from /lib/x86_64-linux-gnu/libwayland-server.so.0
   ?? () from /lib/x86_64-linux-gnu/libmutter-14.so.0
   ?? () from /lib/x86_64-linux-gnu/libmutter-14.so.0
   ?? () from /lib/x86_64-linux-gnu/libmutter-14.so.0
   ?? () from /lib/x86_64-linux-gnu/libmutter-14.so.0
  Title: gnome-shell crashed with SIGSEGV in wl_resource_get_version()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip libvirt lpadmin lxd plugdev sambashare sshuman sudo 
vboxusers
  modified.conffile..etc.default.apport: [modified]
  mtime.conffile..etc.apport.crashdb.conf: 2024-09-18T12:21:05.570573
  mtime.conffile..etc.default.apport: 2020-11-30T20:24:48.587084
  separator:

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2129173

Title:
  gnome-shell crashed with SIGSEGV in
  wl_resource_get_version(resource=NULL) from
  committed_state_handle_highest_scale_monitor()

To manage notifications about this bug go to:
https://bugs.launchpad.net/mutter/+bug/2129173/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to