Bug 29037 - Record extension not sending event again
Summary: Record extension not sending event again
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: 7.5 (2009.10)
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-12 23:27 UTC by masanori.satake
Modified: 2010-07-13 18:59 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Test program. (4.27 KB, text/plain)
2010-07-12 23:28 UTC, masanori.satake
no flags Details

Description masanori.satake 2010-07-12 23:27:47 UTC
The Record extension appears to be broken.
It is not sending  any events  to Record  clients.
I used the program attached to check the record extension under the environment below.
I checked the record extension by using the program attached under the environment below.

(openSuSE 11.3 RC2)
xorg-x11-server-7.5_1.8.0-9.1.i586
xorg-x11-driver-video-7.5-12.1.i586

After I ran the test program,  error messages was returned.
----------
RECORD extension for local server is version is 1.13
X Error of failed request:  XRecordBadContext
  Major opcode of failed request:  135 (RECORD)
  Minor opcode of failed request:  5 (XRecordEnableContext)
  Context in failed request:  0x17
  Serial number of failed request:  10
  Current serial number in output stream:  10
----------

This malfunction looks like the problem was reported as "Bug 20500"
http://bugs.freedesktop.org/show_bug.cgi?id=20500
Comment 1 masanori.satake 2010-07-12 23:28:47 UTC
Created attachment 36986 [details]
Test program.
Comment 2 Julien Cristau 2010-07-13 02:20:08 UTC
On Mon, Jul 12, 2010 at 23:27:47 -0700, bugzilla-daemon@freedesktop.org wrote:

> After I ran the test program,  error messages was returned.
> ----------
> RECORD extension for local server is version is 1.13
> X Error of failed request:  XRecordBadContext
>   Major opcode of failed request:  135 (RECORD)
>   Minor opcode of failed request:  5 (XRecordEnableContext)
>   Context in failed request:  0x17
>   Serial number of failed request:  10
>   Current serial number in output stream:  10
> ----------

What version of libX11?
Comment 3 masanori.satake 2010-07-13 02:52:23 UTC
Thank you for your response.
This is the version of libX11.

-----------
Name: xorg-x11-libX11
Version: 7.5-1.23
Arch: i586
Vendor: openSUSE
Installed: Yes
Status: out-of-date (version 7.5-1.22 installed)
Installed Size: 10.8 MiB
Summary: X.Org X11 library
Description: 
This package contains the X.Org X11 library.
-----------
Comment 4 Julien Cristau 2010-07-13 03:05:22 UTC
On Tue, Jul 13, 2010 at 02:52:23 -0700, bugzilla-daemon@freedesktop.org wrote:

> --- Comment #3 from masanori.satake@fujixerox.co.jp 2010-07-13 02:52:23 PDT ---
> Name: xorg-x11-libX11
> Version: 7.5-1.23

I have no idea what this means, SuSE apparently mangles upstream version
numbers...
Just make sure you have
http://cgit.freedesktop.org/xorg/lib/libX11/commit/?id=75ea8c37935ccc911557d16a303ba595b8ab106b
Comment 5 masanori.satake 2010-07-13 18:45:18 UTC
Sorry.
The version of libX11 is '7.5'.
'1.23' is just the release version of SuSE.

Thank you for a great hint.
After I rebuild libX11 with a patch that you told me,
I could get events with RECORD extension.

Thank you very much.
Comment 6 masanori.satake 2010-07-13 18:50:42 UTC
Sorry again.
The version of libX11 is '1.3.2'.
Comment 7 masanori.satake 2010-07-13 18:59:16 UTC
(Status changed new --> resolved)


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.