← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 838958] [NEW] Xorg crashes during use, probably due to synaptics or bcm5974 driver

 

Public bug reported:

During use, X randomly crashes and restarts.  This does not seem to be
related to anything the user is doing at the time.  Syslog indicates
some interesting things happening with the bcm5974 driver when the crash
occurs.  However, the same behavior also often occurs without resulting
in a crash.  In the attached log files, the crash occurred at 09:41:29.

This is what syslog looks like:
Sep  1 09:41:00 igor-mbp kernel: [375971.850127] usb 7-2: new full speed USB device using uhci_hcd and address 47
Sep  1 09:41:00 igor-mbp kernel: [375972.100371] input: Apple, Inc. Apple Internal Keyboard / Trackpad as /devices/pci0000:00/0000:00:1d.2/usb7/7-2/7-2:1.0/input/input1359
Sep  1 09:41:00 igor-mbp kernel: [375972.100502] apple 0003:05AC:0230.0542: input,hidraw1: USB HID v1.11 Keyboard [Apple, Inc. Apple Internal Keyboard / Trackpad] on usb-0000:00:1d.2-2/input0
Sep  1 09:41:00 igor-mbp kernel: [375972.285943] usb 7-2: ctrl urb status -75 received
Sep  1 09:41:00 igor-mbp kernel: [375972.286084] apple 0003:05AC:0230.0543: hidraw2: USB HID v1.11 Device [Apple, Inc. Apple Internal Keyboard / Trackpad] on usb-0000:00:1d.2-2/input1
Sep  1 09:41:00 igor-mbp kernel: [375972.289086] input: bcm5974 as /devices/pci0000:00/0000:00:1d.2/usb7/7-2/7-2:1.2/input/input1360
Sep  1 09:41:00 igor-mbp kernel: [375972.291368] hub 7-0:1.0: port 2 disabled by hub (EMI?), re-enabling...
Sep  1 09:41:00 igor-mbp kernel: [375972.291375] usb 7-2: USB disconnect, address 47
Sep  1 09:41:01 igor-mbp kernel: [375972.780050] usb 7-2: new full speed USB device using uhci_hcd and address 48
Sep  1 09:41:01 igor-mbp kernel: [375973.020456] input: Apple, Inc. Apple Internal Keyboard / Trackpad as /devices/pci0000:00/0000:00:1d.2/usb7/7-2/7-2:1.0/input/input1361
Sep  1 09:41:01 igor-mbp kernel: [375973.020574] apple 0003:05AC:0230.0544: input,hidraw1: USB HID v1.11 Keyboard [Apple, Inc. Apple Internal Keyboard / Trackpad] on usb-0000:00:1d.2-2/input0
Sep  1 09:41:01 igor-mbp kernel: [375973.492216] apple 0003:05AC:0230.0545: hidraw2: USB HID v1.11 Device [Apple, Inc. Apple Internal Keyboard / Trackpad] on usb-0000:00:1d.2-2/input1
Sep  1 09:41:01 igor-mbp kernel: [375973.494477] input: bcm5974 as /devices/pci0000:00/0000:00:1d.2/usb7/7-2/7-2:1.2/input/input1362
Sep  1 09:41:07 igor-mbp kernel: [375979.540466] hub 7-0:1.0: port 2 disabled by hub (EMI?), re-enabling...
Sep  1 09:41:07 igor-mbp kernel: [375979.540480] usb 7-2: USB disconnect, address 48
Sep  1 09:41:07 igor-mbp kernel: [375979.541920] bcm5974: bcm5974: button urb failed: -19
Sep  1 09:41:07 igor-mbp kernel: [375979.690184] bcm5974: bcm5974: could not read from device
Sep  1 09:41:08 igor-mbp kernel: [375980.090086] usb 7-2: new full speed USB device using uhci_hcd and address 49
Sep  1 09:41:08 igor-mbp kernel: [375980.320378] input: Apple, Inc. Apple Internal Keyboard / Trackpad as /devices/pci0000:00/0000:00:1d.2/usb7/7-2/7-2:1.0/input/input1363
Sep  1 09:41:08 igor-mbp kernel: [375980.320510] apple 0003:05AC:0230.0546: input,hidraw1: USB HID v1.11 Keyboard [Apple, Inc. Apple Internal Keyboard / Trackpad] on usb-0000:00:1d.2-2/input0
Sep  1 09:41:08 igor-mbp kernel: [375980.503975] usb 7-2: ctrl urb status -75 received
Sep  1 09:41:08 igor-mbp kernel: [375980.504216] apple 0003:05AC:0230.0547: hidraw2: USB HID v1.11 Device [Apple, Inc. Apple Internal Keyboard / Trackpad] on usb-0000:00:1d.2-2/input1
Sep  1 09:41:08 igor-mbp kernel: [375980.507235] input: bcm5974 as /devices/pci0000:00/0000:00:1d.2/usb7/7-2/7-2:1.2/input/input1364
Sep  1 09:41:08 igor-mbp kernel: [375980.550429] hub 7-0:1.0: port 2 disabled by hub (EMI?), re-enabling...
Sep  1 09:41:08 igor-mbp kernel: [375980.550443] usb 7-2: USB disconnect, address 49
Sep  1 09:41:08 igor-mbp kernel: [375980.550661] bcm5974: bcm5974: could not read from device
Sep  1 09:41:08 igor-mbp kernel: [375980.550670] bcm5974: mode switch failed
Sep  1 09:41:09 igor-mbp kernel: [375981.090115] usb 7-2: new full speed USB device using uhci_hcd and address 50
Sep  1 09:41:09 igor-mbp kernel: [375981.330212] input: Apple, Inc. Apple Internal Keyboard / Trackpad as /devices/pci0000:00/0000:00:1d.2/usb7/7-2/7-2:1.0/input/input1365
Sep  1 09:41:09 igor-mbp kernel: [375981.330349] apple 0003:05AC:0230.0548: input,hidraw1: USB HID v1.11 Keyboard [Apple, Inc. Apple Internal Keyboard / Trackpad] on usb-0000:00:1d.2-2/input0
Sep  1 09:41:10 igor-mbp kernel: [375981.800252] apple 0003:05AC:0230.0549: hidraw2: USB HID v1.11 Device [Apple, Inc. Apple Internal Keyboard / Trackpad] on usb-0000:00:1d.2-2/input1
Sep  1 09:41:10 igor-mbp kernel: [375981.802389] input: bcm5974 as /devices/pci0000:00/0000:00:1d.2/usb7/7-2/7-2:1.2/input/input1366
Sep  1 09:41:18 igor-mbp kernel: [375990.050240] hub 7-0:1.0: port 2 disabled by hub (EMI?), re-enabling...
Sep  1 09:41:18 igor-mbp kernel: [375990.050255] usb 7-2: USB disconnect, address 50
Sep  1 09:41:18 igor-mbp kernel: [375990.053934] bcm5974: bcm5974: button urb failed: -19
Sep  1 09:41:18 igor-mbp kernel: [375990.240405] bcm5974: bcm5974: could not read from device
Sep  1 09:41:18 igor-mbp kernel: [375990.580250] usb 7-2: new full speed USB device using uhci_hcd and address 51
Sep  1 09:41:19 igor-mbp kernel: [375990.830261] input: Apple, Inc. Apple Internal Keyboard / Trackpad as /devices/pci0000:00/0000:00:1d.2/usb7/7-2/7-2:1.0/input/input1367
Sep  1 09:41:19 igor-mbp kernel: [375990.830386] apple 0003:05AC:0230.054A: input,hidraw1: USB HID v1.11 Keyboard [Apple, Inc. Apple Internal Keyboard / Trackpad] on usb-0000:00:1d.2-2/input0
Sep  1 09:41:19 igor-mbp kernel: [375991.301211] apple 0003:05AC:0230.054B: hidraw2: USB HID v1.11 Device [Apple, Inc. Apple Internal Keyboard / Trackpad] on usb-0000:00:1d.2-2/input1
Sep  1 09:41:19 igor-mbp kernel: [375991.304097] input: bcm5974 as /devices/pci0000:00/0000:00:1d.2/usb7/7-2/7-2:1.2/input/input1368
Sep  1 09:41:27 igor-mbp kernel: [375999.540607] hub 7-0:1.0: port 2 disabled by hub (EMI?), re-enabling...
Sep  1 09:41:27 igor-mbp kernel: [375999.540621] usb 7-2: USB disconnect, address 51
Sep  1 09:41:27 igor-mbp kernel: [375999.541957] bcm5974: bcm5974: button urb failed: -19
Sep  1 09:41:27 igor-mbp kernel: [375999.690215] bcm5974: bcm5974: could not read from device
Sep  1 09:41:28 igor-mbp kernel: [376000.060288] usb 7-2: new full speed USB device using uhci_hcd and address 52
Sep  1 09:41:28 igor-mbp kernel: [376000.300199] input: Apple, Inc. Apple Internal Keyboard / Trackpad as /devices/pci0000:00/0000:00:1d.2/usb7/7-2/7-2:1.0/input/input1369
Sep  1 09:41:28 igor-mbp kernel: [376000.300327] apple 0003:05AC:0230.054C: input,hidraw1: USB HID v1.11 Keyboard [Apple, Inc. Apple Internal Keyboard / Trackpad] on usb-0000:00:1d.2-2/input0
Sep  1 09:41:28 igor-mbp kernel: [376000.770268] apple 0003:05AC:0230.054D: hidraw2: USB HID v1.11 Device [Apple, Inc. Apple Internal Keyboard / Trackpad] on usb-0000:00:1d.2-2/input1
Sep  1 09:41:28 igor-mbp kernel: [376000.772237] input: bcm5974 as /devices/pci0000:00/0000:00:1d.2/usb7/7-2/7-2:1.2/input/input1370
Sep  1 09:41:29 igor-mbp kernel: [376001.040209] hub 7-0:1.0: port 2 disabled by hub (EMI?), re-enabling...
Sep  1 09:41:29 igor-mbp kernel: [376001.040223] usb 7-2: USB disconnect, address 52
Sep  1 09:41:29 igor-mbp kernel: [376001.043964] bcm5974: bcm5974: trackpad urb failed: -19
Sep  1 09:41:29 igor-mbp kernel: [376001.190461] bcm5974: bcm5974: could not read from device
Sep  1 09:41:29 igor-mbp kernel: [376001.560160] usb 7-2: new full speed USB device using uhci_hcd and address 53
Sep  1 09:41:29 igor-mbp kernel: [376001.770577] Xorg[12367]: segfault at 158 ip 00007f5917b43167 sp 00007fffa4ae8d60 error 4 in synaptics_drv.so[7f5917b40000+e000]
Sep  1 09:41:30 igor-mbp kernel: [376001.810550] input: Apple, Inc. Apple Internal Keyboard / Trackpad as /devices/pci0000:00/0000:00:1d.2/usb7/7-2/7-2:1.0/input/input1371
Sep  1 09:41:30 igor-mbp kernel: [376001.810752] apple 0003:05AC:0230.054E: input,hidraw1: USB HID v1.11 Keyboard [Apple, Inc. Apple Internal Keyboard / Trackpad] on usb-0000:00:1d.2-2/input0
Sep  1 09:41:30 igor-mbp kernel: [376001.942972] usb 7-2: ctrl urb status -75 received
Sep  1 09:41:30 igor-mbp kernel: [376001.980216] apple 0003:05AC:0230.054F: hidraw2: USB HID v1.11 Device [Apple, Inc. Apple Internal Keyboard / Trackpad] on usb-0000:00:1d.2-2/input1
Sep  1 09:41:30 igor-mbp kernel: [376001.983044] input: bcm5974 as /devices/pci0000:00/0000:00:1d.2/usb7/7-2/7-2:1.2/input/input1372
Sep  1 09:41:30 igor-mbp kernel: [376002.040078] hub 7-0:1.0: port 2 disabled by hub (EMI?), re-enabling...
Sep  1 09:41:30 igor-mbp kernel: [376002.040085] usb 7-2: USB disconnect, address 53


This is what's in the Xorg log file at the time of crash:
[376006.230] (EE) xf86OpenSerial: Cannot open device /dev/input/event10
	Input/output error.
[376006.230] (WW) bcm5974: cannot open input device
[376006.230] [dix] couldn't enable device 15
[376006.230] (EE) Couldn't init device "bcm5974"
[376006.230] (II) UnloadModule: "synaptics"
[376006.230] (II) Unloading synaptics
[376006.231] (II) config/udev: Adding input device bcm5974 (/dev/input/mouse1)
[376006.231] (II) No input driver/identifier specified (ignoring)
[376006.380] (II) config/udev: removing device Apple, Inc. Apple Internal Keyboa
rd / Trackpad
[376006.380] (II) Apple, Inc. Apple Internal Keyboard / Trackpad: Close
[376006.380] (II) UnloadModule: "evdev"
[376006.380] (II) Unloading evdev
[376006.420] (II) config/udev: removing device bcm5974
[376006.420] 
Backtrace:
[376006.421] 0: /usr/bin/X (xorg_backtrace+0x26) [0x45cef6]
[376006.421] 1: /usr/bin/X (0x400000+0x5ad2a) [0x45ad2a]
[376006.421] 2: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7f4b170a8000+0xfc60) [0
x7f4b170b7c60]
[376006.421] 3: /usr/lib/xorg/modules/input/synaptics_drv.so (0x7f4b10283000+0x3
167) [0x7f4b10286167]
[376006.421] 4: /usr/bin/X (0x400000+0x45a92) [0x445a92]
[376006.421] 5: /usr/bin/X (RemoveDevice+0x169) [0x448fc9]
[376006.421] 6: /usr/bin/X (DeleteInputDeviceRequest+0x41) [0x4893e1]
[376006.421] 7: /usr/bin/X (0x400000+0x6a123) [0x46a123]
[376006.421] 8: /usr/bin/X (0x400000+0x6a1ff) [0x46a1ff]
[376006.421] 9: /usr/bin/X (0x400000+0x80f8a) [0x480f8a]
[376006.421] 10: /usr/bin/X (0x400000+0x81998) [0x481998]
[376006.421] 11: /usr/bin/X (WakeupHandler+0x4b) [0x436b6b]
[376006.421] 12: /usr/bin/X (WaitForSomething+0x1b6) [0x464566]
[376006.421] 13: /usr/bin/X (0x400000+0x40f32) [0x440f32]
[376006.421] 14: /usr/bin/X (0x400000+0x21a7e) [0x421a7e]
[376006.421] 15: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xff) [0x7f4
b15ff1eff]
[376006.421] 16: /usr/bin/X (0x400000+0x21629) [0x421629]
[376006.421] Segmentation fault at address 0x1a9
[376006.421] 
Caught signal 11 (Segmentation fault). Server aborting
[376006.421] 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[376006.421] Please also check the log file at "/var/log/Xorg.0.log" for additio
nal information.
[376006.421] 

I have attached the log files.

Ubuntu release: Ubuntu 11.04 x86-64
Kernel: 2.6.38-11-generic
xserver-xorg-input-synaptics: 1.3.99+git20110116.0e27ce3a-0ubuntu12.1
Hardware platform: MacBookPro4,1 (early 2008 Macbook Pro, 15")
Other relevant details: external mouse and keyboard connected via USB hub

** Affects: xserver-xorg-input-synaptics (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-input-synaptics in Ubuntu.
https://bugs.launchpad.net/bugs/838958

Title:
  Xorg crashes during use, probably due to synaptics or bcm5974 driver

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-synaptics/+bug/838958/+subscriptions


Follow ups

References