Summary: | Segmentation fault in AnimCurCancelTimer with multiseat when removing/adding input devices on second seat | ||
---|---|---|---|
Product: | xorg | Reporter: | Christiaan <chris7nl> |
Component: | Server/Input/Core | Assignee: | Xorg Project Team <xorg-team> |
Status: | RESOLVED FIXED | QA Contact: | Xorg Project Team <xorg-team> |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Christiaan
2018-03-27 09:22:07 UTC
The USB unbind, bind doesn't always produce a segmentation fault. The following command sequence always produce the segmentation fault: # export DISPLAY=:1.0 # xinput create-master touch1 Same problem on computers with a single graphics card. Tested this on two computers. In debugger segmentation fault with "xinput create-master". Without debugger segmentation fault with "xinput remove-master". # export DISPLAY=:0 # xinput ⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ Logitech Optical USB Mouse id=7 [slave pointer (2)] ⎣ Virtual core keyboard id=3 [master keyboard (2)] ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] ↳ HID 046a:0011 id=6 [slave keyboard (3)] # xinput create-master touch1 # xinput ⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ Logitech Optical USB Mouse id=7 [slave pointer (2)] ⎣ Virtual core keyboard id=3 [master keyboard (2)] ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] ↳ HID 046a:0011 id=6 [slave keyboard (3)] ⎡ touch1 pointer id=8 [master pointer (9)] ⎜ ↳ touch1 XTEST pointer id=10 [slave pointer (8)] ⎣ touch1 keyboard id=9 [master keyboard (8)] ↳ touch1 XTEST keyboard id=11 [slave keyboard (9)] # xinput remove-master "touch1 pointer" XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0" after 18 requests (18 known processed) with 0 events remaining. commit 9d5af632fde0373babfa32e66a59cfbf26ed7e5d Author: Adam Jackson <ajax@redhat.com> Date: Mon Apr 23 15:21:14 2018 -0400 animcur: Fix crash when removing a master device Reproducer: $ Xvfb -ac -noreset :1 & $ DISPLAY=:1 xinput create-master touch1 $ DISPLAY=:1 xinput remove-master "touch1 pointer" Bugzilla: https://bugs.freedesktop.org/105761 Signed-off-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> |
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.