On my laptop (Thinkpad T420s, Intel graphics), x11-base/xorg-server-1.12.2 sometimes (maybe 1 in 10 times) segfaults during suspend to ram. Downgrading to x11-base/xorg-server-1.11.4-r1 resolves the problem. There are other users with the same problem: http://forums.gentoo.org/viewtopic.php?p=7097846#7097846 This bug affects also Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=681796 Reproducible: Sometimes Steps to Reproduce: 1. Install x11-base/xorg-server-1.12.2 2. suspend/resume several times Actual Results: xorg-server segfaults Expected Results: suspend/resume works # tail -n 50 /var/log/kdm.log kdmgreet(6497)/kdecore (K*TimeZone*): KSystemTimeZones: ktimezoned initialize() D-Bus call failed: "Not connected to D-Bus server" kdmgreet(6497)/kdecore (K*TimeZone*): No time zone information obtained from ktimezoned kdmgreet: Fatal IO error: client killed Server terminated successfully (0). Closing log file. klauncher(2244) kdemain: No DBUS session-bus found. Check if you have started the DBUS server. kdeinit4: Communication error with launcher. Exiting! kdmgreet(2238)/kdecore (K*TimeZone*): KSystemTimeZones: ktimezoned initialize() D-Bus call failed: "Not connected to D-Bus server" kdmgreet(2238)/kdecore (K*TimeZone*): No time zone information obtained from ktimezoned Backtrace: 0: /usr/bin/X (xorg_backtrace+0x36) [0x56dbb6] 1: /usr/bin/X (0x400000+0x1716a9) [0x5716a9] 2: /lib64/libpthread.so.0 (0x7f7803f11000+0x10420) [0x7f7803f21420] 3: /usr/lib64/xorg/modules/input/synaptics_drv.so (0x7f77ff9e3000+0x2a88) [0x7f77ff9e5a88] 4: /usr/bin/X (BasicComputeAcceleration+0x7) [0x453367] 5: /usr/bin/X (0x400000+0x53c1e) [0x453c1e] 6: /usr/bin/X (0x400000+0x4ab92) [0x44ab92] 7: /usr/bin/X (GetPointerEvents+0xc7) [0x44bd97] 8: /usr/bin/X (QueuePointerEvents+0x1d) [0x44c21d] 9: /usr/bin/X (xf86PostMotionEvent+0xde) [0x48279e] 10: /usr/lib64/xorg/modules/input/synaptics_drv.so (0x7f77ff9e3000+0x44f8) [0x7f77ff9e74f8] 11: /usr/lib64/xorg/modules/input/synaptics_drv.so (0x7f77ff9e3000+0x649a) [0x7f77ff9e949a] 12: /usr/bin/X (0x400000+0x72517) [0x472517] 13: /usr/bin/X (0x400000+0x97cd3) [0x497cd3] 14: /lib64/libpthread.so.0 (0x7f7803f11000+0x10420) [0x7f7803f21420] 15: /lib64/libc.so.6 (__select+0x13) [0x7f7802ef9363] 16: /usr/bin/X (WaitForSomething+0x19f) [0x56b18f] 17: /usr/bin/X (0x400000+0x35e92) [0x435e92] 18: /usr/bin/X (0x400000+0x24eca) [0x424eca] 19: /lib64/libc.so.6 (__libc_start_main+0xfd) [0x7f7802e452ad] 20: /usr/bin/X (0x400000+0x24a69) [0x424a69] Segmentation fault at address 0x58 Fatal server error: Caught signal 11 (Segmentation fault). Server aborting # cat /etc/X11/xorg.conf Section "InputClass" Identifier "touchpad" Driver "synaptics" Option "VertEdgeScroll" "true" Option "TapButton1" "1" MatchIsTouchpad "on" EndSection Section "ServerFlags" Option "Xinerama" "true" EndSection Other relevant packages installed: x11-base/xorg-server-1.12.2 x11-drivers/xf86-video-intel-2.19.0 USE="dri sna (-glamor)" x11-drivers/xf86-input-synaptics-1.6.2 x11-drivers/xf86-input-evdev-2.7.0 sys-kernel/gentoo-sources-3.3.8
Found this thread on the subject. https://bbs.archlinux.org/viewtopic.php?pid=1158925 Linux 3.4 broke resume/suspend some of the times in Lenovo T420 Same problem for my T420, with x11-drivers/xf86-input-synaptics-1.6.2. I already have sys-power/pm-utils-1.4.1-r2 installed. I do not have I added sys-power/acpid-2.0.16-r1, added it to the default runlevel, and it survived one suspend so far. emerge sys-power/acpid /etc/init.d/acpid start rc-update add acpid default sudo /usr/sbin/pm-suspend close-and-open lid synaptics is still running. If this works maybe we can post to the forum.
On my laptop (also a Thinkpad T420s) I encountered the same problem. As far as I can tell it seems to be this bug: https://bugs.freedesktop.org/show_bug.cgi?id=52496 In the upstream xf86-input-synaptics repository a fix is available: http://cgit.freedesktop.org/xorg/driver/xf86-input-synaptics/commit/?h=synaptics-1.6-branch&id=eae444eb1a85d2401501d29f9a6c654c046f806b To verify this problem is indeed the cause of the xorg-server segfaults, I applied the patch by hand, recompiled x11-drivers/xf86-input-synaptics-1.6.2 and upgraded to x11-base/xorg-server-1.12.2. So far the system works as expected, no segfaults any more, but further testing is required.
The fix upstream that has been noted by Severin Strobl seems to correct the issue on the T410.
Created attachment 329458 [details] patch
Created attachment 329460 [details] updated ebuild
Also fixes the problem on T420s.
Fixed in 1.6.2-r1