John Drinkwater, thank you for reporting this and helping make Ubuntu better.
To clarify, after the crash, is there a crash file in /var/crash? ** Changed in: xorg (Ubuntu) Importance: Undecided => Medium ** Changed in: xorg (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xorg in Ubuntu. https://bugs.launchpad.net/bugs/1535906 Title: X crashes with gnome-session: Fatal IO error 11 Status in xorg package in Ubuntu: Incomplete Bug description: This has been happening on and off since the Autumn, but only a handful of times so I haven’t been able to discover an underlying cause. It appears to trigger when I am using an application using GL, especially games though it has happened with just VLC, firefox and a file terminal sessions open. Moved onto the latest nvidia driver today to verify it was still happening there, with NVIDIA 361.18. One thing that might coincide with the problems is Firefox moving to GTK 3… I grabbed what appears to be the root cause in syslog, https://gist.github.com/johndrinkwater/9188eb52dd6dae3cdba3 as everything preceeding these lines are debug spew from the game I had been using, Awesomenauts. Jan 19 20:15:25 joran gnome-session[1858]: LeWindow manager warning: Log level 16: metacity: Fatal IO error 11 (Resource temporarily unavailable) on X server :0. Jan 19 20:15:25 joran gnome-session[1858]: gnome-session[1858]: WARNING: Child process 1940 was already dead. Jan 19 20:15:25 joran gnome-session[1858]: WARNING: Child process 1940 was already dead. First the window borders vanish, then applications start to close and it kicks me back to the desktop. ProblemType: Bug DistroRelease: Ubuntu 15.04 Package: xorg 1:7.7+7ubuntu4 ProcVersionSignature: Ubuntu 3.19.0-43.49-generic 3.19.8-ckt10 Uname: Linux 3.19.0-43-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia .proc.driver.nvidia.registry: Binary: "" .proc.driver.nvidia.version: NVRM version: NVIDIA UNIX x86_64 Kernel Module 361.18 Sat Jan 9 21:27:18 PST 2016 GCC version: gcc version 4.9.2 (Ubuntu 4.9.2-10ubuntu13) ApportVersion: 2.17.2-0ubuntu1.8 Architecture: amd64 CurrentDesktop: GNOME-Flashback:Unity Date: Tue Jan 19 20:56:31 2016 DistUpgraded: Fresh install DistroCodename: vivid DistroVariant: ubuntu DkmsStatus: bbswitch, 0.7, 3.19.0-33-generic, x86_64: installed bbswitch, 0.7, 3.19.0-39-generic, x86_64: installed bbswitch, 0.7, 3.19.0-42-generic, x86_64: installed bbswitch, 0.7, 3.19.0-43-generic, x86_64: installed nvidia-361, 361.18, 3.19.0-43-generic, x86_64: installed GraphicsCard: NVIDIA Corporation GK104 [GeForce GTX 660 Ti] [10de:1183] (rev a1) (prog-if 00 [VGA controller]) Subsystem: ASUSTeK Computer Inc. Device [1043:841e] InstallationDate: Installed on 2015-06-05 (228 days ago) InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422) MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M. ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.19.0-43-generic root=UUID=9b0f5dfa-6a96-4dac-b300-639131c68048 ro quiet splash SourcePackage: xorg UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev' UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 04/02/2011 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: 080014 dmi.board.asset.tag: To Be Filled By O.E.M. dmi.board.name: A76ML-K 30 dmi.board.vendor: FOXCONN dmi.board.version: 1.0 dmi.chassis.asset.tag: To Be Filled By O.E.M. dmi.chassis.type: 3 dmi.chassis.vendor: To Be Filled By O.E.M. dmi.chassis.version: To Be Filled By O.E.M. dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr080014:bd04/02/2011:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnFOXCONN:rnA76ML-K30:rvr1.0:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.: dmi.product.name: To Be Filled By O.E.M. dmi.product.version: To Be Filled By O.E.M. dmi.sys.vendor: To Be Filled By O.E.M. version.compiz: compiz 1:0.9.12.1+15.04.20150922-0ubuntu1 version.ia32-libs: ia32-libs N/A version.libdrm2: libdrm2 2.4.60-2 version.libgl1-mesa-dri: libgl1-mesa-dri 10.5.9-2ubuntu1~vivid2 version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A version.libgl1-mesa-glx: libgl1-mesa-glx 10.5.9-2ubuntu1~vivid2 version.nvidia-graphics-drivers: nvidia-graphics-drivers N/A version.xserver-xorg-core: xserver-xorg-core 2:1.17.1-0ubuntu3.1 version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.9.0-1ubuntu2 version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.5.0-1ubuntu2 version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917-1~exp1ubuntu2.3 version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.11-1ubuntu2build1 xserver.bootTime: Tue Jan 19 20:15:26 2016 xserver.configfile: default xserver.devices: input Power Button KEYBOARD, id 6 input Power Button KEYBOARD, id 7 input UVC Camera (046d:0992) KEYBOARD, id 8 input Dell Dell Smart Card Reader Keyboard KEYBOARD, id 9 input Logitech Gaming Mouse G400 MOUSE, id 10 xserver.errors: open /dev/fb0: No such file or directory Error loading keymap /var/lib/xkb/server-65487C2D0208C75C86C3B9612D8E48759EB03D9D.xkm Error loading keymap /var/lib/xkb/server-65487C2D0208C75C86C3B9612D8E48759EB03D9D.xkm xserver.logfile: /var/log/Xorg.0.log xserver.outputs: xserver.version: 2:1.17.1-0ubuntu3.1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1535906/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp