After upgrading from xorg-server-1.9.5 to xorg-server-1.10.0.901 /usr/bin/X segfaults when trying to log out from desktop session (xfce). x11-base/xorg-drivers was upgraded to 1.10 from 1.9 and x11-drvivers/xf86* were also rebuilt to avoid non-startup of X due to ABI mis-match. My graphics device is an onboard nvidia NV63 and I am using the nouveau driver, etc. from the X11 overlay, i.e. 'live' *9999.ebuilds. # emerge -pv libdrm mesa nouveau-drm xf86-video-nouveau [ebuild R ] x11-libs/libdrm-9999 USE="libkms -static-libs" VIDEO_CARDS="nouveau radeon -intel -vmware" [ebuild R ] x11-base/nouveau-drm-99999999 [ebuild R ] media-libs/mesa-9999 USE="classic egl gallium gles llvm motif nptl openvg wayland -d3d -debug -pic (-selinux)" VIDEO_CARDS="nouveau radeon -i810 -i915 -i965 -intel -mach64 -mga -r100 -r128 -r200 -r300 -r600 -savage -sis -tdfx -via -vmware" [ebuild R ] x11-drivers/xf86-video-nouveau-9999 Apart from xf86-video-nouveau these were not rebuilt as a result of the xorg-server upgrade. Thus the problem seems to be a directly connected to the xorg-server upgrade. X is started using startx: (from .xinitrc): setxkbmap -option terminate:ctrl_alt_bksp && exec ck-launch-session dbus-launch --auto-syntax --exit-with-session startxfce4 I have tried both with my usual xorg.conf and without any xorg.conf at all, i.e. just the internal defaults. No difference. The effect of the segfault is that I cannot return to the normal session on VT1 as there is no resetting of the graphics mode. I get a black screen with a non-blinking cursor in top left corner. Whilst X is running properly I can switch between different virtual terminals and can in fact kill X via the Ctrl->Alt->Backspace key sequence and re-start it again without problem. It is logging out from the desktop that causes the problem. The system is not dead but is unusable from the desktop without any graphic display. Alt->SysRq key sequences work (without displaying anything, of course) and I have to resort to halting the system using this method. Is it useful to mention that I cannot suspend when using nouveau? This works with the proprietary nvidia-drviver, as does logging-out from the desktop with this driver and xorg-server-1.10.0.901. I cannot think what else, if anything, might need rebuilding at the same time as upgrading xorg-server. Xorg.0.log to follow as attachment. Reproducible: Always Steps to Reproduce: 1.Upgrade xorg-server to 1.10.0.901 2.Try to logout from xfce desktop session 3. Actual Results: /usr/bin/X segfaults and there is no graphics output at all on the system. Needs hard reset to fix.
Created attachment 268099 [details] Log file from xorg-server-1.10.0.901 sessiong
Segfaults on xf86-video-intel too, I have an intel arrandale GPU.
Created attachment 268831 [details] Xorg.0.log Xorg log file after crash
(In reply to comment #0) Upgrading to =x11-base/xorg-server-1.10.0.902 has fixed things for me. (libdrm, mesa, and xf86-video-nouveau are all *-9999 from x11 overlay and rebuilt from git trees current as of earlier today.) Kernel is 2.6.38.2 with built-in nouveau-drm (current external nouveau-drm git does not build against 2.6.38.2). This setup does not work against 2.6.37.6, but the problem there is a different one - needs an older xf86-video-nouveau version I imagine.
(In reply to comment #4) > (In reply to comment #0) > > Upgrading to =x11-base/xorg-server-1.10.0.902 has fixed things for me. Unfortunately, and rather stupidly, I hadn't tested properly. So, the problem remains. Sometimes, but not always, it's possible to restore the original framebuffer with a Alt-SysRq V key sequence. So I have reverted to xorg-server-1.9.5 again.
This seems to be related to https://bugzilla.xfce.org/show_bug.cgi?id=7442 and https://bugs.gentoo.org/show_bug.cgi?id=373085 The issue also appears with x11-base/xorg-server-1.10.2 and xf86-video-intel.
The bug is gone for me using version 1.10.3.
(In reply to comment #7) > The bug is gone for me using version 1.10.3. (Using xf86-video-intel)
Please check with latest xorg-server and reopen this bug if the problem still exists.