Created attachment 111743 [details] Xorg.0.log If the receiver for the Microsoft Sculpt Ergonomic keyboard is plugged in (or if it was already plugged in and the server is starting), the X server segfaults immediately. This occurs regardless of whether there is anything connected to the receiver or not. The error message is as follows: Backtrace: 0: /usr/bin/X (xorg_backtrace+0x49) [0x588779] 1: /usr/bin/X (0x400000+0x18c649) [0x58c649] 2: /lib64/libc.so.6 (0x7f620a390000+0x37270) [0x7f620a3c7270] 3: /usr/bin/X (0x400000+0x141829) [0x541829] 4: /usr/bin/X (EnableDevice+0x231) [0x434951] 5: /usr/bin/X (0x400000+0x867e7) [0x4867e7] 6: /usr/bin/X (0x400000+0x9c4c9) [0x49c4c9] 7: /usr/bin/X (0x400000+0x9ca33) [0x49ca33] 8: /usr/bin/X (config_init+0x9) [0x49b699] 9: /usr/bin/X (InitInput+0xab) [0x47a19b] 10: /usr/bin/X (0x400000+0x3f1d9) [0x43f1d9] 11: /lib64/libc.so.6 (__libc_start_main+0xf0) [0x7f620a3b32c0] 12: /usr/bin/X (0x400000+0x2aa71) [0x42aa71] Segmentation fault at address 0xb8
is this a vanilla setup or are there any patches applied? Tried to reproduce here (I have the same keyboard) and it works fine on 1.16.1 evdev 2.9.1. Can you build with debug symbols enabled so we get an idea of where the segfault is?
New backtrace: Backtrace: 0: /usr/bin/X (OsSigHandler+0x29) [0x58c9a9] 1: /lib64/libc.so.6 (killpg+0x40) [0x7f9da239c2af] 2: /usr/bin/X (XkbPushLockedStateToSlaves+0x99) [0x541a59] 3: /usr/bin/X (EnableDevice+0x231) [0x434b81] 4: /usr/bin/X (xf86NewInputDevice+0x4f7) [0x486a17] 5: /usr/bin/X (device_added+0x859) [0x49c6f9] 6: /usr/bin/X (config_udev_init+0xc3) [0x49cc63] 7: /usr/bin/X (config_init+0x9) [0x49b8c9] 8: /usr/bin/X (InitInput+0xab) [0x47a3cb] 9: /usr/bin/X (dix_main+0x389) [0x43f409] 10: /lib64/libc.so.6 (__libc_start_main+0xf0) [0x7f9da23882c0] 11: /usr/bin/X (_start+0x29) [0x42aca1] 12: ? (?+0x29) [0x29] Segmentation fault at address 0xb8 I'm using the same versions, but it looks like gentoo has two patches applied to the X server. I'll attach them.
Created attachment 111746 [details] [review] xorg-server-1.12-ia64-fix_inx_outx.patch
Created attachment 111747 [details] [review] xorg-server-1.12-unloadsubmodule.patch
Just tested without any patches, it still crashes.
Probably dupe of bug 81885 then, can you test 1.16.2?
Yep, that fixed it. Thanks.
*** This bug has been marked as a duplicate of bug 81885 ***
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.