[Bug 599781] Re: X crashes when reconnecting USB devices via a KVM switch
Instead of pasting a canned comment and closing as incomplete, it would be nice if you had instead resolved this Fix Released per comment 8. ** Changed in: linux (Ubuntu) Status: Incomplete = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/599781 Title: X crashes when reconnecting USB devices via a KVM switch To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/599781/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 599781] Re: X crashes when reconnecting USB devices via a KVM switch
Henri Sivonen, this bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? Can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ . If it remains an issue, could you run the following command in the development release from a Terminal (Applications-Accessories-Terminal). It will automatically gather and attach updated debug information to this report. apport-collect -p linux replace-with-bug-number Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream- testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'. If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'. If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'. Please let us know your results. Thanks in advance. ** Tags removed: crash hardy ** Tags added: needs-upstream-testing regression-release ** Description changed: 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. 0x00438a10 in IsMaster () (gdb) backtrace full #0 0x00438a10 in IsMaster () No symbol table info available. #1 0x0045bbf9 in miPointerGetScreen () No symbol table info available. #2 0x7f34ffe6bd9e in ?? () from /usr/lib/xorg/modules/input/wacom_drv.so No symbol table info available. #3 0x7f34ffe6f72b in ?? () from /usr/lib/xorg/modules/input/wacom_drv.so No symbol table info available. #4 0x7f34ffe68de3 in ?? () from /usr/lib/xorg/modules/input/wacom_drv.so No symbol table info available. #5 0x7f34ffe68ead in ?? () from /usr/lib/xorg/modules/input/wacom_drv.so No symbol table info available. #6 0x0046fca7 in ?? () No symbol table info available. #7 0x0051d1c3 in ?? () No symbol table info available. #8 signal handler called No symbol table info available. #9 0x7f3505cfa980 in __close_nocancel () at ../sysdeps/unix/syscall-template.S:82 No locals. #10 0x7f34ffe6cee0 in ?? () from /usr/lib/xorg/modules/input/wacom_drv.so No symbol table info available. #11 0x0047d5d7 in ?? () No symbol table info available. #12 0x0047d9eb in ?? () No symbol table info available. #13 0x7f34ffe71fbf in ?? () from /usr/lib/xorg/modules/input/wacom_drv.so No symbol table info available. #14 0x7f34ffe6cf6a in ?? () from /usr/lib/xorg/modules/input/wacom_drv.so No symbol table info available. #15 0x0047d5d7 in ?? () No
[Bug 599781] Re: X crashes when reconnecting USB devices via a KVM switch
By code inspection, it appears that the upstream fix is now in Natty. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/599781 Title: X crashes when reconnecting USB devices via a KVM switch -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 599781] Re: X crashes when reconnecting USB devices via a KVM switch
The problem is solved by applying the patch from http://sourceforge.net/mailarchive/forum.php?thread_name=aanlktinbx2rug9n7v1ugqk4zcyylupdsne4nye5n2%2...@mail.gmail.comforum_name =linuxwacom-devel to the wacom driver. Patched xf86-input-wacom is available in my PPA: https://launchpad.net/~hsivonen/+archive/ppa -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/599781 Title: X crashes when reconnecting USB devices via a KVM switch -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 599781] Re: X crashes when reconnecting USB devices via a KVM switch
Why has this been assigned to xserver-xorg-video-openchrome? AFAICT, what crashes is something related to the Wacom driver and to my knowledge my computer doesn't have the chipset that OpenChrome is a driver for. -- 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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 599781] Re: X crashes when reconnecting USB devices via a KVM switch
** Package changed: xserver-xorg-video-openchrome (Ubuntu) = linux (Ubuntu) -- 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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 599781] Re: X crashes when reconnecting USB devices via a KVM switch
** Tags added: crash ** Changed in: xserver-xorg-video-openchrome (Ubuntu) Status: New = Confirmed -- 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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 599781] Re: X crashes when reconnecting USB devices via a KVM switch
** Package changed: xorg (Ubuntu) = xserver-xorg-video-openchrome (Ubuntu) -- 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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 599781] Re: X crashes when reconnecting USB devices via a KVM switch
** Attachment added: Xorg.0.log http://launchpadlibrarian.net/5513/Xorg.0.log ** Attachment added: BootDmesg.txt http://launchpadlibrarian.net/5193/BootDmesg.txt ** Attachment added: CurrentDmesg.txt http://launchpadlibrarian.net/5194/CurrentDmesg.txt ** Attachment added: Dependencies.txt http://launchpadlibrarian.net/5195/Dependencies.txt ** Attachment added: Lspci.txt http://launchpadlibrarian.net/5196/Lspci.txt ** Attachment added: Lsusb.txt http://launchpadlibrarian.net/5197/Lsusb.txt ** Attachment added: PciDisplay.txt http://launchpadlibrarian.net/5198/PciDisplay.txt ** Attachment added: ProcCpuinfo.txt http://launchpadlibrarian.net/5199/ProcCpuinfo.txt ** Attachment added: ProcInterrupts.txt http://launchpadlibrarian.net/5200/ProcInterrupts.txt ** Attachment added: ProcModules.txt http://launchpadlibrarian.net/5201/ProcModules.txt ** Attachment added: RelatedPackageVersions.txt http://launchpadlibrarian.net/5202/RelatedPackageVersions.txt ** Attachment added: UdevDb.txt http://launchpadlibrarian.net/5203/UdevDb.txt ** Attachment added: UdevLog.txt http://launchpadlibrarian.net/5204/UdevLog.txt ** Attachment added: XorgConf.txt http://launchpadlibrarian.net/5205/XorgConf.txt ** Attachment added: XorgLog.txt http://launchpadlibrarian.net/5206/XorgLog.txt ** Attachment added: XorgLogOld.txt http://launchpadlibrarian.net/5207/XorgLogOld.txt ** Attachment added: Xrandr.txt http://launchpadlibrarian.net/5208/Xrandr.txt ** Attachment added: glxinfo.txt http://launchpadlibrarian.net/5209/glxinfo.txt ** Attachment added: setxkbmap.txt http://launchpadlibrarian.net/5210/setxkbmap.txt ** Attachment added: xdpyinfo.txt http://launchpadlibrarian.net/5211/xdpyinfo.txt ** Attachment added: xkbcomp.txt http://launchpadlibrarian.net/5212/xkbcomp.txt -- 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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 599781] Re: X crashes when reconnecting USB devices via a KVM switch
** Attachment added: Xorg.0.log.old http://launchpadlibrarian.net/5572/Xorg.0.log.old -- 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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 599781] Re: X crashes when reconnecting USB devices via a KVM switch
** Tags added: hardy -- 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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 599781] Re: X crashes when reconnecting USB devices via a KVM switch
I ran with gdb attached in case the problem reappeared without intentional provocation. It did, and the crash was in the same function as when provoked: Program received signal SIGSEGV, Segmentation fault. 0x00438a10 in IsMaster () (gdb) backtrace full #0 0x00438a10 in IsMaster () No symbol table info available. #1 0x0045bbf9 in miPointerGetScreen () No symbol table info available. #2 0x7f4481468d9e in ?? () from /usr/lib/xorg/modules/input/wacom_drv.so No symbol table info available. #3 0x7f448146c72b in ?? () from /usr/lib/xorg/modules/input/wacom_drv.so No symbol table info available. #4 0x7f4481465de3 in ?? () from /usr/lib/xorg/modules/input/wacom_drv.so No symbol table info available. #5 0x7f4481465ead in ?? () from /usr/lib/xorg/modules/input/wacom_drv.so No symbol table info available. #6 0x0046fca7 in ?? () No symbol table info available. #7 0x0051d1c3 in ?? () No symbol table info available. #8 signal handler called No symbol table info available. #9 0x7f4487bf2980 in __close_nocancel () at ../sysdeps/unix/syscall-template.S:82 No locals. #10 0x7f4481469ee0 in ?? () from /usr/lib/xorg/modules/input/wacom_drv.so No symbol table info available. #11 0x0047d5d7 in ?? () No symbol table info available. #12 0x0047d9eb in ?? () No symbol table info available. #13 0x7f448146efbf in ?? () from /usr/lib/xorg/modules/input/wacom_drv.so No symbol table info available. #14 0x7f4481469f6a in ?? () from /usr/lib/xorg/modules/input/wacom_drv.so No symbol table info available. #15 0x0047d5d7 in ?? () No symbol table info available. #16 0x0047d9eb in ?? () No symbol table info available. #17 0x0045a702 in ?? () No symbol table info available. #18 0x0045a938 in ?? () No symbol table info available. #19 0x00435f2b in WakeupHandler () No symbol table info available. #20 0x0045f997 in WaitForSomething () No symbol table info available. #21 0x00430952 in ?? () No symbol table info available. #22 0x004261aa in _start () No symbol table info available. (gdb) -- 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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 599781] Re: X crashes when reconnecting USB devices via a KVM switch
Apport says: The program crashed on an assertion failure, but the message could not be retrieved. Apport does not support reporting these crashes. -- 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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 599781] Re: X crashes when reconnecting USB devices via a KVM switch
Backtrace with the symbols for xserver-core installed: Program received signal SIGSEGV, Segmentation fault. IsMaster (dev=0x0) at ../../dix/events.c:333 333 ../../dix/events.c: No such file or directory. in ../../dix/events.c (gdb) backtrace full #0 IsMaster (dev=0x0) at ../../dix/events.c:333 No locals. #1 0x0045bbf9 in miPointerGetScreen (pDev=0x0) at ../../mi/mipointer.c:488 pPointer = value optimized out #2 0x7f010e294d9e in ?? () from /usr/lib/xorg/modules/input/wacom_drv.so No symbol table info available. #3 0x7f010e29872b in ?? () from /usr/lib/xorg/modules/input/wacom_drv.so No symbol table info available. #4 0x7f010e291de3 in ?? () from /usr/lib/xorg/modules/input/wacom_drv.so No symbol table info available. #5 0x7f010e291ead in ?? () from /usr/lib/xorg/modules/input/wacom_drv.so No symbol table info available. #6 0x0046fca7 in xf86SigioReadInput (fd=value optimized out, closure=0x1c3f280) at ../../../../hw/xfree86/common/xf86Events.c:313 errno_save = 22 #7 0x0051d1c3 in xf86SIGIO (sig=value optimized out) at ../../../../../hw/xfree86/os-support/linux/../shared/sigio.c:118 i = 8 ready = {fds_bits = {0, 4, 0 repeats 14 times}} to = {tv_sec = 0, tv_usec = 0} save_errno = 22 r = 1 #8 signal handler called No symbol table info available. #9 0x7f0114ade980 in __close_nocancel () at ../sysdeps/unix/syscall-template.S:82 No locals. #10 0x7f010e295ee0 in ?? () from /usr/lib/xorg/modules/input/wacom_drv.so No symbol table info available. #11 0x0047d5d7 in xf86NewInputDevice (idev=0x1c40750, pdev=0x7fffed1b0fd8, enable=1 '\001') at ../../../../hw/xfree86/common/xf86Xinput.c:696 drv = value optimized out pInfo = value optimized out dev = value optimized out rval = value optimized out #12 0x0047d9eb in NewInputDeviceRequest18 (options=value optimized out, attrs=0x0, pdev=value optimized out) at ../../../../hw/xfree86/common/xf86Xinput.c:840 idev = value optimized out option = 0x0 rval = 0 is_auto = 0 #13 0x7f010e29afbf in ?? () from /usr/lib/xorg/modules/input/wacom_drv.so No symbol table info available. #14 0x7f010e295f6a in ?? () from /usr/lib/xorg/modules/input/wacom_drv.so No symbol table info available. #15 0x0047d5d7 in xf86NewInputDevice (idev=0x137fb00, pdev=0x7fffed1b1170, enable=1 '\001') at ../../../../hw/xfree86/common/xf86Xinput.c:696 drv = value optimized out pInfo = value optimized out dev = value optimized out rval = value optimized out #16 0x0047d9eb in NewInputDeviceRequest18 (options=value optimized out, attrs=0x7fffed1b1140, pdev=value optimized out) at ../../../../hw/xfree86/common/xf86Xinput.c:840 idev = value optimized out option = 0x0 rval = 0 is_auto = 1 #17 0x0045a702 in device_added (udev_device=0x0) at ../../config/udev.c:141 path = 0x1c40ca0 /dev/input/event9 name = 0x1bb6fd0 Wacom Graphire2 4x5 config_info = 0x1bb7110 udev:/sys/devices/pci:00/:00:1a.7/usb1/1-1/1-1.2/1-1.2.3/1-1.2.3.4/1-1.2.3.4:1.0/input/input17/event9 syspath = 0x132bfe0 DEVLINKS key = 0x132bfe0 DEVLINKS value = value optimized out tmp = 0x132bfe0 DEVLINKS options = 0x132c080 tmpo = value optimized out attrs = {product = 0x1bb6fd0 Wacom Graphire2 4x5, vendor = 0x121a120 WACOM, device = 0x1c40ca0 /dev/input/event9, tags = 0x0, flags = 8} dev = 0x0 set = value optimized out entry = 0x0 parent = value optimized out rc = value optimized out #18 0x0045a938 in wakeup_handler (data=value optimized out, err=value optimized out, read_mask=0x7dea20) at ../../config/udev.c:203 udev_fd = value optimized out udev_device = value optimized out action = 0x0 #19 0x00435f2b in WakeupHandler (result=1, pReadmask=0x7dea20) at ../../dix/dixutils.c:413 i = 3 #20 0x0045f997 in WaitForSomething (pClientsReady=value optimized out) at ../../os/WaitFor.c:232 i = 0 waittime = {tv_sec = 1, tv_usec = 878837} wt = 0x7fffed1b1440 timeout = value optimized out clientsReadable = {fds_bits = {0 repeats 16 times}} clientsWritable = {fds_bits = {140737171362688, 4416156, 140737171362904, 140737171362740, 33564749, 4975968, 17337200, 16988992, 0, 32, 21714048, 4621884, 18981648, 4603261, 32, 0}} selecterr = 0 nready = value optimized out devicesReadable = {fds_bits = {0 repeats 16 times}} now = value optimized out someReady = 0 #21 0x00430952 in Dispatch () at ../../dix/dispatch.c:375 result = value optimized out client = 0x13704e0 nready = -1 start_tick