** Description changed: - The Ubuntu Error Tracker has been receiving reports about a problem regarding gnome-shell. This problem was most recently seen with package version 50.1-0ubuntu1, the problem page at https://errors.ubuntu.com/problem/a27aec7a711a3a40b621d7e15b4ee7b2583e2920 contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports. - If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/. + [ Impact ] + + gnome-shell can crash with SIGSEGV when the cursor is updated for a + Wayland surface that has already been destroyed. The compositor + dereferences a NULL MetaWaylandSurface while resolving the cursor sprite. + + The fix checks that the surface and its compositor are still present + before using them. + + [ Test Plan ] + + 1. On Ubuntu 26.04 with GNOME on Wayland, repeatedly open and close + windows under the pointer, switch workspaces, and move the pointer over + surfaces that are disappearing. + 2. Include popups, subsurfaces, and client windows that exit while the + pointer is over them. + 3. Verify gnome-shell does not crash and that the cursor remains correct. + 4. Regression check: normal cursor changes, resize cursors, and cursor + changes over popups still work. + + [ Where problems could occur ] + + The change is in the Wayland surface actor's cursor lookup. A regression + could show up as a missing or wrong cursor, or a crash when a surface is + destroyed. Test cursor changes over windows being closed and over + subsurfaces.
** Description changed: [ Impact ] gnome-shell can crash with SIGSEGV when the cursor is updated for a Wayland surface that has already been destroyed. The compositor dereferences a NULL MetaWaylandSurface while resolving the cursor sprite. The fix checks that the surface and its compositor are still present before using them. [ Test Plan ] 1. On Ubuntu 26.04 with GNOME on Wayland, repeatedly open and close - windows under the pointer, switch workspaces, and move the pointer over - surfaces that are disappearing. + windows under the pointer, switch workspaces, and move the pointer over + surfaces that are disappearing. 2. Include popups, subsurfaces, and client windows that exit while the - pointer is over them. + pointer is over them. 3. Verify gnome-shell does not crash and that the cursor remains correct. 4. Regression check: normal cursor changes, resize cursors, and cursor - changes over popups still work. + changes over popups still work. [ Where problems could occur ] The change is in the Wayland surface actor's cursor lookup. A regression could show up as a missing or wrong cursor, or a crash when a surface is destroyed. Test cursor changes over windows being closed and over subsurfaces. + + [ Other info ] + + The Ubuntu Error Tracker has been receiving reports about a problem regarding gnome-shell. This problem was most recently seen with package version 50.1-0ubuntu1, the problem page at https://errors.ubuntu.com/problem/a27aec7a711a3a40b621d7e15b4ee7b2583e2920 contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports. + If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2153399 Title: gnome-shell (11) meta_surface_actor_wayland_get_cursor_for_sprite → clutter_actor_get_cursor_for_sprite → clutter_sprite_invalidate_cursor → repick_for_event → meta_wayland_pointer_update To manage notifications about this bug go to: https://bugs.launchpad.net/mutter/+bug/2153399/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
