** Description changed: [Impact] 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] 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. - + The fix appeared in Debian with xserver 2:1.7.7-1, which came to Ubuntu with the 2:1.8.1.901-1ubuntu1 merge into Maverick. [Stable Fix] - Debdiff and patch attached to the bug, matching the upstream commit and tested with the same reproducer. + Debdiff and patch attached to the bug, matching the upstream commit and + tested with the same reproducer. [Text Case] 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. + 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] 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 Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
