Tapping the top bar with the touchscreen crashes GNOME on Xorg

Bug #2029413 reported by Connor Nolan
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mutter
Fix Released
Unknown
mutter (Ubuntu)
Fix Released
High
Daniel van Vugt
Jammy
Triaged
Medium
Daniel van Vugt
Lunar
Won't Fix
High
Daniel van Vugt
Mantic
Fix Released
High
Daniel van Vugt

Bug Description

Tap the current time = Immediate crash.

Tap the wifi/power combo menu = Immediate crash.

Tap the top bar by itself = Immediate crash.

Tap the activities button = No crash?

Having the GNOME shell completely crash immediately after touching the top bar is really annoying. Especially since a lot of the functionality in the top bar is pretty important.

This was previously reported as https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/2018160, but that got closed because of inactivity.

This is the crash report Ubuntu generated: https://errors.ubuntu.com/oops/413de504-30f9-11ee-b2c2-fa163e55efd0.

ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: gnome-shell 44.3-0ubuntu1
ProcVersionSignature: Ubuntu 6.2.0-26.26-generic 6.2.13
Uname: Linux 6.2.0-26-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.26.1-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Wed Aug 2 15:15:24 2023
DisplayManager: gdm3
InstallationDate: Installed on 2023-08-02 (0 days ago)
InstallationMedia: Ubuntu 23.04 "Lunar Lobster" - Release amd64 (20230418)
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
RelatedPackageVersions: mutter-common 44.3-0ubuntu1
SourcePackage: gnome-shell
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Connor Nolan (thebrokenrail) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

From the log the error is this one:

Received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
(Details: serial 4347 error_code 2 request_code 131 (XInputExtension) minor_code 53)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the MUTTER_SYNC environment
variable to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the meta_x_error() function.)

affects: gnome-shell (Ubuntu) → mutter (Ubuntu)
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Seems like a similar fix to bug 2014986 will be required. But this time it's minor_code 53 which seems to be:

  #define X_XIAllowEvents 53

summary: - Tapping the top bar withg the touchscreen crashes GNOME
+ Tapping the top bar with the touchscreen crashes GNOME on Xorg
tags: added: touch touchscreen
Changed in mutter (Ubuntu):
assignee: nobody → Daniel van Vugt (vanvugt)
status: New → In Progress
Revision history for this message
Daniel van Vugt (vanvugt) wrote :
Changed in mutter (Ubuntu Lunar):
status: New → Triaged
Changed in mutter (Ubuntu Mantic):
importance: Undecided → High
Changed in mutter (Ubuntu Lunar):
importance: Undecided → High
assignee: nobody → Daniel van Vugt (vanvugt)
Changed in mutter (Ubuntu Jammy):
assignee: nobody → Daniel van Vugt (vanvugt)
status: New → Incomplete
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Looks like jammy also needs fixing in theory (it's the same code in mutter 42), but in practice I can't get it to crash on jammy.

Changed in mutter (Ubuntu Jammy):
status: Incomplete → Triaged
importance: Undecided → Medium
Changed in mutter:
status: Unknown → New
Changed in mutter (Ubuntu Mantic):
status: In Progress → Fix Committed
Changed in mutter (Ubuntu Lunar):
status: Triaged → In Progress
tags: added: fixed-in-mutter-45.0 fixed-upstream
Changed in mutter:
status: New → Fix Released
Changed in mutter (Ubuntu Mantic):
status: Fix Committed → Fix Released
Changed in mutter (Ubuntu Lunar):
status: In Progress → Fix Committed
tags: added: fixed-in-mutter-44.5
Revision history for this message
Brian Murray (brian-murray) wrote :

Ubuntu 23.04 (Lunar Lobster) has reached end of life, so this bug will not be fixed for that specific release.

Changed in mutter (Ubuntu Lunar):
status: Fix Committed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.