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 804907

Summary: libXi sets the event->display value to garbage
Product: Red Hat Enterprise Linux 6 Reporter: Peter Hutterer <peter.hutterer>
Component: libXiAssignee: Peter Hutterer <peter.hutterer>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.3CC: tpelka
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libXi-1.6.1-2.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-21 07:58:07 UTC Type: ---
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: 842499    
Attachments:
Description Flags
cookie-display-check.c
none
cookie-display-check.c none

Description Peter Hutterer 2012-03-20 06:20:27 UTC
Description of problem:
The display member of XI2 events is garbage. The cookies themselves are fine, the actual event is uninitialised though.

http://cgit.freedesktop.org/xorg/lib/libXi/commit/?id=9419fe9f0b21232d342885a693fbf9222b5844e4

Version-Release number of selected component (if applicable):
libXi-1.3-3.el6

How reproducible:
Requires custom test program. select for XI2 events, call XGetEventData() on a cookie and then check the display member of the cookie data.

Comment 2 RHEL Program Management 2012-07-16 22:49:10 UTC
This request was evaluated by Red Hat Product Management for
inclusion in a Red Hat Enterprise Linux release.  Product
Management has requested further review of this request by
Red Hat Engineering, for potential inclusion in a Red Hat
Enterprise Linux release for currently deployed products.
This request is not yet committed for inclusion in a release.

Comment 3 Tomas Pelka 2012-07-24 13:31:53 UTC
(In reply to comment #0)
> [snipped]
> 
> How reproducible:
> Requires custom test program. select for XI2 events, call XGetEventData() on
> a cookie and then check the display member of the cookie data.

Peter do we have such program in hand?

Comment 4 Peter Hutterer 2012-08-01 00:48:15 UTC
Created attachment 601619 [details]
cookie-display-check.c

This program fails with an assertion error if the error manifests itself. It requires human input (moving the pointer when prompted) to ensure a even is received and can be checked.

Comment 6 Peter Hutterer 2012-08-22 06:18:18 UTC
Created attachment 606133 [details]
cookie-display-check.c

Updated for bugfix. mask.mask wasn't initialised, so depending on its contents the server may have replied with a BadValue error. Fixed by setting mask data to 0.

Comment 10 errata-xmlrpc 2013-02-21 07:58:07 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.

http://rhn.redhat.com/errata/RHBA-2013-0294.html