After the update of xserver-common and xserver-xorg-core from 1.18.0-3 to
1.18.1-1 things have gone better, X stills crash sometimes but no so
repeteadly.
Also I have found that the crashes happens when I'm using MATLAB (2013a),
while maximizing window or changing tab in the editor.
I have attached some Xorg logs after crashing X using MATLAB.
I couldn't reproduce the crashes using other software, but MATLAB neved
crashed X before.
[16.587]
X.Org X Server 1.18.1
Release Date: 2016-02-08
[16.587] X Protocol Version 11, Revision 0
[16.587] Build Operating System: Linux 3.16.0-4-amd64 x86_64 Debian
[16.587] Current Operating System: Linux thinkpad 4.3.0-1-amd64 #1 SMP Debian 4.3.5-1 (2016-02-06) x86_64
[16.588] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.3.0-1-amd64 root=UUID=48281400-56cd-4f0e-9c5a-892356efda82 ro quiet
[16.588] Build Date: 09 February 2016 11:06:03AM
[16.588] xorg-server 2:1.18.1-1 (http://www.debian.org/support)
[16.588] Current version of pixman: 0.33.6
[16.588] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[16.588] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[16.588] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Feb 20 18:00:09 2016
[16.642] (==) Using config directory: "/etc/X11/xorg.conf.d"
[16.642] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[16.874] (==) No Layout section. Using the first Screen section.
[16.874] (==) No screen section available. Using defaults.
[16.874] (**) |-->Screen "Default Screen Section" (0)
[16.874] (**) | |-->Monitor ""
[17.050] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[17.050] (**) | |-->Device "Intel Graphics"
[17.050] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[17.050] (==) Automatically adding devices
[17.050] (==) Automatically enabling devices
[17.050] (==) Automatically adding GPU devices
[17.050] (==) Max clients allowed: 256, resource mask: 0x1f
[17.114] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[17.114] Entry deleted from font path.
[17.460] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
built-ins
[17.460] (==) ModulePath set to "/usr/lib/xorg/modules"
[17.460] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[17.471] (II) Loader magic: 0x55fa115b9dc0
[17.471] (II) Module ABI versions:
[17.471] X.Org ANSI C Emulation: 0.4
[17.471] X.Org Video Driver: 20.0
[17.471] X.Org XInput driver : 22.1
[17.471] X.Org Server Extension : 9.0
[17.472] (++) using VT number 7
[17.472] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[17.473] (II) xfree86: Adding drm device (/dev/dri/card0)
[17.475] (--) PCI:*(0:0:2:0) 8086:0166:17aa:21fa rev 9, Mem @ 0xf000/4194304, 0xe000/268435456, I/O @ 0x5000/64
[17.475] (II) LoadModule: "glx"
[17.480] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[17.699] (II) Module glx: vendor="X.Org Foundation"
[17.699] compiled for 1.18.1, module version = 1.0.0
[17.699] ABI class: X.Org Server Extension, version 9.0
[17.699] (==) AIGLX enabled
[17.699] (II) LoadModule: "intel"
[17.700] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[17.881] (II) Module intel: vendor="X.Org Foundation"
[17.881] compiled for 1.18.0, module version = 2.99.917
[17.881] Module class: X.Org Video Driver
[17.881] ABI class: X.Org Video Driver, version 20.0
[17.881] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[17.881] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[17.881] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[17.881] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[17.940] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20150731
[17.940] (II) intel(0): SNA compiled: xserver-xorg-video-intel 2:2.99.917+git20160127-1+b1 (amd64 Build Daemon (binet) )
[17.940] (II) intel(0): SNA compiled for use with valgrind
[18.065]