Code change:
Once in several days, my X session crashes. It always happens at the time systemd-tmpfiles- runs. Here is the corresponding part of [ .525] (WW) Open ACPI failed () (Connection refused) [ .994] (II) config/udev: removing device Power Button [ .006] (II) evdev: Power Button: Close [ .006] (II) UnloadModule: "evdev" [ .006] (II) config/udev: Adding input device Power Button (/dev/input/event4) [ .006] () Power Button: Applying InputClass "evdev keyboard catchall" [ .006] () Power Button: Applying InputClass "Keyboard catchall" [ .006] (II) Using input driver 'evdev' for 'Power Button' [ .006] () Power Button: always reports core events [ .006] () evdev: Power Button: Device: "/dev/input/event4" [ .006] (--) evdev: Power Button: Vendor 0 Product 0x1 [ .006] (--) evdev: Power Button: Found keys [ .006] (II) evdev: Power Button: Configuring as keyboard [ .006] () Option "configinfo" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input11/event4" [ .006] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6) [ .006] () Option "xkbrules" "evdev" [ .006] () Option "xkbmodel" "pc104" [ .006] () Option "xkblayout" "us" [ .006] () Option "xkbvariant" "intl" [ .006] () Option "xkboptions" "ctrl:nocaps" [ .770] (II) Open ACPI successful () [ .770] (II) config/udev: removing device Video Bus [ .775] (II) evdev: Video Bus: Close [ .775] (II) UnloadModule: "evdev" [ .775] (II) config/udev: Adding input device Video Bus (/dev/input/event15) [ .775] () Video Bus: Applying InputClass "evdev keyboard catchall" [ .775] () Video Bus: Applying InputClass "Keyboard catchall" [ .775] (II) Using input driver 'evdev' for 'Video Bus' [ .775] () Video Bus: always reports core events [ .775] () evdev: Video Bus: Device: "/dev/input/event15" [ .775] (--) evdev: Video Bus: Vendor 0 Product 0x6 [ .775] (--) evdev: Video Bus: Found keys [ .775] (II) evdev: Video Bus: Configuring as keyboard [ .775] () Option "configinfo" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:09/LNXVIDEO:01/input/input23/event15" [ .775] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 8) [ .775] () Option "xkbrules" "evdev" [ .775] () Option "xkbmodel" "pc104" [ .775] () Option "xkblayout" "us" [ .775] () Option "xkbvariant" "intl" [ .775] () Option "xkboptions" "ctrl:nocaps" [ .839] (II) config/udev: removing GPU device /sys/devices/pci0000:00/0000:00:02.0/drm/card0 /dev/dri/card0 [ .839] xf86: remove device 1 /sys/devices/pci0000:00/0000:00:02.0/drm/card0 [ .839] failed to find screen to remove [ .935] (II) config/udev: removing device Video Bus [ .941] (II) evdev: Video Bus: Close [ .941] (II) UnloadModule: "evdev" [ .941] (II) config/udev: Adding input device Video Bus (/dev/input/event14) [ .941] () Video Bus: Applying InputClass "evdev keyboard catchall" [ .941] () Video Bus: Applying InputClass "Keyboard catchall" [ .941] (II) Using input driver 'evdev' for 'Video Bus' [ .941] () Video Bus: always reports core events [ .941] () evdev: Video Bus: Device: "/dev/input/event14" [ .941] (--) evdev: Video Bus: Vendor 0 Product 0x6 [ .941] (--) evdev: Video Bus: Found keys [ .941] (II) evdev: Video Bus: Configuring as keyboard [ .941] () Option "configinfo" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input22/event14" [ .941] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7) [ .941] () Option "xkbrules" "evdev" [ .941] () Option "xkbmodel" "pc104" [ .941] () Option "xkblayout" "us" [ .941] () Option "xkbvariant" "intl" [ .941] () Option "xkboptions" "ctrl:nocaps" [ .942] (II) config/udev: Adding input device Lid Switch (/dev/input/event2) [ .942] (II) No input driver specified, ignoring this device. [ .942] (II) This device may have been with another device file. [ .942] (II) config/udev: removing GPU device /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1 /dev/dri/card1 [ .942] xf86: remove device 0 /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1 [ .963] (EE) [ .963] (EE) Backtrace: [ .972] (EE) 0: /nix/store/0195lcgvy4g6vihbfm4qqfa9cckkpcfa-xorg-server-1.18.3/bin/X (OsSigHandler+0x29) [0x5954c9] [ .972] (EE) 1: /nix/store/jm1n87rp8vr90j9ahcrfzr57nc2r8vgf-glibc- (restorert+0x0) [0x7f27cfc91e8f] [ .990] (EE) 2: /nix/store/0195lcgvy4g6vihbfm4qqfa9cckkpcfa-xorg-server- (FreeScreen+0x23) [0x7f27c4df9413] [ .993] (EE) 3: /nix/store/0195lcgvy4g6vihbfm4qqfa9cckkpcfa-xorg-server-1.18.3/bin/X (xf86DeleteScreen+0x5a) [0x481d4a] [ .993] (EE) 4: /nix/store/0195lcgvy4g6vihbfm4qqfa9cckkpcfa-xorg-server-1.18.3/bin/X (xf86platformRemoveDevice+0x11e) [0x49612e] [ .994] (EE) 5: /nix/store/0195lcgvy4g6vihbfm4qqfa9cckkpcfa-xorg-server-1.18.3/bin/X (DeleteGPUDeviceRequest+0x9b) [0x49bb4b] [ .994] (EE) 6: /nix/store/0195lcgvy4g6vihbfm4qqfa9cckkpcfa-xorg-server-1.18.3/bin/X (deviceremoved+0xdf) [0x49785f] [ .994] (EE) 7: /nix/store/0195lcgvy4g6vihbfm4qqfa9cckkpcfa-xorg-server-1.18.3/bin/X (wakeuphandler+0x90) [0x498460] [ .994] (EE) 8: /nix/store/0195lcgvy4g6vihbfm4qqfa9cckkpcfa-xorg-server-1.18.3/bin/X (WakeupHandler+0x5c) [0x43c07c] [ .994] (EE) 9: /nix/store/0195lcgvy4g6vihbfm4qqfa9cckkpcfa-xorg-server-1.18.3/bin/X (WaitForSomething+0x1f6) [0x58dd86] [ .994] (EE) 10: /nix/store/0195lcgvy4g6vihbfm4qqfa9cckkpcfa-xorg-server-1.18.3/bin/X (Dispatch+0x8e) [0x43734e] [ .994] (EE) 11: /nix/store/0195lcgvy4g6vihbfm4qqfa9cckkpcfa-xorg-server-1.18.3/bin/X (dixmain+0x3c3) [0x43b543] [ .995] (EE) 12: /nix/store/jm1n87rp8vr90j9ahcrfzr57nc2r8vgf-glibc- (libcstartmain+0xf0) [0x7f27cf0a92e0] [ .995] (EE) 13: /nix/store/0195lcgvy4g6vihbfm4qqfa9cckkpcfa-xorg-server-1.18.3/bin/X (start+0x2a) [0x4258ba] [ .014] (EE) 14: ? (?+0x2a) [0x2a] [ .014] (EE) [ .014] (EE) Segmentation fault at address 0x8 [ .014] (EE) Fatal server error: [ .014] (EE) Caught signal 11 (Segmentation fault). Server aborting [ .014] (EE) [ .014] (EE) Please consult the The X.Org Foundation support at for help. [ .014] (EE) Please also check the log file at "" for additional information. [ .014] (EE) I can't reproduce the crash, it happens randomly. System: 16.09.1229. (Flounder) Nix version: nix-env (Nix) 1.11.4 Nixpkgs version: "16.09.1229."
I wonder if we'd better pick Xserver bump to 16.09: .
Hmm, I picked it, whether it fixes this problem you experience or not. I expect it to hit the channel within a couple days.
These lines seem suspicious: .
I have a computer in my living room with nixOS 16.09 on it. Since about a month every time I close the screen (the TV), the X server close itself. It does not segfault. But I have the same suspicious line in X11's logs. Any idea what cause the bit? Obviously, in my case, the "shotdowning" of the screen triggers that, but why? It might be related to what have.
Maybe its X11 trying to reconfigure itself. Maybe providing a configuration file would prevent it.
On one Intel-based desktop I was occasionally getting into an irrecoverable black-screen state on some similar conditions (all but the screen seemed OK), but I don't have any logs of that anymore.
Sorry for the spam, but I forgot to say that I didn't have this problem when I first installed nixOS 16.09 on this computer (fresh install), I installed it right before the official release of 16.09. The problem started to occurred after an upgrade, but I can't tell exactly when.
My computer too uses Intel graphic.
Maybe a different kernel? Does this occur on all the kernel versions currently available in release-16.09?
I've got 4.4.x all the time on that machine.
(triage) does this still happen?
I don't know, I don't use nixOS anymore.
I am closing then. If anyone experiences this issue, I will be glad to reopen.

Related discussion:
text: { stdenv, fetchurl, gmp }: stdenv.mkDerivation rec { <del> name = "ikarus-0.0.3"; </del> <ins> version = "0.0.3"; name = "ikarus-${version}"; </ins> src = fetchurl { <del> url = "http://ikarus-scheme.org/${name}.tar.gz"; </del> <ins> url = "http://launchpad.net/ikarus/0.0/${version}/+download/${name}.tar.gz"; </ins> sha256 = "0d4vqwqfnj39l0gar2di021kcf6bfpkc6g40yapkmxm6sxpdcvjv"; };