When I plug in a USB mouse (or keyboard, but I don't normally do that) into
this laptop, the first event -- mouse movement -- causes some applications to
crash with a memory corruption message from malloc.
Applications which reliably crash every time are audacious, cairo-dock and
zenity. However, if re-started, they may or may not crash again.
If usbhid is blacklisted, no crashes occur, although, obviously, the mouse
does not work. I can use the built-in trackpad.
I've tried a "vanilla" kernel compiled from source (although not the Debian
way; sorry) and the result is the same. I don't know much about kernel modules
and memory, so I don't know how to provide more useful information.
Obviously usbhid must be in use on every linux desktop or laptop in the world,
and I've found no other reports of similar problems. Am I the only person
using 64-bit linux on a dual-core Intel Atom?
** Kernel log:
[ 17.555112] hub 4-0:1.0: USB hub found
[ 17.555147] hub 4-0:1.0: 2 ports detected
[ 17.555743] uhci_hcd 0000:00:1d.3: PCI INT D -> GSI 16 (level, low) -> IRQ 16
[ 17.555778] uhci_hcd 0000:00:1d.3: setting latency timer to 64
[ 17.555791] uhci_hcd 0000:00:1d.3: UHCI Host Controller
[ 17.555847] uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5
[ 17.556277] uhci_hcd 0000:00:1d.3: irq 16, io base 0x00001880
[ 17.556554] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001
[ 17.556568] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 17.556579] usb usb5: Product: UHCI Host Controller
[ 17.556589] usb usb5: Manufacturer: Linux 3.2.0-3-rt-amd64 uhci_hcd
[ 17.556599] usb usb5: SerialNumber: 0000:00:1d.3
[ 17.557482] hub 5-0:1.0: USB hub found
[ 17.557521] hub 5-0:1.0: 2 ports detected
[ 17.719424] snd_hda_intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[ 17.719582] snd_hda_intel 0000:00:1b.0: irq 47 for MSI/MSI-X
[ 17.719944] snd_hda_intel 0000:00:1b.0: setting latency timer to 64
[ 17.830380] Intel(R) Wireless WiFi Link AGN driver for Linux, in-tree:
[ 17.830386] Copyright(c) 2003-2011 Intel Corporation
[ 17.830577] iwlwifi 0000:05:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 17.830620] iwlwifi 0000:05:00.0: setting latency timer to 64
[ 17.830689] iwlwifi 0000:05:00.0: pci_resource_len = 0x00002000
[ 17.830696] iwlwifi 0000:05:00.0: pci_resource_base = ffffc90001c94000
[ 17.830703] iwlwifi 0000:05:00.0: HW Revision ID = 0x34
[ 17.831009] iwlwifi 0000:05:00.0: irq 48 for MSI/MSI-X
[ 17.831172] iwlwifi 0000:05:00.0: Detected Intel(R) Centrino(R) Wireless-N 130 BGN, REV=0xB0
[ 17.831564] iwlwifi 0000:05:00.0: L1 Enabled; Disabling L0S
[ 17.848570] iwlwifi 0000:05:00.0: device EEPROM VER=0x716, CALIB=0x6
[ 17.848577] iwlwifi 0000:05:00.0: Device SKU: 0X150
[ 17.848583] iwlwifi 0000:05:00.0: Valid Tx ant: 0X1, Valid Rx ant: 0X3
[ 17.848648] iwlwifi 0000:05:00.0: Tunable channels: 13 802.11bg, 0 802.11a channels
[ 17.996165] usb 1-8: new high-speed USB device number 4 using ehci_hcd
[ 18.076258] iwlwifi 0000:05:00.0: loaded firmware version 18.168.6.1
[ 18.078293] Registered led device: phy0-led
[ 18.131980] usb 1-8: New USB device found, idVendor=2232, idProduct=1020
[ 18.131988] usb 1-8: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 18.131994] usb 1-8: Product: WebCam SC-0311139N
[ 18.131999] usb 1-8: Manufacturer: Image Processor
[ 18.132003] usb 1-8: SerialNumber: SM3711
[ 18.139065] ieee80211 phy0: Selected rate control algorithm 'iwl-agn-rs'
[ 18.272469] Linux media interface: v0.10
[ 18.343946] Linux video capture interface: v2.00
[ 18.369757] input: PS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input7
[ 18.380188] usb 2-1: new low-speed USB device number 2 using uhci_hcd
[ 18.387060] uvcvideo: Found UVC 1.00 device WebCam SC-0311139N (2232:1020)
[ 18.391869] input: WebCam SC-0311139N as
/devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8:1.0/input/input8
[ 18.392522] usbcore: registered new interface driver uvcvideo
[ 18.392529] USB Video Class driver (1.1.1)
[ 18.548255] usb 2-1: New USB device found, idVendor=1bcf, idProduct=0007
[ 18.548263] usb 2-1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 18.548269] usb 2-1: Product: USB Optical Mouse
[ 18.706293] input: USB Optical Mouse as
/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0/input/input9
[ 18.707850] generic-usb 0003:1BCF:0007.0001: input,hiddev0,hidraw0: USB HID v1.10 Mouse [USB
Optical Mouse] on usb-0000:00:1d.0-1/input0
[ 18.707983] usbcore: registered new interface driver usbhid
[ 18.707990] usbhid: USB HID core driver
[ 18.788169] usb 3-2: new full-speed USB device number 2 using uhci_hcd
[ 18.941852] input: HDA Intel Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input10
[ 18.942477] input: HDA Intel Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11
[ 18.944179] usb 3-2: New USB device found, idVendor=8086, idProduct=0189
[ 18.944192] usb 3-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 19.389237] Bluetooth: Core ver 2.16
[ 19.389322] NET: Registered protocol family 31
[ 19.389330] Bluetooth: HCI device and connection manager initialized
[ 19.389344] Bluetooth: HCI socket layer initialized
[ 19.389352] Bluetooth: L2CAP socket layer initialized
[ 19.389396] Bluetooth: SCO socket layer initialized
[ 19.486905] Bluetooth: Generic Bluetooth USB driver ver 0.6
[ 19.488384] usbcore: registered new interface driver btusb
[ 20.795834] Adding 1983484k swap on /dev/sda5. Priority:-1 extents:1 across:1983484k
[ 21.163862] r8169 0000:09:00.0: PME# enabled
[ 21.352574] EXT3-fs (sda1): using internal journal
[ 21.805427] loop: module loaded
[ 24.074000] kjournald starting. Commit interval 5 seconds
[ 24.075088] EXT3-fs (sda6): using internal journal
[ 24.075100] EXT3-fs (sda6): mounted filesystem with ordered data mode
[ 25.384693] r8169 0000:09:00.0: PME# disabled
[ 25.598859] r8169 0000:09:00.0: eth0: link down
[ 25.598936] r8169 0000:09:00.0: eth0: link down
[ 25.600335] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 26.643851] RPC: Registered named UNIX socket transport module.
[ 26.643858] RPC: Registered udp transport module.
[ 26.643862] RPC: Registered tcp transport module.
[ 26.643866] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 26.758241] FS-Cache: Loaded
[ 26.920454] FS-Cache: Netfs 'nfs' registered for caching
[ 26.979587] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 27.221441] r8169 0000:09:00.0: eth0: link up
[ 27.222511] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 29.124853] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
[ 29.137403] NFSD: starting 90-second grace period
[ 30.453619] lp: driver loaded but no devices found
[ 30.497773] ppdev: user-space parallel port driver
[ 33.460963] Bluetooth: RFCOMM TTY layer initialized
[ 33.461010] Bluetooth: RFCOMM socket layer initialized
[ 33.461017] Bluetooth: RFCOMM ver 1.11
[ 33.577294] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 33.577312] Bluetooth: BNEP filters: protocol multicast
[ 34.035678] r8169 0000:09:00.0: eth0: link down
[ 35.599603] r8169 0000:09:00.0: eth0: link up
[ 38.024190] eth0: no IPv6 routers present
** Model information
sys_vendor: SAMSUNG ELECTRONICS CO., LTD.
product_name: NC210/NC110
product_version: Not Applicable
chassis_vendor: SAMSUNG ELECTRONICS CO., LTD.
chassis_version: N/A
bios_vendor: Phoenix Technologies Ltd.
bios_version: 01VG.M013.20110704.RHU
board_vendor: SAMSUNG ELECTRONICS CO., LTD.
board_name: NC210/NC110
board_version: Not Applicable
** Network interface configuration:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
Subsystem: Samsung Electronics Co Ltd Device [144d:c0a8]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR+ <PERR- INTx-
Latency: 0, Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 46
Region 0: I/O ports at 2000 [size=256]
Region 2: Memory at f050c000 (64-bit, prefetchable) [size=4K]
Region 4: Memory at f0508000 (64-bit, prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: r8169
** USB devices:
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 8086:0189 Intel Corp.
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 1bcf:0007 Sunplus Innovation Technology Inc. Optical Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 2232:1020
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Kernel: Linux 3.2.0-3-rt-amd64 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages linux-image-3.2.0-3-rt-amd64 depends on:
ii debconf [debconf-2.0] 1.5.36.1 Debian configuration management sy
ii initramfs-tools [linux-initra 0.103 generic modular initramfs generato
ii kmod 6-2 tools for managing Linux kernel mo
ii linux-base 3.5 Linux image base package
ii module-init-tools 6-2 transitional dummy package (module
Versions of packages linux-image-3.2.0-3-rt-amd64 recommends:
ii firmware-linux-free 3 Binary firmware for various driver
Versions of packages linux-image-3.2.0-3-rt-amd64 suggests:
pn debian-kernel- <none> (no description available)
ii grub-pc 1.98+20100804-14+squeeze1 GRand Unified Bootloader, version
pn linux-doc-3.2 <none> (no description available)
Versions of packages linux-image-3.2.0-3-rt-amd64 is related to:
pn firmware-atheros <none> (no description available)
pn firmware-bnx2 <none> (no description available)
pn firmware-bnx2x <none> (no description available)
pn firmware-brcm80211 <none> (no description available)
pn firmware-intelwimax <none> (no description available)
pn firmware-ipw2x00 <none> (no description available)
pn firmware-ivtv <none> (no description available)
ii firmware-iwlwifi 0.35 Binary firmware for Intel Wireless
pn firmware-libertas <none> (no description available)
pn firmware-linux <none> (no description available)
ii firmware-linux-nonfree 0.35 Binary firmware for various driver
pn firmware-myricom <none> (no description available)
pn firmware-netxen <none> (no description available)
pn firmware-qlogic <none> (no description available)
pn firmware-ralink <none> (no description available)
pn firmware-realtek <none> (no description available)
pn xen-hypervisor <none> (no description available)
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4FED87B4.8070801@annaghvarn.plus.com">http://lists.debian.org/4FED87B4.8070801@annaghvarn.plus.com
06-29-2012, 01:11 PM
Ben Hutchings
Bug#679519: linux-image-3.2.0-3-rt-amd64: usbhid causes crashes in applications by memory corruption
On Fri, 2012-06-29 at 11:47 +0100, Steve Graham wrote:
> Package: src:linux Version: 3.2.21-2
> X-Mailer: reportbug 4.12.6
> Date: Fri, 29 Jun 2012 11:26:06 +0100
>
> Severity: normal Tags: upstream
>
> When I plug in a USB mouse (or keyboard, but I don't normally do that) into
> this laptop, the first event -- mouse movement -- causes some applications to
> crash with a memory corruption message from malloc.
>
> Applications which reliably crash every time are audacious, cairo-dock and
> zenity. However, if re-started, they may or may not crash again.
>
> If usbhid is blacklisted, no crashes occur, although, obviously, the mouse
> does not work. I can use the built-in trackpad.
>
> I've tried a "vanilla" kernel compiled from source (although not the Debian
> way; sorry) and the result is the same.
Is that a standard (non-realtime) kernel? If not, can you also test a
standard kernel configuration (linux-image-3.2.0-3-amd64)?
> I don't know much about kernel modules
> and memory, so I don't know how to provide more useful information.
> Obviously usbhid must be in use on every linux desktop or laptop in the world,
> and I've found no other reports of similar problems. Am I the only person
> using 64-bit linux on a dual-core Intel Atom?
[...]
Probably not!
Please try booting with the extra kernel parameters: