Here's a debdiff of a build I did at https://launchpad.net/~timo-
jyrinki/+archive/ubuntu/mutter2090824

It seems to work fine as is, and at least I couldn't reproduce the crash
immediately. It's sometimes kind erratic though on how to reproduce - I
tried to play with the case I encountered the bug, one full round of
Among Us, using both touch screen and touchpad, and it didn't crash.

I hadn't noticed the earlier comments and the test web page, but I can
test with/without the patch using the test steps added to the
description later.

** Patch added: "debdiff_lp_2090824.patch"
   
https://bugs.launchpad.net/mutter/+bug/2090824/+attachment/5841528/+files/debdiff_lp_2090824.patch

-- 
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/2090824

Title:
  mutter crashes on Ubuntu 24.04 while playing Among Us with
  meta_wayland_pointer_constraint_deactivate

Status in Mutter:
  Unknown
Status in mutter package in Ubuntu:
  Fix Released
Status in mutter source package in Noble:
  In Progress

Bug description:
  [ Impact ]

  Touch input will crash the desktop session when an application has
  requested pointer constraints or pointer lock.

  gnome-shell reports: libmutter:ERROR:../src/wayland/meta-wayland-
  pointer-constraints.c:565:meta_wayland_pointer_constraint_deactivate:
  code should not be reached

  This is fixed upstream in
  https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3889

  [ Test Plan ]

  0. Set-up a touchscreen machine with Ubuntu Desktop 24.04 LTS
  0. Install the update from noble-proposed, and reboot
  1. Download the attachment "bug-2090824.html"
  2. Open "bug-2090824.html" in firefox.
  3. Follow the instructions on the webpage, that is:
  3.1. Click anywhere in the page with the mouse or touchpad
  3.2. Using the touchscreen, drag the finger around the page
  3.3. Move the cursor with the mouse or touchpad
  4. Verify that the desktop did not crash, and that you were not logged-out.

  [ Where problems could occur ]

  mutter is the Wayland compositor library that provides graphics and inputs 
for the GNOME desktop, thus is a critical component.
  Problems could manifest with mouse/touch input not working anymore, or sudden 
log-out if gnome-shell crashes.

  [ Original bug report ]

  Laptop is Dell XPS 13 (9370), with i7-8550U CPU with internal
  graphics, and with touchscreen.

  Quite commonly the whole session crashes with error log looking like:

  gnome-shell[2473]: #0   647e91fc7678 i   
resource:///org/gnome/shell/ui/init.js:21 (2afcdb070bf0 @ 48)
  gnome-shell[2473]: == Stack trace for context 0x647e91f03d20 ==
  gnome-shell[2473]: GNOME Shell crashed with signal 6
  gnome-shell[2473]: Bail out! 
libmutter:ERROR:../src/wayland/meta-wayland-pointer-constraints.c:565:meta_wayland_pointer_constraint_deactivate:
 code should not be reached
  gnome-shell[2473]: 
libmutter:ERROR:../src/wayland/meta-wayland-pointer-constraints.c:565:meta_wayland_pointer_constraint_deactivate:
 code should not be reached
  gnome-shell[2473]: **

  and takes the whole desktop session with it.

  This is possibly upstream
  https://gitlab.gnome.org/GNOME/mutter/-/issues/3487 issue.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mutter/+bug/2090824/+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