gnome-shell crashed with SIGABRT in g_assertion_message() from g_assertion_message_expr("assertion failed: (trap->end_sequence == 0)") from gdk_x11_display_error_trap_pop_internal() from meta_input_settings_x11_set_tablet_keep_aspect()

Bug #1788483 reported by RussianNeuroMancer
42
This bug affects 5 people
Affects Status Importance Assigned to Milestone
gnome-shell (Ubuntu)
Fix Released
Medium
Unassigned
mutter (Ubuntu)
Fix Released
Medium
Anders Kaseorg

Bug Description

https://errors.ubuntu.com/problem/7760395cb5d46c6f66918a261675bfdee38b7d16
https://gitlab.gnome.org/GNOME/mutter/issues/294

---

Crash happened when I tried to use Wacom stylus on Dell 7285 touchscreen.

ProblemType: Crash
DistroRelease: Ubuntu 18.10
Package: gnome-shell 3.29.90-2ubuntu1
Uname: Linux 4.18.3-041803-generic x86_64
ApportVersion: 2.20.10-0ubuntu7
Architecture: amd64
CrashCounter: 1
CurrentDesktop: GNOME
Date: Thu Aug 23 03:55:08 2018
DisplayManager: gdm3
ExecutablePath: /usr/bin/gnome-shell
InstallationDate: Installed on 2018-04-20 (124 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20180105.1)
ProcCmdline: /usr/bin/gnome-shell
ProcEnviron:
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=ru_RU.UTF-8
 SHELL=/bin/bash
Signal: 6
SourcePackage: gnome-shell
StacktraceTop:
 ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
 g_assertion_message_expr () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
 ?? () from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
 ?? () from /usr/lib/x86_64-linux-gnu/libmutter-3.so.0
 ?? ()
Title: gnome-shell crashed with SIGABRT in g_assertion_message_expr()
UpgradeStatus: Upgraded to cosmic on 2018-04-20 (124 days ago)
UserGroups: adm cdrom dialout dip lpadmin plugdev sambashare sudo tty

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 g_assertion_message (domain=0x7fc6589ef017 "Gdk", file=0x7fc658a0d7e0 "../../../../../gdk/x11/gdkdisplay-x11.c", line=2870, func=0x7fc658a0de80 <__func__.75276> "gdk_x11_display_error_trap_pop_internal", message=0x557136911ec0 "assertion failed: (trap->end_sequence == 0)") at ../../../../glib/gtestutils.c:2574
 g_assertion_message_expr () at ../../../../glib/gtestutils.c:2597
 gdk_x11_display_error_trap_pop_internal (display=<optimized out>, need_code=1) at ../../../../../gdk/x11/gdkdisplay-x11.c:2870
 meta_input_settings_x11_set_tablet_keep_aspect (settings=<optimized out>, device=0xffffffff, logical_monitor=0xffffffff, keep_aspect=806846624) at backends/x11/meta-input-settings-x11.c:836
 ?? ()

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : StacktraceSource.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in gnome-shell (Ubuntu):
importance: Undecided → Medium
summary: - gnome-shell crashed with SIGABRT in g_assertion_message_expr()
+ gnome-shell crashed with SIGABRT in g_assertion_message()
tags: removed: need-amd64-retrace
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

The bug is either in gtk+3.0 or in mutter. But since it's the gnome-shell process crashing we should also keep a task for that so that others can find the bug.

summary: - gnome-shell crashed with SIGABRT in g_assertion_message()
+ gnome-shell crashed with SIGABRT in g_assertion_message() from
+ g_assertion_message_expr("assertion failed: (trap->end_sequence == 0)")
+ from gdk_x11_display_error_trap_pop_internal() from
+ meta_input_settings_x11_set_tablet_keep_aspect()
information type: Private → Public
Changed in gnome-shell (Ubuntu):
status: New → Triaged
Changed in gtk+3.0 (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Changed in mutter (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Daniel van Vugt (vanvugt) wrote :
no longer affects: gtk+3.0 (Ubuntu)
description: updated
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Although the stack trace in this bug sounds a bit broken. I think bug 1790992 might be more accurate.

tags: added: fixed-in-mutter-3.30.1
Revision history for this message
Anders Kaseorg (andersk) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "debdiff adding upstream patch" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]

tags: added: patch
Changed in mutter (Ubuntu):
assignee: nobody → Anders Kaseorg (andersk)
status: Triaged → In Progress
Revision history for this message
Anders Kaseorg (andersk) wrote :

(Is it really correct to mark this as “In Progress” and assigned to me when there’s nothing else I can do to move this forward except wait for a sponsor to pay attention?)

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

Yes, because there is no "blocked" status. "In Progress" includes waiting for reviews when nothing is really happening. This is normal.

It should be assigned so as to show that someone has done or will do the work. It's often too hard (or too much effort) to find that information in the comments section alone. If a bug is left unassigned it may then get assigned to a second person, unknowing that a first has already done the work.

Revision history for this message
Anders Kaseorg (andersk) wrote :

(Still waiting on sponsorship, but apparently “In Progress” is the right status for that.)

tags: added: patch-accepted-upstream
Revision history for this message
Daniel van Vugt (vanvugt) wrote :
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mutter - 3.30.0-6

---------------
mutter (3.30.0-6) unstable; urgency=medium

  * Team upload

  [ Simon McVittie ]
  * Update to upstream git master branch at commit 3.30.0-28-g95649fd2b.
    According to upstream, all of this should be in 3.30.1.
    - In particular this fixes a crash when combining a touchscreen
      and graphics tablet (Closes: #910370, #908153, LP: #1788483)
  * d/libmutter-3-0.symbols:
    - Ignore removal of private function meta_input_device_is_trackball()
    - Add meta_region_scale_double()

  [ Jeremy Bicha ]
  * Modify debian/skip-failing-tests.patch:
    - Go back to skipping the actor-shader-effect-test since it's flaky
    (LP: #1795556)

 -- Simon McVittie <email address hidden> Mon, 08 Oct 2018 07:53:09 +0100

Changed in mutter (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Jeremy Bícha (jbicha) wrote :

Closing the gnome-shell part of this bug since the mutter fix is in cosmic now.

Changed in gnome-shell (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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