I've attached a reproducer using SDL2, which was provided by a user in
the bug reports upstream.

Unfortunately I couldn't reproduce the bug myself on 4 different
machines with different hardware (including one virtual machine).

The user on the bug report upstream also mentioned that they could only
reproduce on one specific machine. This would be because the bug
requires a very specific event sequence to trigger.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to mutter in Ubuntu.
https://bugs.launchpad.net/bugs/2093237

Title:
  gnome-shell crashed with SIGSEGV in meta_window_foreach_transient()
  from meta_window_has_modals() from repick_for_event() from
  meta_wayland_pointer_update() from meta_wayland_seat_update()

Status in GNOME Shell:
  Fix Released
Status in mutter package in Ubuntu:
  Fix Released
Status in mutter source package in Noble:
  Fix Committed

Bug description:
  [ Impact ]

   * gnome-shell may crash and log-out the user when closing a Wayland
  window that uses subsurfaces.

   * The crash is specific to certain applications and requires a
  specific event sequence to trigger, which makes it hard to reproduce.

  [ Test Plan ]

   1. sudo apt install libsdl2-dev
   2. wget 
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/2093237/+attachment/5853638/+files/sdl2-reproducer.c
   3. gcc sdl2-reproducer.c $(pkg-config --cflags --libs sdl2) -o 
sdl2-reproducer
   4. SDL_VIDEODRIVER=wayland ./sdl2-reproducer
   5. Verify that a black window with a titlebar has opened
   6. Close the window by clicking on the X button
   7. Verify that the desktop did not crash and did not log you out.

  [ Where problems could occur ]

   * gnome-shell provides the GNOME desktop, and thus is a critical
  component.

   * A bug in the patch could manifest with applications not receiving
  mouse inputs correctly, or with the desktop crashing and logging the
  user out.

  [ 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 
46.3.1-2, the problem page at 
https://errors.ubuntu.com/problem/3a784898b44dea37ee80596a3e9bc6caaef92b4c 
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/.

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-shell/+bug/2093237/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to