Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1458361

Summary: Wacom Screen Tablet Button Mapping Causes Xorg Crash
Product: Red Hat Enterprise Linux 7 Reporter: Michael Boisvert <mboisver>
Component: xorg-x11-serverAssignee: Dave Airlie <airlied>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.4CC: airlied, ajax, lmiksik, mboisver, peter.hutterer, tpelka
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: xorg-x11-server-1.19.3-6.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-01 12:19:58 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: 1456511    
Attachments:
Description Flags
Xorg.0.log
none
backtrace from the crash
none
handle NULL cursor better. none

Description Michael Boisvert 2017-06-02 16:37:44 UTC
Description of problem: Using the stylus while mapping buttons on a screen tablet causes Xorg to crash and return to GDM.

How reproducible: Only under a specific circumstance.

Steps to Reproduce:
1. Connect screen tablet to a laptop then boot GNOME, do not use the stylus on the tablet until #4.

2. The screen tablet should be setup as a secondary monitor by default.

3. Before using the stylus on the tablet, navigate to Wacom Settings using the mouse and select map buttons for the screen tablet.

4. Press the button on the tablet you want to map, then try to use the stylus on the screen tablet to complete the button mapping.

5. Xorg will crash and return you to the login screen within 5 seconds.

Actual results: The stylus can be used to select button mapping options at any time.

Expected results: You can use the stylus for the first time to map a button on the tablet.

Additional info: Error occurs on all screen tablets I tested. The issue did not happen when you plug the tablet in AFTER logging into GNOME or when you use the stylus on the screen at some point before trying to map buttons.

Comment 2 Peter Hutterer 2017-06-07 11:21:08 UTC
Do you have an xorg.log for me please?

Comment 3 Michael Boisvert 2017-06-07 17:18:39 UTC
Created attachment 1285857 [details]
Xorg.0.log

Comment 4 Peter Hutterer 2017-06-08 06:35:48 UTC
Created attachment 1285990 [details]
backtrace from the crash

Managed to reproduce it here with an Intuos 4, assigned to a single screen via the gnome control center, with one button on the pad assigned to "Switch Monitor".

If I press the switch-monitor button, then go into proximity with the stylus and move to the edge of the screen, it crashes. Or if the stylus is in proximity when the button is pressed. On the x input device itself, all that changes is the coordinate transformation matrix; changing that one manually does not reproduce the crash.

A second reproducer is assigning a button to "Show On-screen Help", then toggling this on/off while moving the stylus in/out of proximity. Not sure what the exact sequence is, eventually it crashes.

Either way, the crash is definitely in the X server. In both cases the OSD is involved and the crash is related to a NULL cursor.

Comment 6 Dave Airlie 2017-06-09 04:09:39 UTC
Created attachment 1286298 [details]
handle NULL cursor better.

Comment 7 Dave Airlie 2017-06-09 05:38:54 UTC
built in brew.

xorg-x11-server-1.19.3-6.el7

Comment 9 Michael Boisvert 2017-06-14 19:20:06 UTC
Retested on xorg-x11-server-1.19.3-6.el7 and found no crashes.

Comment 10 errata-xmlrpc 2017-08-01 12:19:58 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/RHBA-2017:1905