Buttonpress on XBox 360 Controller as evdev input causes Xorg to crash.

Bug #277917 reported by Philip Kovac
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xserver-xorg-input-evdev (Ubuntu)
Invalid
High
Unassigned

Bug Description

Binary package hint: xorg

In Ubuntu Intrepid, upon pressing a button when Xorg is using a Wired XBox 360 Controller as evdev input, Xorg crashes.

lsb_release -rd returns:
Description: Ubuntu intrepid (development branch)
Release: 8.10

The logfile for Xorg contains the following relevant lines:

(WW) Microsoft X-Box 360 pad: unable to handle keycode 304

Backtrace:
0: /usr/X11R6/bin/X(xf86SigHandler+0x65) [0x481005]
1: /lib/libc.so.6 [0x7f39b16de060]
2: /usr/X11R6/bin/X(GetKeyboardValuatorEvents+0x3c) [0x45db2c]
3: /usr/X11R6/bin/X(GetKeyboardEvents+0x17) [0x45deb7]
4: /usr/X11R6/bin/X(xf86PostKeyboardEvent+0x62) [0x497ab2]
5: /usr/lib/xorg/modules/input//evdev_drv.so [0x7f39add04639]
6: /usr/X11R6/bin/X [0x4811b5]
7: /usr/X11R6/bin/X [0x471ce7]
8: /lib/libpthread.so.0 [0x7f39b31270f0]
9: /lib/libc.so.6(ioctl+0x7) [0x7f39b1789a17]
10: /usr/lib/xorg/modules/input//evdev_drv.so [0x7f39add04aa9]
11: /usr/lib/xorg/modules/input//evdev_drv.so [0x7f39add05bad]
12: /usr/X11R6/bin/X(EnableDevice+0x94) [0x446b84]
13: /usr/X11R6/bin/X(NewInputDeviceRequest+0x3c8) [0x4988c8]
14: /usr/X11R6/bin/X [0x467636]
15: /usr/X11R6/bin/X [0x467b95]
16: /usr/X11R6/bin/X [0x466c2d]
17: /usr/X11R6/bin/X [0x4eac48]
18: /usr/X11R6/bin/X(WaitForSomething+0x56b) [0x4eb29b]
19: /usr/X11R6/bin/X(Dispatch+0x7f) [0x44d4bf]
20: /usr/X11R6/bin/X(main+0x45d) [0x43378d]
21: /lib/libc.so.6(__libc_start_main+0xe6) [0x7f39b16c9466]
22: /usr/X11R6/bin/X [0x432b69]
Saw signal 11. Server aborting.
(II) saa7134 IR (Encore ENLTV-FM): Close
(II) UnloadModule: "evdev"
(II) Microsoft X-Box 360 pad: Close
(II) UnloadModule: "evdev"
(II) USB Keyboard: Close
(II) UnloadModule: "evdev"
(II) USB Keyboard: Close
(II) UnloadModule: "evdev"
[lspci]
00:00.0 Host bridge [0600]: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller [8086:29c0] (rev 02)
     Subsystem: Micro-Star International Co., Ltd. Device [1462:7360]
01:00.0 VGA compatible controller [0300]: nVidia Corporation GeForce 8500 GT [10de:0421] (rev a1)
     Subsystem: Micro-Star International Co., Ltd. Device [1462:0960]

Revision history for this message
Mackenzie Morgan (maco.m) wrote :

Assigning high importance since while this won't affect many people, X is a pretty big thing to crash.

Changed in xorg:
importance: Undecided → High
Revision history for this message
Julio Lajara (ju2wheels) wrote :

I can confirm this. Using Intrepid A6 64bit. It causes your session to be terminated and brings you to a GDM login screen and continues to crash in and out until you unplug the controller as the GDM login screen returns. It happens when you press any button other than the dpads. The dpads work fine and move the mouse cursor around.

Revision history for this message
Philip Kovac (pkovac) wrote :

I filed a bug noting the "automatically used as mouse" thing, where you may want to possibly post a confirmation response as well. Bug #277915 .

(I apologize to the developers responding to these if it's spammy, but they're two separate, yet related, issues. Figured there may be more discussion about the "automatically used as mouse" problem than this one, which is a simple, old-fashioned bug rather than an arguably bad behavior.)

Revision history for this message
Bryce Harrington (bryce) wrote :

Please attach the output of `lspci -vvnn`, and attach your /var/log/Xorg.0.log file from after reproducing this issue. If you've made any customizations to your /etc/X11/xorg.conf please attach that as well.

Changed in xorg:
status: New → Incomplete
Revision history for this message
Philip Kovac (pkovac) wrote :
Revision history for this message
Philip Kovac (pkovac) wrote :
Revision history for this message
Philip Kovac (pkovac) wrote :

My xorg.conf is unmodified, though it seems that a configuration change was made by a tool to explicitly use the 'nvidia' driver. Aside from that one line in the Device entry, it is all empty blocks.

Revision history for this message
chourmovs (chourmovs) wrote :

I've noticed the same problem since alpha 5 release and xserver version 1.5
I've nvidia driver installed too
still not resolved

Revision history for this message
Julio Lajara (ju2wheels) wrote :

I can also confirm this on Intrepid A6 x86_64.

The analog pads work fine for moving the mouse, but when you press any button it causes Xorg, to crash and log you out. It will continue to crash and restart until you unplug the controller as Xorg restarts itself.

Revision history for this message
Bryce Harrington (bryce) wrote :

Please collect a full backtrace on this crash. See http://wiki.ubuntu.com/X/Backtracing for directions.

Bryce Harrington (bryce)
description: updated
Bryce Harrington (bryce)
Changed in xserver-xorg-input-evdev (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Bryce Harrington (bryce) wrote :

We're closing this bug since it is has been some time with no response from the original reporter. However, if the issue still exists please feel free to reopen with the requested information. Also, if you could, please test against the latest development version of Ubuntu, since this confirms the bug is one we may be able to pass upstream for help.

Changed in xserver-xorg-input-evdev (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Martin Seifert (martinseifert) wrote :

I tried to get the full backtrace you wanted but was not able to, because I had no second computer for remote login at hand. The good news are the XBox 360 Controller works fine under Ubuntu Jaunty Jackolope Beta, no more crashes here.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.