Bug 88035 - Segfault if reciever for Microsoft Sculpt Ergonomic keyboard plugged in
Summary: Segfault if reciever for Microsoft Sculpt Ergonomic keyboard plugged in
Status: RESOLVED DUPLICATE of bug 81885
Alias: None
Product: xorg
Classification: Unclassified
Component: Input/evdev (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: medium normal
Assignee: Peter Hutterer
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-05 02:16 UTC by Kyle Blake
Modified: 2015-01-05 09:40 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Xorg.0.log (39.42 KB, text/plain)
2015-01-05 02:16 UTC, Kyle Blake
no flags Details
xorg-server-1.12-ia64-fix_inx_outx.patch (1.70 KB, patch)
2015-01-05 03:29 UTC, Kyle Blake
no flags Details | Splinter Review
xorg-server-1.12-unloadsubmodule.patch (1.34 KB, patch)
2015-01-05 03:29 UTC, Kyle Blake
no flags Details | Splinter Review

Description Kyle Blake 2015-01-05 02:16:17 UTC
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
Comment 1 Peter Hutterer 2015-01-05 02:48:38 UTC
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?
Comment 2 Kyle Blake 2015-01-05 03:27:25 UTC
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.
Comment 3 Kyle Blake 2015-01-05 03:29:00 UTC
Created attachment 111746 [details] [review]
xorg-server-1.12-ia64-fix_inx_outx.patch
Comment 4 Kyle Blake 2015-01-05 03:29:39 UTC
Created attachment 111747 [details] [review]
xorg-server-1.12-unloadsubmodule.patch
Comment 5 Kyle Blake 2015-01-05 03:49:10 UTC
Just tested without any patches, it still crashes.
Comment 6 Peter Hutterer 2015-01-05 04:08:28 UTC
Probably dupe of bug 81885 then, can you test 1.16.2?
Comment 7 Kyle Blake 2015-01-05 07:07:43 UTC
Yep, that fixed it. Thanks.
Comment 8 Peter Hutterer 2015-01-05 09:40:57 UTC

*** 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.