Bug 1716771

Summary: Interacting with a wacom pen triggers gnome shell crashes
Product: Red Hat Enterprise Linux 8 Reporter: Peter Hutterer <peter.hutterer>
Component: gnome-shellAssignee: Carlos Garnacho <cgarnach>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact: Apurva Bhide <abhide>
Priority: unspecified    
Version: 8.0CC: abhide, bperkins, cgarnach, cschalle, fmuellner, jadahl, jkoten, mboisver, mclasen, rstrode, tpelka, wchadwic
Target Milestone: rc   
Target Release: 8.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
.Interacting with a `wacom` pen works on the gnome shell Previously, interacting with the shell frequently triggered the backtrace and the gnome shell was unresponsive. As a consequence, the stylus tip was not working, the stylus cursor was hidden whenever scrolled over a window, and the mouse button stopped working. With this update, `gnome-shell-3.32.2-9.el8` package is added in RHEL 8.1. As a result, interacting with the `wacom` does not make the gnome shell unresponsive.
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-05 22:14:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1678350    

Description Peter Hutterer 2019-06-04 05:43:16 UTC
Description of problem:
Interacting with the shell frequently triggers the backtrace below, at which point gnome-shell becomes largely unresponsive.

Version-Release number of selected component (if applicable):
gnome-shell-3.28.3-10.el8.x86_64

How reproducible:
I'm not 100% sure but it's related to dragging something with the tablet stylus.

Most reliable way is to use the stylus to drag items in the dock. Some of this will trigger bug 1716767 but eventually that bug doesn't happen and instead the backtrace shows up in the log.

Actual results:
- Activities doesn't work anymore and neither does the hot corner (super key works though)
- the stylus tip may or may not work, it's a bit random
- the stylus cursor is hidden whenever it moves over a window

The above isn't reliable either, after a while the mouse buttons may stop working too, etc.

Additional info:

When triggered, there are tens or hundreds of these in the journal:

Jun 04 00:51:43 localhost.localdomain gnome-shell[3220]: JS ERROR: TypeError: this._grabbedDevice is null
                                                         _ungrabDevice@resource:///org/gnome/shell/ui/dnd.js:170:13
                                                         wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
                                                         _ungrabActor@resource:///org/gnome/shell/ui/dnd.js:186:9
                                                         wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
                                                         startDrag@resource:///org/gnome/shell/ui/dnd.js:287:13
                                                         wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
                                                         _maybeStartDrag@resource:///org/gnome/shell/ui/dnd.js:407:13
                                                         wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
                                                         _onEvent@resource:///org/gnome/shell/ui/dnd.js:236:24
                                                         wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22

Comment 3 Matthias Clasen 2019-08-14 20:50:56 UTC
upstream fix: https://gitlab.gnome.org/GNOME/gnome-shell/issues/540

Comment 14 Michael Boisvert 2019-09-03 15:28:28 UTC
I cannot reproduce this issue on gnome-shell-3.32.2-9.el8.

Comment 15 Peter Hutterer 2019-09-05 07:34:28 UTC
I can't reproduce this anymore either, thanks!

gnome-shell-3.32.2-9.el8.x86_64
mutter-3.32.2-10.el8.x86_64

Comment 19 errata-xmlrpc 2019-11-05 22:14:05 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2019:3553