Bug 538500 - X crashes if I unplug and replug USB keyboard
Summary: X crashes if I unplug and replug USB keyboard
Keywords:
Status: CLOSED DUPLICATE of bug 540584
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-drv-evdev
Version: 12
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: Peter Hutterer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-11-18 17:34 UTC by Need Real Name
Modified: 2018-04-11 11:28 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-02-28 23:21:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Need Real Name 2009-11-18 17:34:45 UTC
xorg log:

(II) UnloadModule: "evdev"
(II) config/hal: Adding input device Logitech Logitech USB Keyboard
(**) Logitech Logitech USB Keyboard: always reports core events
(**) Logitech Logitech USB Keyboard: Device: "/dev/input/event4"
(II) Logitech Logitech USB Keyboard: Found keys
(II) Logitech Logitech USB Keyboard: Configuring as keyboard
(II) XINPUT: Adding extended input device "Logitech Logitech USB Keyboard" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc105"
(**) Option "xkb_layout" "de"
(**) Option "xkb_variant" "nodeadkeys"
(**) Option "xkb_options" "terminate:ctrl_alt_bksp"
(II) config/hal: removing device Logitech Logitech USB Keyboard
(II) Logitech Logitech USB Keyboard: Close
(II) UnloadModule: "evdev"
(II) config/hal: Adding input device Logitech Logitech USB Keyboard
(**) Logitech Logitech USB Keyboard: always reports core events
(**) Logitech Logitech USB Keyboard: Device: "/dev/input/event4"
(II) Logitech Logitech USB Keyboard: Found keys
(II) Logitech Logitech USB Keyboard: Configuring as keyboard
(II) XINPUT: Adding extended input device "Logitech Logitech USB Keyboard" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc105"
(**) Option "xkb_layout" "de"
(**) Option "xkb_variant" "nodeadkeys"
(**) Option "xkb_options" "terminate:ctrl_alt_bksp"

Backtrace:
0: /usr/bin/Xorg (xorg_backtrace+0x28) [0x49e8d8]
1: /usr/bin/Xorg (0x400000+0x619c9) [0x4619c9]
2: /lib64/libpthread.so.0 (0x7fc6d9dae000+0xefa0) [0x7fc6d9dbcfa0]
3: /lib64/libc.so.6 (0x7fc6d8569000+0x7460f) [0x7fc6d85dd60f]
4: /lib64/libc.so.6 (0x7fc6d8569000+0x76fc8) [0x7fc6d85dffc8]
5: /usr/bin/Xorg (DeletePassiveGrab+0x40) [0x443c40]
6: /usr/bin/Xorg (FreeResource+0x140) [0x4493e0]
7: /usr/bin/Xorg (0x400000+0x3a6c3) [0x43a6c3]
8: /usr/bin/Xorg (0x400000+0x52497) [0x452497]
9: /usr/bin/Xorg (DeleteWindow+0x223) [0x454653]
10: /usr/bin/Xorg (FreeResource+0x140) [0x4493e0]
11: /usr/bin/Xorg (0x400000+0x29fcb) [0x429fcb]
12: /usr/bin/Xorg (0x400000+0x2c69c) [0x42c69c]
13: /usr/bin/Xorg (0x400000+0x21cfa) [0x421cfa]
14: /lib64/libc.so.6 (__libc_start_main+0xfd) [0x7fc6d8587b1d]
15: /usr/bin/Xorg (0x400000+0x218a9) [0x4218a9]
Segmentation fault at address 0x20204000090

Fatal server error:
Caught signal 11 (Segmentation fault). Server aborting


dmesg:

usb 4-1: USB disconnect, address 2
usb 8-1: new low speed USB device using uhci_hcd and address 2
usb 8-1: New USB device found, idVendor=046d, idProduct=c315
usb 8-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 8-1: Product: Logitech USB Keyboard
usb 8-1: Manufacturer: Logitech
usb 8-1: configuration #1 chosen from 1 choice
input: Logitech Logitech USB Keyboard as /devices/pci0000:00/0000:00:1d.2/usb8/8-1/8-1:1.0/input/input6
generic-usb 0003:046D:C315.0003: input,hidraw1: USB HID v1.10 Keyboard [Logitech Logitech USB Keyboard] on usb-0000:00:1d.2-1/input0
usb 8-1: USB disconnect, address 2
usb 8-1: new low speed USB device using uhci_hcd and address 3
usb 8-1: New USB device found, idVendor=046d, idProduct=c315
usb 8-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 8-1: Product: Logitech USB Keyboard
usb 8-1: Manufacturer: Logitech
usb 8-1: configuration #1 chosen from 1 choice
input: Logitech Logitech USB Keyboard as /devices/pci0000:00/0000:00:1d.2/usb8/8-1/8-1:1.0/input/input7
generic-usb 0003:046D:C315.0004: input,hidraw1: USB HID v1.10 Keyboard [Logitech Logitech USB Keyboard] on usb-0000:00:1d.2-1/input0
usb 8-1: USB disconnect, address 3
usb 4-1: new low speed USB device using uhci_hcd and address 3
usb 4-1: New USB device found, idVendor=046d, idProduct=c315
usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 4-1: Product: Logitech USB Keyboard
usb 4-1: Manufacturer: Logitech
usb 4-1: configuration #1 chosen from 1 choice
input: Logitech Logitech USB Keyboard as /devices/pci0000:00/0000:00:1a.1/usb4/4-1/4-1:1.0/input/input8
generic-usb 0003:046D:C315.0005: input,hidraw1: USB HID v1.10 Keyboard [Logitech Logitech USB Keyboard] on usb-0000:00:1a.1-1/input0
usb 4-1: USB disconnect, address 3
usb 8-1: new low speed USB device using uhci_hcd and address 4
usb 8-1: New USB device found, idVendor=046d, idProduct=c315
usb 8-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 8-1: Product: Logitech USB Keyboard
usb 8-1: Manufacturer: Logitech
usb 8-1: configuration #1 chosen from 1 choice
input: Logitech Logitech USB Keyboard as /devices/pci0000:00/0000:00:1d.2/usb8/8-1/8-1:1.0/input/input9
generic-usb 0003:046D:C315.0006: input,hidraw1: USB HID v1.10 Keyboard [Logitech Logitech USB Keyboard] on usb-0000:00:1d.2-1/input0

Comment 1 Peter Hutterer 2010-01-13 06:57:06 UTC
is this a reproducible crash? If so, what's the test case?

Comment 2 Takehiko Abe 2010-01-14 14:40:47 UTC
(In reply to comment #1)

It takes two USB keyboards to crash my system.

1. Disconnect keyboard.
2. Connect and diconnect another keyboard.
3. Reconnect the keyboard disconnected at step #1.

Comment 3 Peter Hutterer 2010-01-15 04:21:32 UTC
This is a potential duplicate of Bug 540584 although the backtrace looks a bit different. Can you give xorg-x11-server-1.7.4-3.fc12 a try and check if the problem still occurs?

Comment 4 Takehiko Abe 2010-01-15 06:07:31 UTC
(In reply to comment #3)

Yes, xorg-x11-server-1.7.4-3.fc12 fixed the problem. Thank you.

Comment 5 Matěj Cepl 2010-02-26 12:24:26 UTC
Could you please reply to the previous question? If you won't reply in one month, I will have to close this bug as INSUFFICIENT_DATA. Thank you.

[Note please, that this is machine generated comment for large amount of bugs; due to some technical issues, it is possible we've missed some of the responses -- it is happens, please, just a make a comment about that; that we will see. Thank you]

Comment 6 Peter Hutterer 2010-02-28 23:21:15 UTC
Thanks for testing Takehiko, I'm marking this as a duplicate of Bug 540584.

*** This bug has been marked as a duplicate of bug 540584 ***


Note You need to log in before you can comment on or make changes to this bug.