You are not logged in.

#1 2015-04-27 22:51:05

jabberwokky
Member
Registered: 2015-04-27
Posts: 1

X server segfault after suspend (due to webcam)

Hello.

I have ASUS X200M notebook.

After waking up from suspend I have X server falled down.

Some information from logs makes me think that webcam's caused it.

That behavior isn't stationary - sometimes X falls, sometimes not. One can only guess, will it fall after this try or not.

First of all, uname:

[azheltov@shannon ~]$ uname -a
Linux shannon 4.0.0-1-zen #1 ZEN SMP PREEMPT Fri Apr 17 01:05:56 UTC 2015 x86_64 GNU/Linux

Second of all, xinput:

[azheltov@shannon ~]$ xinput
⎡ Virtual core pointer                        id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                  id=4    [slave  pointer  (2)]
⎜   ↳ FocalTechPS/2 FocalTech FocalTech Touchpad    id=13    [slave  pointer  (2)]
⎣ Virtual core keyboard                       id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard                 id=5    [slave  keyboard (3)]
    ↳ Power Button                                id=6    [slave  keyboard (3)]
    ↳ Video Bus                                   id=7    [slave  keyboard (3)]
    ↳ Power Button                                id=8    [slave  keyboard (3)]
    ↳ Sleep Button                                id=9    [slave  keyboard (3)]
    ↳ USB2.0 HD UVC WebCam                        id=10    [slave  keyboard (3)]
    ↳ Asus WMI hotkeys                            id=11    [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard                id=12    [slave  keyboard (3)]

The weirdness, that webcam is identified like a keyboard, has some echoes in xorg log:

[azheltov@shannon xorg]$ cat Xorg.0.log.old | tail -n 43
[  6972.076] (II) config/udev: removing device USB2.0 HD UVC WebCam
[  6972.076] (II) evdev: USB2.0 HD UVC WebCam: Close
[  6972.077] (II) UnloadModule: "evdev"
[  6972.077] (II) systemd-logind: releasing fd for 13:74
[  6972.617] (II) config/udev: Adding input device USB2.0 HD UVC WebCam (/dev/input/event10)
[  6972.617] (**) USB2.0 HD UVC WebCam: Applying InputClass "evdev keyboard catchall"
[  6973.118] (EE) systemd-logind: failed to take device /dev/input/event10: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[  6973.118] (II) Using input driver 'evdev' for 'USB2.0 HD UVC WebCam'
[  6973.119] (**) USB2.0 HD UVC WebCam: always reports core events
[  6973.119] (**) evdev: USB2.0 HD UVC WebCam: Device: "/dev/input/event10"
[  6973.119] (EE) evdev: USB2.0 HD UVC WebCam: Unable to open evdev device "/dev/input/event10".
[  6973.119] (EE) PreInit returned 2 for "USB2.0 HD UVC WebCam"
[  6973.119] (II) UnloadModule: "evdev"
[  6973.784] (EE)
[  6973.784] (EE) Backtrace:
[  6973.785] (EE) 0: /usr/lib/xorg-server/Xorg (OsLookupColor+0x119) [0x594a29]
[  6973.786] (EE) 1: /usr/lib/libc.so.6 (__restore_rt+0x0) [0x7fba1096b5af]
[  6973.788] (EE) 2: /usr/lib/libc.so.6 (__strcmp_sse2_unaligned+0x1a) [0x7fba109c7e0a]
[  6973.789] (EE) 3: /usr/lib/xorg-server/Xorg (xf86SIGIOSupported+0xa38) [0x4a1e48]
[  6973.790] (EE) 4: /usr/lib/libdbus-1.so.3 (dbus_connection_dispatch+0x3f1) [0x7fba125fb5d1]
[  6973.792] (EE) 5: /usr/lib/libdbus-1.so.3 (dbus_connection_dispatch+0x645) [0x7fba125fbdc5]
[  6973.792] (EE) 6: /usr/lib/xorg-server/Xorg (config_fini+0x4c1) [0x49bb11]
[  6973.792] (EE) 7: /usr/lib/xorg-server/Xorg (WakeupHandler+0x6b) [0x43d6cb]
[  6973.793] (EE) 8: /usr/lib/xorg-server/Xorg (WaitForSomething+0x1c3) [0x58d983]
[  6973.793] (EE) 9: /usr/lib/xorg-server/Xorg (SendErrorToClient+0x111) [0x4388b1]
[  6973.793] (EE) 10: /usr/lib/xorg-server/Xorg (remove_fs_handlers+0x41b) [0x43cbcb]
[  6973.795] (EE) 11: /usr/lib/libc.so.6 (__libc_start_main+0xf0) [0x7fba10958790]
[  6973.795] (EE) 12: /usr/lib/xorg-server/Xorg (_start+0x29) [0x427039]
[  6973.797] (EE) 13: ? (?+0x29) [0x29]
[  6973.797] (EE)
[  6973.797] (EE) Segmentation fault at address 0x0
[  6973.797] (EE)
Fatal server error:
[  6973.797] (EE) Caught signal 11 (Segmentation fault). Server aborting
[  6973.797] (EE)
[  6973.797] (EE)
Please consult the The X.Org Foundation support
     at http://wiki.x.org
for help.
[  6973.797] (EE) Please also check the log file at "/home/azheltov/.local/share/xorg/Xorg.0.log" for additional information.
[  6973.797] (EE)
[  6973.797] (II) AIGLX: Suspending AIGLX clients for VT switch
[  6973.849] (EE) Server terminated with error (1). Closing log file.

[azheltov@shannon xorg]$ cat Xorg.0.log | grep event10
[  6974.737] (II) config/udev: Adding input device USB2.0 HD UVC WebCam (/dev/input/event10)
[  6974.739] (II) systemd-logind: got fd for /dev/input/event10 13:74 fd 16 paused 0
[  6974.739] (**) evdev: USB2.0 HD UVC WebCam: Device: "/dev/input/event10"
[  6974.739] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/input/input38/event10"

Pls, help. What can I do to stop X server from falling after suspend?

Links to pastebins:
Xorg.0.log http://pastie.org/private/8my3zq4rhpitygtuwxica
Xorg.0.log.old http://pastie.org/private/bqvszk9rof4vojzcvholw

Thanks

P.S. Sorry for bad English

Last edited by jabberwokky (2015-04-27 22:52:57)

Offline

#2 2015-05-27 13:39:56

zorrivel
Member
Registered: 2014-04-02
Posts: 10

Re: X server segfault after suspend (due to webcam)

Your problem seems to be related to this bug. It is an ugly issue that happens whenever a peripheral is disconnected, physically or not, like my bluetooth keyboard. On suspend, the peripherals are probably set to sleep and are therefore disconnected. Would probably help to add your logs to the bug report.

Offline

Board footer

Powered by FluxBB