[Bug 933745] Re: Xvfb: any use of the XInput extension causes Xvfb to crash
Copied to lucid-updates. Closing manually due to broken bug link in the changelog. ** Changed in: xorg-server (Ubuntu Lucid) Status: Fix Committed => Fix Released -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 933745] Re: Xvfb: any use of the XInput extension causes Xvfb to crash
On webpage: http://people.canonical.com/~ubuntu-archive/pending-sru.html this package is not connected to bug report. Could you please fix this? -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 933745] Re: Xvfb: any use of the XInput extension causes Xvfb to crash
Tested on Lucid too, build fixes the issue thanks. ** Tags removed: verification-needed ** Tags added: verification-done -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 933745] Re: Xvfb: any use of the XInput extension causes Xvfb to crash
Verified on 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 933745] Re: Xvfb: any use of the XInput extension causes Xvfb to crash
** Tags added: verification-needed -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 933745] Re: Xvfb: any use of the XInput extension causes Xvfb to crash
Uploaded this to lucid-proposed last night, it's pending approval. subject: [ubuntu/lucid-proposed] xorg-server 2:1.7.6-2ubuntu7.11 (Waiting for approval) ** Changed in: xorg-server (Ubuntu Lucid) Status: In Progress => Fix Committed -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 933745] Re: Xvfb: any use of the XInput extension causes Xvfb to crash
** 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 933745] Re: Xvfb: any use of the XInput extension causes Xvfb to crash
** 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. + [Stable Fix] - + + Debdiff and patch attached to the bug, matching the upstream commit and tested with the same reproducer. [Text Case] - - 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] - 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 933745] Re: Xvfb: any use of the XInput extension causes Xvfb to crash
** Patch added: "(Lucid) xorg-server_1.7.6-2ubuntu7.10-11.debdiff" https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/933745/+attachment/2772811/+files/xorg-server_1.7.6-2ubuntu7.10-11.debdiff -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 933745] Re: Xvfb: any use of the XInput extension causes Xvfb to crash
Debdiff for Lucid SRU -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 933745] Re: Xvfb: any use of the XInput extension causes Xvfb to crash
** Also affects: xorg-server (Ubuntu Lucid) Importance: Undecided Status: New ** Changed in: xorg-server (Ubuntu Lucid) Assignee: (unassigned) => Jose Plans (jplans) ** Changed in: xorg-server (Ubuntu) Assignee: Jose Plans (jplans) => (unassigned) ** Changed in: xorg-server (Ubuntu Lucid) Status: New => In Progress ** Changed in: xorg-server (Ubuntu Lucid) Importance: Undecided => High ** Changed in: xorg-server (Ubuntu) Status: In Progress => Fix Released -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 933745] Re: Xvfb: any use of the XInput extension causes Xvfb to crash
Patch fixing the issue for Lucid. (SRU and debdiff to follow) ** Patch added: "Lucid patch fixing the bug" https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/933745/+attachment/2771480/+files/210_fixes-crash-XIQueryDevice.patch ** Changed in: xorg-server (Ubuntu) Status: Confirmed => In Progress -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 933745] Re: Xvfb: any use of the XInput extension causes Xvfb to crash
** Changed in: xorg-server (Ubuntu) Assignee: (unassigned) => Jose Plans (jplans) -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 933745] Re: Xvfb: any use of the XInput extension causes Xvfb to crash
** Description changed: + [Impact] + + + [Development Fix] + + + [Stable Fix] + + + [Text Case] + + 1. + 2. + 3. + Broken Behavior: + Fixed Behavior: + + [Regression Potential] + 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 933745] Re: Xvfb: any use of the XInput extension causes Xvfb to crash
confirmed the segfault in lucid following the steps to reproduce (xvfb 2:1.7.6-2ubuntu7.10). I've also confirmed that the xvfb version i'm using in oneiric does not have this issue (xvfb 2:1.10.4-1ubuntu4.2) in first terminal: raema@ubuntu:~$ Xvfb -ac :99 [dix] Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list! Backtrace: 0: Xvfb (xorg_backtrace+0x28) [0x558138] 1: Xvfb (0x40+0x15bd4d) [0x55bd4d] 2: /lib/libpthread.so.0 (0x7f1a60519000+0xf8f0) [0x7f1a605288f0] 3: /lib/libc.so.6 (0x7f1a5f1f3000+0x83052) [0x7f1a5f276052] 4: Xvfb (0x40+0xba96d) [0x4ba96d] 5: Xvfb (0x40+0xbac88) [0x4bac88] 6: Xvfb (0x40+0x10619c) [0x50619c] 7: Xvfb (0x40+0xf697a) [0x4f697a] 8: /lib/libc.so.6 (__libc_start_main+0xfd) [0x7f1a5f211c4d] 9: Xvfb (0x40+0x1d389) [0x41d389] Segmentation fault at address (nil) Caught signal 11 (Segmentation fault). Server aborting raema@ubuntu:~$ in second terminal: raema@ubuntu:~$ DISPLAY=:99 xinput list XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":99.0" after 16 requests (15 known processed) with 0 events remaining. ** Changed in: xorg-server (Ubuntu) Status: New => Confirmed -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 933745] Re: Xvfb: any use of the XInput extension causes Xvfb to crash
** Changed in: xorg-server (Debian) Status: Unknown => Fix Released -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs