gnome-shell crashes with SIGABRT when touching stylus to screen, "assertion failed: (trap->end_sequence == 0)" in in gdk_x11_display_error_trap_pop_internal() from gdk_x11_display_error_trap_pop() from meta_x11_error_trap_pop_with_return() from meta_input_settings_x11_set_stylus_button_map()

Bug #1790992 reported by Anders Kaseorg
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-shell (Ubuntu)
New
High
Unassigned
mutter (Ubuntu)
New
High
Unassigned

Bug Description

My Thinkpad Yoga 14 20FY has a builtin stylus pen. If I touch it to the screen, gnome-shell immediately crashes, 100% reproducibly.

ProblemType: Crash
DistroRelease: Ubuntu 18.10
Package: gnome-shell 3.29.90-2ubuntu1
ProcVersionSignature: Ubuntu 4.17.0-9.10-generic 4.17.17
Uname: Linux 4.17.0-9-generic x86_64
NonfreeKernelModules: openafs
ApportVersion: 2.20.10-0ubuntu9
Architecture: amd64
CurrentDesktop: GNOME
Date: Wed Sep 5 18:28:08 2018
DisplayManager: gdm3
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/gnome-shell
InstallationDate: Installed on 2016-02-19 (929 days ago)
InstallationMedia: Ubuntu-GNOME 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160218)
ProcCmdline: /usr/bin/gnome-shell
Signal: 6
SourcePackage: gnome-shell
StacktraceTop:
 () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
 g_assertion_message_expr () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
 () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
 () at /usr/lib/x86_64-linux-gnu/libmutter-3.so.0
 g_closure_invoke () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
Title: gnome-shell crashed with SIGABRT
UpgradeStatus: Upgraded to cosmic on 2018-08-17 (19 days ago)
UserGroups: adm audio bumblebee cdrom dip docker libvirt libvirtd lpadmin lxd mock plugdev sambashare sbuild sudo wireshark

Revision history for this message
Anders Kaseorg (andersk) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 g_assertion_message (domain=<optimized out>, file=<optimized out>, line=<optimized out>, func=0x7fdffc0cae80 <__func__.75276> "gdk_x11_display_error_trap_pop_internal", message=<optimized out>) at ../../../../glib/gtestutils.c:2574
 g_assertion_message_expr (domain=domain@entry=0x7fdffc0ac017 "Gdk", file=file@entry=0x7fdffc0ca7e0 "../../../../../gdk/x11/gdkdisplay-x11.c", line=line@entry=2870, func=func@entry=0x7fdffc0cae80 <__func__.75276> "gdk_x11_display_error_trap_pop_internal", expr=expr@entry=0x7fdffc0ca189 "trap->end_sequence == 0") at ../../../../glib/gtestutils.c:2597
 gdk_x11_display_error_trap_pop_internal (display=<optimized out>, need_code=need_code@entry=1) at ../../../../../gdk/x11/gdkdisplay-x11.c:2870
 gdk_x11_display_error_trap_pop (display=<optimized out>) at ../../../../../gdk/x11/gdkdisplay-x11.c:2982
 meta_x11_error_trap_pop_with_return (x11_display=<optimized out>) at x11/meta-x11-errors.c:61

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
tags: removed: need-amd64-retrace
summary: - gnome-shell crashes with SIGABRT when touching stylus to screen
+ gnome-shell crashes with SIGABRT when touching stylus to screen, in
+ __GI_abort() from g_assertion_message() from g_assertion_message_expr()
+ from gdk_x11_display_error_trap_pop_internal() from
+ gdk_x11_display_error_trap_pop() from
+ meta_x11_error_trap_pop_with_return() from
+ meta_input_settings_x11_set_stylus_button_map()
information type: Private → Public
summary: - gnome-shell crashes with SIGABRT when touching stylus to screen, in
- __GI_abort() from g_assertion_message() from g_assertion_message_expr()
- from gdk_x11_display_error_trap_pop_internal() from
- gdk_x11_display_error_trap_pop() from
- meta_x11_error_trap_pop_with_return() from
+ gnome-shell crashes with SIGABRT when touching stylus to screen,
+ "assertion failed: (trap->end_sequence == 0)" from
meta_input_settings_x11_set_stylus_button_map()
Changed in gnome-shell (Ubuntu):
importance: Medium → High
Changed in mutter (Ubuntu):
importance: Undecided → High
summary: gnome-shell crashes with SIGABRT when touching stylus to screen,
- "assertion failed: (trap->end_sequence == 0)" from
+ "assertion failed: (trap->end_sequence == 0)" in in
+ gdk_x11_display_error_trap_pop_internal() from
+ gdk_x11_display_error_trap_pop() from
+ meta_x11_error_trap_pop_with_return() from
meta_input_settings_x11_set_stylus_button_map()
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Please try logging into "Ubuntu on Wayland" and see if that works around the crash.

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

GNOME on Wayland works around the crash.

Based on the apport-retrace results, this is possibly a duplicate of bug 1788483.

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

Thanks. Yes let's track this in bug 1788483.

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.