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 616653 - Button → keycode configurations can cause server hangs
Summary: Button → keycode configurations can cause server hangs
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: xorg-x11-drv-wacom
Version: 6.0
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Peter Hutterer
QA Contact: desktop-bugs@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-07-21 03:54 UTC by Peter Hutterer
Modified: 2010-11-10 21:57 UTC (History)
3 users (show)

Fixed In Version: xorg-x11-drv-wacom-0.10.5-6.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-11-10 21:57:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Peter Hutterer 2010-07-21 03:54:06 UTC
Description of problem:
If a button is configured to send key events, an allocation in the signal handler may cause a server hang.

Version-Release number of selected component (if applicable):
xorg-x11-drv-wacom-0.10.5-5.el6

How reproducible:
Configure a button to send key strokes, execute button action repeatedly until the server hangs.


Steps to Reproduce:
1. xsetwacom --set "Wacom device name" Button1 "key a b c"
2. Click button 1 on the device
3. repeat 2 until hang
  
Actual results:
The driver calls XkbGetCoreMap() during wcmEmitKeysym(). This function calls malloc, but we're in the signal handler. malloc() during the signal handler may hang the machine.

Comment 2 RHEL Program Management 2010-07-21 04:18:12 UTC
This issue has been proposed when we are only considering blocker
issues in the current Red Hat Enterprise Linux release.

** If you would still like this issue considered for the current
release, ask your support representative to file as a blocker on
your behalf. Otherwise ask that it be considered for the next
Red Hat Enterprise Linux release. **

Comment 6 Peter Hutterer 2010-07-28 05:53:51 UTC
MODIFIED 

xorg-x11-drv-wacom-0.10.5-6.el6 is available in brew

Comment 8 Máirín Duffy 2010-08-31 19:04:16 UTC
I set the eraser button to output 'abc' and tapped it repeatedly in gedit. Based on the character count I've tapped over 600 times, no crash.

kernel-2.6.32-63.el6.x86_64
xorg-x11-drv-wacom-0.10.5-6.el6.x86_64
wacomexpresskeys-0.4.2-3.el6.x86_64
xorg-x11-server-Xorg-1.7.7-26.el6.x86_64

I will note I tried to set my pointer and eraser back after this and they still print out abc instead of left click. I tried

xsetwacom set "Wacom Serial Tablet PC Pen Tablet/Digitizer" Button1 "button 1"

and

xsetwacom set "Wacom Serial Tablet PC Pen Tablet/Digitizer" Button1 1

Comment 9 Andrew Ross 2010-08-31 23:48:35 UTC
Thanks Máirín.

Comment 10 releng-rhel@redhat.com 2010-11-10 21:57:08 UTC
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.


Note You need to log in before you can comment on or make changes to this bug.