Bug 531039 - xorg segfault maybe caused by adding peripherals
Summary: xorg segfault maybe caused by adding peripherals
Keywords:
Status: CLOSED DUPLICATE of bug 540584
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-server
Version: 12
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Adam Jackson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-10-26 15:52 UTC by Stefan Assmann
Modified: 2018-04-11 19:02 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-01-25 19:35:50 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Xorg.0.log (180.63 KB, text/plain)
2009-10-26 15:52 UTC, Stefan Assmann
no flags Details


Links
System ID Private Priority Status Summary Last Updated
FreeDesktop.org 24487 0 None None None Never

Description Stefan Assmann 2009-10-26 15:52:59 UTC
Created attachment 366119 [details]
Xorg.0.log

Description of problem:
xorg segfault after switching with kvm switch. I'm not 100% sure that the kvm switch is what caused the segfault but it seems so.

Last parts of xorg log:
(II) XINPUT: Adding extended input device "HID 046a:0023" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us"
(EE) HID 046a:0023: failed to initialize for relative axes.
(**) HID 046a:0023: (accel) keeping acceleration scheme 1
(**) HID 046a:0023: (accel) acceleration profile 0
(II) HID 046a:0023: initialized for absolute axes.
(II) config/hal: removing device TESTQUEST USB Multimedia Keyboard
(II) TESTQUEST USB Multimedia Keyboard: Close
(II) UnloadModule: "evdev"
(II) config/hal: Adding input device Logitech USB Optical Mouse
(**) Logitech USB Optical Mouse: always reports core events
(**) Logitech USB Optical Mouse: Device: "/dev/input/event17"
(II) Logitech USB Optical Mouse: Found 3 mouse buttons
(II) Logitech USB Optical Mouse: Found scroll wheel(s)
(II) Logitech USB Optical Mouse: Found relative axes
(II) Logitech USB Optical Mouse: Found x and y relative axes
(II) Logitech USB Optical Mouse: Configuring as mouse
(**) Logitech USB Optical Mouse: YAxisMapping: buttons 4 and 5
(**) Logitech USB Optical Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "Logitech USB Optical Mouse" (type: MOUSE)
(**) Logitech USB Optical Mouse: (accel) keeping acceleration scheme 1
(**) Logitech USB Optical Mouse: (accel) acceleration profile 0
(II) Logitech USB Optical Mouse: initialized for relative axes.

Backtrace:
0: /usr/bin/Xorg (xorg_backtrace+0x28) [0x49e758]
1: /usr/bin/Xorg (0x400000+0x619a9) [0x4619a9]
2: /lib64/libpthread.so.0 (0x7f60e64c9000+0xf320) [0x7f60e64d8320]
3: /lib64/libc.so.6 (0x7f60e4c7c000+0x799fa) [0x7f60e4cf59fa]
4: /lib64/libc.so.6 (__libc_malloc+0x72) [0x7f60e4cf74b2]
5: /usr/bin/Xorg (0x400000+0xe8b93) [0x4e8b93]
6: /usr/bin/Xorg (0x400000+0xe940b) [0x4e940b]
7: /usr/bin/Xorg (0x400000+0x2c60c) [0x42c60c]
8: /usr/bin/Xorg (0x400000+0x21c9a) [0x421c9a]
9: /lib64/libc.so.6 (__libc_start_main+0xfd) [0x7f60e4c9ab4d]
10: /usr/bin/Xorg (0x400000+0x21849) [0x421849]
Segmentation fault at address 0x20204000090

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

Version-Release number of selected component (if applicable):
rpm -qa |grep xorg
xorg-x11-drv-vmmouse-12.6.5-2.fc12.x86_64
xorg-x11-drv-i128-1.3.3-1.fc12.x86_64
xorg-x11-drv-siliconmotion-1.7.3-1.fc12.x86_64
xorg-x11-drv-apm-1.2.2-1.fc12.x86_64
xorg-x11-drv-evdev-2.3.0-1.fc12.x86_64
xorg-x11-fonts-ISO8859-1-75dpi-7.2-9.fc12.noarch
xorg-x11-drv-tdfx-1.4.3-1.fc12.x86_64
xorg-x11-drv-openchrome-0.2.904-1.fc12.x86_64
xorg-x11-drv-cirrus-1.3.2-1.fc12.x86_64
xorg-x11-util-macros-1.3.0-1.fc12.noarch
xorg-x11-fonts-ISO8859-1-100dpi-7.2-9.fc12.noarch
xorg-x11-drv-v4l-0.2.0-3.fc12.1.x86_64
xorg-x11-drv-ati-6.13.0-0.7.20091006git457646d73.fc12.x86_64
xorg-x11-drivers-7.3-13.fc12.x86_64
xorg-x11-drv-i740-1.3.2-1.fc12.x86_64
xorg-x11-server-utils-7.4-13.fc12.x86_64
xorg-x11-drv-ast-0.89.9-1.fc12.x86_64
xorg-x11-drv-sisusb-0.9.3-1.fc12.x86_64
xorg-x11-drv-glint-1.2.4-1.fc12.x86_64
xorg-x11-drv-dummy-0.3.2-3.fc12.x86_64
xorg-x11-drv-fbdev-0.4.1-1.fc12.x86_64
xorg-x11-drv-nouveau-0.0.15-13.20090929gitdd8339f.fc12.x86_64
xorg-x11-drv-vesa-2.2.1-1.fc12.x86_64
xorg-x11-drv-nv-2.1.15-1.fc12.x86_64
xorg-x11-drv-mach64-6.8.2-1.fc12.x86_64
xorg-x11-xdm-1.1.6-14.fc12.x86_64
xorg-x11-resutils-7.1-9.fc12.x86_64
xorg-x11-drv-elographics-1.2.3-4.fc12.x86_64
xorg-x11-drv-trident-1.3.3-1.fc12.x86_64
xorg-x11-drv-intel-2.9.0-2.fc12.x86_64
xorg-x11-drv-rendition-4.2.2-4.fc12.x86_64
xorg-x11-drv-savage-2.3.1-1.fc12.x86_64
xorg-x11-xkb-utils-7.4-6.fc12.x86_64
xorg-x11-utils-7.4-7.fc12.x86_64
xorg-x11-drv-void-1.3.0-2.fc12.x86_64
xorg-x11-drv-r128-6.8.1-2.fc12.x86_64
xorg-x11-drv-voodoo-1.2.3-1.fc12.x86_64
xorg-x11-drv-keyboard-1.3.99.1-1.fc12.x86_64
xorg-x11-xauth-1.0.2-7.fc12.x86_64
xorg-x11-drv-sis-0.10.2-1.fc12.x86_64
xorg-x11-drv-synaptics-1.1.99-7.20090907.fc12.x86_64
xorg-x11-server-Xorg-1.7.0-1.fc12.x86_64
xorg-x11-drv-acecad-1.4.0-1.fc12.x86_64
xorg-x11-drv-vmware-10.16.7-2.fc12.x86_64
xorg-x11-drv-s3virge-1.10.4-1.fc12.x86_64
xorg-x11-drv-aiptek-1.3.0-1.fc12.x86_64
xorg-x11-drv-fpit-1.3.0-4.fc12.x86_64
xorg-x11-drv-mouse-1.4.99.1-2.fc12.x86_64
xorg-x11-drv-mutouch-1.2.1-4.fc12.x86_64
xorg-x11-font-utils-7.2-10.fc12.x86_64
xorg-x11-apps-7.4-8.fc12.x86_64
xorg-x11-drv-penmount-1.4.0-4.fc12.x86_64
xorg-x11-xtrans-devel-1.2.2-4.fc12.noarch
xorg-x11-server-common-1.7.0-1.fc12.x86_64
xorg-x11-xinit-1.0.9-12.fc12.x86_64
xorg-x11-drv-mga-1.4.11-1.fc12.x86_64
xorg-x11-drv-hyperpen-1.3.0-3.fc12.x86_64

How reproducible:
happened once

Steps to Reproduce:
1. switch of usb kvm switch while running X

Actual results:
segfault

Expected results:
no segfault

Additional info:
let me know what debuginfo I should install if this happens again.

Comment 1 Stefan Assmann 2009-10-29 13:53:34 UTC
I can confirm that this happens every-time I change machines via the kvm switch.

Comment 2 Matěj Cepl 2009-11-05 17:19:18 UTC
Since this bugzilla report was filed, there have been several major updates in various components of the Xorg system, which may have resolved this issue. Users who have experienced this problem are encouraged to upgrade their system to the latest version of their packages (at least F12Beta, but even better if the very latest versions).

Please, if you experience this problem on the up-to-date system, let us now in the comment for this bug, or whether the upgraded system works for you.

If you won't be able to reply in one month, I will have to close this bug as INSUFFICIENT_DATA. Thank you.

[This is a bulk message for all open Fedora Rawhide Xorg-related bugs. I'm adding myself to the CC list for each bug, so I'll see any comments you make after this and do my best to make sure every issue gets proper attention.]

Comment 3 Stefan Assmann 2009-11-06 10:35:52 UTC
still happens with F12 Beta and the latest updates.

Here's a more useful backtrace

(**) TESTQUEST USB Multimedia Keyboard: always reports core events
(**) TESTQUEST USB Multimedia Keyboard: Device: "/dev/input/event6"
(II) TESTQUEST USB Multimedia Keyboard: Found keys
(II) TESTQUEST USB Multimedia Keyboard: Configuring as keyboard
(II) XINPUT: Adding extended input device "TESTQUEST USB Multimedia 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: Adding input device HID 046a:0023
(**) HID 046a:0023: always reports core events
(**) HID 046a:0023: Device: "/dev/input/event7"
(II) HID 046a:0023: Found keys
(II) HID 046a:0023: Configuring as keyboard
(II) XINPUT: Adding extended input device "HID 046a:0023" (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: Adding input device HID 046a:0023
(**) HID 046a:0023: always reports core events
(**) HID 046a:0023: Device: "/dev/input/event8"
(II) HID 046a:0023: Found 1 mouse buttons
(II) HID 046a:0023: Found scroll wheel(s)
(II) HID 046a:0023: Found relative axes
(II) HID 046a:0023: Found absolute axes
(II) HID 046a:0023: Found keys
(II) HID 046a:0023: Configuring as mouse
(II) HID 046a:0023: Configuring as keyboard
(**) HID 046a:0023: YAxisMapping: buttons 4 and 5
(**) HID 046a:0023: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "HID 046a:0023" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us"
(EE) HID 046a:0023: failed to initialize for relative axes.
(**) HID 046a:0023: (accel) keeping acceleration scheme 1
(**) HID 046a:0023: (accel) acceleration profile 0
(II) HID 046a:0023: initialized for absolute axes.
(II) config/hal: removing device TESTQUEST USB Multimedia Keyboard
(II) TESTQUEST USB Multimedia Keyboard: Close
(II) UnloadModule: "evdev"
(II) config/hal: Adding input device Logitech USB Optical Mouse
(**) Logitech USB Optical Mouse: always reports core events
(**) Logitech USB Optical Mouse: Device: "/dev/input/event17"
(II) Logitech USB Optical Mouse: Found 3 mouse buttons
(II) Logitech USB Optical Mouse: Found scroll wheel(s)
(II) Logitech USB Optical Mouse: Found relative axes
(II) Logitech USB Optical Mouse: Found x and y relative axes
(II) Logitech USB Optical Mouse: Configuring as mouse
(**) Logitech USB Optical Mouse: YAxisMapping: buttons 4 and 5
(**) Logitech USB Optical Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "Logitech USB Optical Mouse" (type: MOUSE)
(**) Logitech USB Optical Mouse: (accel) keeping acceleration scheme 1
(**) Logitech USB Optical Mouse: (accel) acceleration profile 0
(II) Logitech USB Optical Mouse: initialized for relative axes.
[mi] EQ overflowing. The server is probably stuck in an infinite loop.

Backtrace:
0: /usr/bin/Xorg (xorg_backtrace+0x28) [0x49e898]
1: /usr/bin/Xorg (mieqEnqueue+0x1f4) [0x49e264]
2: /usr/bin/Xorg (xf86PostMotionEventP+0xce) [0x478f0e]
3: /usr/lib64/xorg/modules/input/evdev_drv.so (0x7f32ffba7000+0x3f4f) [0x7f32ffbaaf4f]
4: /usr/bin/Xorg (0x400000+0x6be17) [0x46be17]
5: /usr/bin/Xorg (0x400000+0x116ad3) [0x516ad3]
6: /lib64/libpthread.so.0 (0x7f3302e6b000+0xefa0) [0x7f3302e79fa0]
7: /usr/bin/Xorg (0x400000+0x47ee9) [0x447ee9]
8: /usr/bin/Xorg (FreeResource+0x78) [0x449318]
9: /usr/bin/Xorg (0x400000+0x3a6c3) [0x43a6c3]
10: /usr/bin/Xorg (0x400000+0x52497) [0x452497]
11: /usr/bin/Xorg (DeleteWindow+0x223) [0x454653]
12: /usr/bin/Xorg (FreeResource+0x140) [0x4493e0]
13: /usr/bin/Xorg (0x400000+0x29fcb) [0x429fcb]
14: /usr/bin/Xorg (0x400000+0x2c69c) [0x42c69c]
15: /usr/bin/Xorg (0x400000+0x21cfa) [0x421cfa]
16: /lib64/libc.so.6 (__libc_start_main+0xfd) [0x7f3302481b1d]
17: /usr/bin/Xorg (0x400000+0x218a9) [0x4218a9]

Comment 4 Bug Zapper 2009-11-16 14:21:29 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle.
Changing version to '12'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 5 Stefan Assmann 2009-12-08 13:39:42 UTC
still having this issue with F12 and latest updates.

Comment 6 Ed 2009-12-09 14:21:42 UTC
I am seeing the same problem with a Belkin USB KVM.
I am running a dual head Fedora 12 system and switching just one of the
monitors with the KVM between two machines.

When switching away from the Fedora 12 machine I sometimes see on the 2nd head
that the F12 machine gets logged out (back to the gdm login screen) - I can
switch back and log in again. Other times X will hang completely on the F12
machine (running applications on the 2nd head just freeze).  In this state
however I can still ssh in from another machine.

I am running:
xorg-x11-apps.x86_64                     7.4-8.fc12        @anaconda-InstallationRepo-200911081904.x86_64
xorg-x11-drivers.x86_64                  7.3-13.fc12       @anaconda-InstallationRepo-200911081904.x86_64
xorg-x11-server-Xorg.x86_64              1.7.1-7.fc12      @anaconda-InstallationRepo-200911081904.x86_64
xorg-x11-server-common.x86_64            1.7.1-7.fc12      @anaconda-InstallationRepo-200911081904.x86_64
xorg-x11-server-utils.x86_64             7.4-13.fc12       @anaconda-InstallationRepo-200911081904.x86_64

xorg-x11-drv-nvidia.x86_64               190.42-5.fc12     @rpmfusion-nonfree-updates
kernel 2.6.31.6-162.fc12.x86_64

I have a Microsoft 6000 Wireless Keyboard & Mouse attached to the KVM.

Let me know if there are any logs you require - I am more than willing to help
with this one.

Comment 7 Daniel Brooks 2009-12-14 04:43:07 UTC
https://bugs.freedesktop.org/show_bug.cgi?id=24487

Comment 8 Daniel Brooks 2009-12-16 08:41:17 UTC
Also, this and bug 540584 are dups of each other.

Comment 9 John Villalovos 2010-01-25 19:35:50 UTC

*** 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.