** Description changed:

  [Impact]
- <fill me in with explanation of severity and frequency of bug on users and 
justification for backporting the fix to the stable release>
+ Users that require using Xvfb can be blocked by this bug if the client used 
needs XInput extensions. Xvfb will crash systematically.
+ This fix is required to prevent this from happening.
  
  [Development Fix]
- <fill me in with an explanation of how the bug has been addressed in the 
development branch, including the relevant version numbers of packages modified 
in order to implement the fix. >
+ Fix is present upstream, reported through Debian bug #575905, and posted as:
+ * 
http://cgit.freedesktop.org/xorg/xserver/commit/hw/vfb/InitInput.c?id=0e7703f9b1927328954a2fc87aac6be244819329
+ The proposed patch is the very same fix, applied for Lucid.
+ 
  
  [Stable Fix]
- <fill me in by pointing out a minimal patch applicable to the stable version 
of the package.>
+ 
+ Debdiff and patch attached to the bug, matching the upstream commit and 
tested with the same reproducer.
  
  [Text Case]
- <fill me in with detailed *instructions* on how to reproduce the bug.  This 
will be used by people later on to verify the updated package fixes the 
problem.>
- 1.
- 2.
- 3.
- Broken Behavior: 
- Fixed Behavior: 
+ 
+ 1. Open two terminals.
+ 
+ 2. $ Xvfb -ac :99   (in one terminal)
+ 
+ 3. $ DISPLAY=:99 xinput list   (in another terminal)
+ 
+ 
+ Broken Behavior:
+ 
+ Xvfb segfaults and produces a backtrace and forcing input to fail when trying 
to query the crashed Xvfb.
+ 
+ Fixed Behavior:
+ $ DISPLAY=:99 xinput list works as expected whilst querying the Xvfb server.
  
  [Regression Potential]
- <fill me in with a discussion of likelihood and potential severity of 
regressions and how users could get inadvertently affected. 
+ Extremely low potential for regressions as patch has been in upstream since 
April 2010 and therefore well tested. Fix is non invasive and trivial.
  
  [Original Report]
  Repro steps:
  * Run "Xvfb -ac :99" in a terminal
  * Run "DISPLAY=:99 xinput list" in a second terminal
  
  Expected:
  List of input devices appears (XTest, core). Xvfb continues to run.
  
  Actual:
  Xvfb segfaults in first terminal.
  
  This problem affects any user of Xvfb who tries to run a client that
  uses the XInput extension.  For example, a user runs a new desktop
  session, and a session program tries to enumerate the XInput devices (or
  the user has a startup script containing any "xinput" commands).
  
  There is an upstream patch which I've verified fixes the problem: 
http://cgit.freedesktop.org/xorg/xserver/commit/hw/vfb/InitInput.c?id=0e7703f9b1927328954a2fc87aac6be244819329
  The version of Xorg/Xvfb in Precise has this patch (from inspection of the 
source tarball for "xvfb" package).
  
  We'd like this to be backported to Lucid

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/933745

Title:
  Xvfb: any use of the XInput extension causes Xvfb to crash

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/933745/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to