← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 599781] [NEW] X crashes when reconnecting USB devices via a KVM switch

 

Public bug reported:

Binary package hint: xorg

I upgraded from Karmic to Lucid (64-bit).

Previously with Karmic, I have been able to disconnect and reconnect my
USB input devices (Kinesis Advantage USB keyboard and Wacom Graphire 2
tablet connected to an Apple Cinema Display connected to a Belkin KVM
switch) by using the KVM switch.

Now with Lucid, switching the USB devices back to the Ubuntu box
sometimes crashes X when the Wacom tablet is detected.

Details:
* The KVM switch identifies itself as No brand Combo Free KVM - 10d5:5000 Uni Class Technology Co., Ltd

* The KVM switch has dedicated ports for mouse and keyboard for the
purpose of faking the continuous presence of the mouse and keyboard to
two computers. That function of the KVM switch doesn't work, so I have
instead connected my input devices to a USB hub port of the KVM switch.
Using this port is equivalent to disconnecting and reconnecting the USB
devices when the KVM switch toggles between computers.

* Typically, after reconnecting the Wacom tablet, it takes a couple of
seconds for the LED on the tablet to light up and the tablet to become
operational. This means I have a couple of seconds to see X when
switching back to the Ubuntu box and X dies when the LED on the tablet
lights up.

* Once X dies, I see the kind of text briefly that one would sometimes
see when shutting down a Ubuntu Live system. Then I'm taken back to the
login screen.

* If I switch back and forth quickly in order to provoke the problem, it
doesn't happen. It seems to happen when the USB devices have been
disconnected at least a couple of minutes before reconnecting.

* If I press keys on the keyboard and/or try to tap the tablet with the
tip of the stylus after connecting the devices but before the LED on the
wacom tablet lights up, the crash is more probable.

Backtrace from a provoked crash per the last point above:
Program received signal SIGSEGV, Segmentation fault.
0x0000000000438a10 in IsMaster ()
(gdb) backtrace full
#0  0x0000000000438a10 in IsMaster ()
No symbol table info available.
#1  0x000000000045bbf9 in miPointerGetScreen ()
No symbol table info available.
#2  0x00007f34ffe6bd9e in ?? () from /usr/lib/xorg/modules/input/wacom_drv.so
No symbol table info available.
#3  0x00007f34ffe6f72b in ?? () from /usr/lib/xorg/modules/input/wacom_drv.so
No symbol table info available.
#4  0x00007f34ffe68de3 in ?? () from /usr/lib/xorg/modules/input/wacom_drv.so
No symbol table info available.
#5  0x00007f34ffe68ead in ?? () from /usr/lib/xorg/modules/input/wacom_drv.so
No symbol table info available.
#6  0x000000000046fca7 in ?? ()
No symbol table info available.
#7  0x000000000051d1c3 in ?? ()
No symbol table info available.
#8  <signal handler called>
No symbol table info available.
#9  0x00007f3505cfa980 in __close_nocancel () at ../sysdeps/unix/syscall-template.S:82
No locals.
#10 0x00007f34ffe6cee0 in ?? () from /usr/lib/xorg/modules/input/wacom_drv.so
No symbol table info available.
#11 0x000000000047d5d7 in ?? ()
No symbol table info available.
#12 0x000000000047d9eb in ?? ()
No symbol table info available.
#13 0x00007f34ffe71fbf in ?? () from /usr/lib/xorg/modules/input/wacom_drv.so
No symbol table info available.
#14 0x00007f34ffe6cf6a in ?? () from /usr/lib/xorg/modules/input/wacom_drv.so
No symbol table info available.
#15 0x000000000047d5d7 in ?? ()
No symbol table info available.
#16 0x000000000047d9eb in ?? ()
No symbol table info available.
#17 0x000000000045a702 in ?? ()
No symbol table info available.
#18 0x000000000045a938 in ?? ()
No symbol table info available.
#19 0x0000000000435f2b in WakeupHandler ()
No symbol table info available.
#20 0x000000000045f997 in WaitForSomething ()
No symbol table info available.
#21 0x0000000000430952 in ?? ()
No symbol table info available.
#22 0x00000000004261aa in _start ()
No symbol table info available.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: xorg 1:7.5+5ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Tue Jun 29 15:33:20 2010
DkmsStatus:
 nvidia-current, 195.36.24, 2.6.32-22-generic, x86_64: installed 
 virtualbox-ose-guest, 3.1.6, 2.6.32-22-generic, x86_64: installed 
 virtualbox-ose, 3.1.6, 2.6.32-22-generic, x86_64: installed
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
MachineType: Shuttle Inc. SX58
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-22-generic root=UUID=3e7e293d-889e-4f5e-aac7-a0067e6f9bdb ro quiet splash
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: xorg
dmi.bios.date: 05/21/2009
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 080016
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: SX58
dmi.board.vendor: Shuttle Inc.
dmi.board.version: V10
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: Intel
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr080016:bd05/21/2009:svnShuttleInc.:pnSX58:pvrV10:rvnShuttleInc.:rnSX58:rvrV10:cvnIntel:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: SX58
dmi.product.version: V10
dmi.sys.vendor: Shuttle Inc.
system:
 distro:             Ubuntu
 codename:           lucid
 architecture:       x86_64
 kernel:             2.6.32-22-generic

** Affects: xorg (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug hardy lucid

-- 
X crashes when reconnecting USB devices via a KVM switch
https://bugs.launchpad.net/bugs/599781
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg in ubuntu.



Follow ups

References