X server crash with Iris
Setup:
- HW: GEN9 (BXT, SKL, CML)
- OS: Ubuntu 20.04
- SW: Git versions of kernel, X server and Mesa
Between following Mesa commits:
- 2020-10-28 17:32:32 ecdcf22d: aco: switch aco_print_asm to a FILE *
- 2020-10-29 15:08:05 3dfbed2a: aco: create s_clause on GFX10+
Iris started to crash Git version of X server to a NULL pointer access (on Git version of drm-tip kernel):
Current Operating System: Linux skl-i5k 5.9.0-CI #1 SMP PREEMPT Thu Oct 22 20:14:12 EEST 2020 x86_64
Kernel command line: BOOT_IMAGE=/boot/drm_intel root=/dev/sda2 rootwait fsck.repair=yes i915.enable_guc=2 ro
Current version of pixman: 0.38.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/opt/install/var/log/Xorg.0.log", Time: Thu Oct 29 23:54:58 2020
(==) Using system config directory "/opt/install/share/X11/xorg.conf.d"
WARNING: Kernel has no file descriptor comparison support: Function not implemented
(EE)
(EE) Backtrace:
(EE) 0: /usr/bin/X (xorg_backtrace+0x7d) [0x557db767127d]
(EE) 1: /usr/bin/X (0x557db7530000+0x1447bc) [0x557db76747bc]
(EE) 2: /lib/x86_64-linux-gnu/libc.so.6 (0x7fdff9e30000+0x46210) [0x7fdff9e76210]
(EE) 3: /opt/install/lib/dri/iris_dri.so (0x7fdff80cf000+0x9efeab) [0x7fdff8abeeab]
(EE) 4: /opt/install/lib/dri/iris_dri.so (0x7fdff80cf000+0xa03e55) [0x7fdff8ad2e55]
(EE) 5: /opt/install/lib/dri/iris_dri.so (0x7fdff80cf000+0x1005ee) [0x7fdff81cf5ee]
(EE) 6: /opt/install/lib/libgbm.so.1 (0x7fdff977e000+0x482d) [0x7fdff978282d]
(EE) 7: /opt/install/lib/xorg/modules/drivers/modesetting_drv.so (0x7fdff978f000+0x11425) [0x7fdff97a0425]
(EE) 8: /opt/install/lib/xorg/modules/drivers/modesetting_drv.so (0x7fdff978f000+0x14b97) [0x7fdff97a3b97]
(EE) 9: /opt/install/lib/xorg/modules/drivers/modesetting_drv.so (0x7fdff978f000+0x155e7) [0x7fdff97a45e7]
(EE) 10: /usr/bin/X (0x557db7530000+0xd56be) [0x557db76056be]
(EE) 11: /usr/bin/X (0x557db7530000+0xd5bc2) [0x557db7605bc2]
(EE) 12: /usr/bin/X (0x557db7530000+0xd4911) [0x557db7604911]
(EE) 13: /usr/bin/X (0x557db7530000+0x7531b) [0x557db75a531b]
(EE) 14: /usr/bin/X (0x557db7530000+0x793d4) [0x557db75a93d4]
(EE) 15: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf3) [0x7fdff9e570b3]
(EE) 16: /usr/bin/X (_start+0x2e) [0x557db756c4ae]
(EE)
(EE) Segmentation fault at address 0x8
(EE)
Fatal server error:
(EE) Caught signal 11 (Segmentation fault). Server aborting
Notes:
- There's no crash with Xwayland built from same version and running under Weston
- Same happens also with few days older drm-tip kernel and X server Git versions
- No idea whether it's GEN9 specific, as I don't have other HW for this