Segfault when resuming from suspend to ram
Submitted by ashim acharya
Assigned to Xorg Project Team
Description
Created attachment 114860 xorg log
Linux aal 3.19.3-1-ARCH #1 (closed) SMP PREEMPT Thu Mar 26 14:56:16 CET 2015 x86_64 GNU/Linux xorg-server 1.17.1-4
Laptop computer with main screen turned off(xrandr --output LVDS1 --off). Using hdmi output to external monitor(with hdmi to dvi adaptor). I suspend then wake by hitting a keyboard key. X segfaults when resuming from suspend-to-ram(systemctl suspend); usually when awaking from 1hr+ suspends(segfaults occur around 50% of the time). I startx again.(sometimes a monitor reset is needed for usb peripherals, which are connected to it, to work again)
noob guesses: WakeupHandler/WaitForSomething timeout needs to be increased. Maybe its related to a kernel usb bug.
tail of xorg.0.log: [ 30751.015] (II) UnloadModule: "evdev" [ 30751.015] (II) systemd-logind: releasing fd for 13:79 [ 30751.021] (EE) systemd-logind: failed to release device: Device not taken [ 50722.300] (II) config/udev: removing device SINO WEALTH USB KEYBOARD [ 50722.302] (II) evdev: SINO WEALTH USB KEYBOARD: Close [ 50722.303] (II) UnloadModule: "evdev" [ 50722.303] (II) systemd-logind: releasing fd for 13:74 [ 50722.340] (EE) systemd-logind: failed to release device: Device not taken [ 50722.392] (II) config/udev: removing device SINO WEALTH USB KEYBOARD [ 50722.393] (II) evdev: SINO WEALTH USB KEYBOARD: Close [ 50722.393] (II) UnloadModule: "evdev" [ 50722.393] (II) systemd-logind: releasing fd for 13:75 [ 50722.893] (EE) systemd-logind: failed to release device: 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. [ 50722.912] (II) config/udev: removing device USB Optical Wheel Mouse [ 50722.914] (II) evdev: USB Optical Wheel Mouse: Close [ 50722.915] (II) UnloadModule: "evdev" [ 50722.915] (II) systemd-logind: releasing fd for 13:76 [ 50723.415] (EE) systemd-logind: failed to release device: 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. [ 50723.725] (EE) [ 50723.725] (EE) Backtrace: [ 50723.755] (EE) 0: /usr/lib/xorg-server/Xorg (OsLookupColor+0x119) [0x5949c9] [ 50723.757] (EE) 1: /usr/lib/libc.so.6 (__restore_rt+0x0) [0x7f7dc797053f] [ 50723.758] (EE) 2: /usr/lib/libc.so.6 (__strcmp_sse2_unaligned+0x1a) [0x7f7dc79cd29a] [ 50723.758] (EE) 3: /usr/lib/xorg-server/Xorg (xf86SIGIOSupported+0xa38) [0x4a1e48] [ 50723.759] (EE) 4: /usr/lib/libdbus-1.so.3 (dbus_connection_dispatch+0x3f1) [0x7f7dc96025d1] [ 50723.760] (EE) 5: /usr/lib/libdbus-1.so.3 (dbus_connection_dispatch+0x645) [0x7f7dc9602dc5] [ 50723.761] (EE) 6: /usr/lib/xorg-server/Xorg (config_fini+0x4c1) [0x49bb11] [ 50723.761] (EE) 7: /usr/lib/xorg-server/Xorg (WakeupHandler+0x6b) [0x43d6cb] [ 50723.761] (EE) 8: /usr/lib/xorg-server/Xorg (WaitForSomething+0x1c3) [0x58d923] [ 50723.761] (EE) 9: /usr/lib/xorg-server/Xorg (SendErrorToClient+0x111) [0x4388b1] [ 50723.762] (EE) 10: /usr/lib/xorg-server/Xorg (remove_fs_handlers+0x41b) [0x43cbcb] [ 50723.763] (EE) 11: /usr/lib/libc.so.6 (__libc_start_main+0xf0) [0x7f7dc795d800] [ 50723.763] (EE) 12: /usr/lib/xorg-server/Xorg (_start+0x29) [0x427039] [ 50723.764] (EE) 13: ? (?+0x29) [0x29] [ 50723.764] (EE) [ 50723.764] (EE) Segmentation fault at address 0x0 [ 50723.764] (EE) Fatal server error: [ 50723.764] (EE) Caught signal 11 (Segmentation fault). Server aborting [ 50723.764] (EE) [ 50723.764] (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. [ 50723.764] (EE) Please also check the log file at "/home/eca/.local/share/xorg/Xorg.0.log" for additional information. [ 50723.764] (EE) [ 50723.764] (II) AIGLX: Suspending AIGLX clients for VT switch [ 50723.812] (EE) Server terminated with error (1). Closing log file.
Attachment 114860, "xorg log":
Xorg.0.log.old