FS#67774 - [xorg-server] crashes on resume from suspend after upgrading from 1.20.8 to 1.20.9

Attached to Project: Arch Linux
Opened by Sultan Alsawaf (kerneltoast) - Sunday, 30 August 2020, 19:44 GMT
Last edited by Laurent Carlier (lordheavy) - Wednesday, 02 September 2020, 06:50 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Andreas Radke (AndyRTR)
Laurent Carlier (lordheavy)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

When I put my laptop to sleep and then wake it up, a few seconds after logging in I am presented with the following xserver crash:
--------------------------------------8<----------------------------------------
Process 647 (Xorg) of user 0 dumped core.

Stack trace of thread 647:
#0 0x00007f19f58c7615 raise (libc.so.6 + 0x3d615)
#1 0x00007f19f58b0862 abort (libc.so.6 + 0x26862)
#2 0x000056297c6d535a OsAbort (Xorg + 0x14a35a)
#3 0x000056297c6d6e21 FatalError (Xorg + 0x14be21)
#4 0x000056297c6dca79 n/a (Xorg + 0x151a79)
#5 0x00007f19f58c76a0 __restore_rt (libc.so.6 + 0x3d6a0)
#6 0x000056297c609f03 n/a (Xorg + 0x7ef03)
#7 0x000056297c62cfaf ChangeWindowAttributes (Xorg + 0xa1faf)
#8 0x000056297c5faa58 n/a (Xorg + 0x6fa58)
#9 0x000056297c5c5165 n/a (Xorg + 0x3a165)
#10 0x00007f19f58b2152 __libc_start_main (libc.so.6 + 0x28152)
#11 0x000056297c5c55ae _start (Xorg + 0x3a5ae)

Stack trace of thread 685:
#0 0x00007f19f577f6a2 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf6a2)
#1 0x00007f19f088d70c n/a (i965_dri.so + 0x51e70c)
#2 0x00007f19f088ca28 n/a (i965_dri.so + 0x51da28)
#3 0x00007f19f57793e9 start_thread (libpthread.so.0 + 0x93e9)
#4 0x00007f19f598a293 __clone (libc.so.6 + 0x100293)

Stack trace of thread 687:
#0 0x00007f19f577f6a2 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf6a2)
#1 0x00007f19f088d70c n/a (i965_dri.so + 0x51e70c)
#2 0x00007f19f088ca28 n/a (i965_dri.so + 0x51da28)
#3 0x00007f19f57793e9 start_thread (libpthread.so.0 + 0x93e9)
#4 0x00007f19f598a293 __clone (libc.so.6 + 0x100293)

Stack trace of thread 672:
#0 0x00007f19f577f6a2 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf6a2)
#1 0x00007f19f4b42e60 n/a (intel_drv.so + 0xb4e60)
#2 0x00007f19f57793e9 start_thread (libpthread.so.0 + 0x93e9)
#3 0x00007f19f598a293 __clone (libc.so.6 + 0x100293)

Stack trace of thread 674:
#0 0x00007f19f577f6a2 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf6a2)
#1 0x00007f19f4b42e60 n/a (intel_drv.so + 0xb4e60)
#2 0x00007f19f57793e9 start_thread (libpthread.so.0 + 0x93e9)
#3 0x00007f19f598a293 __clone (libc.so.6 + 0x100293)

Stack trace of thread 677:
#0 0x00007f19f577f6a2 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf6a2)
#1 0x00007f19f4b42e60 n/a (intel_drv.so + 0xb4e60)
#2 0x00007f19f57793e9 start_thread (libpthread.so.0 + 0x93e9)
#3 0x00007f19f598a293 __clone (libc.so.6 + 0x100293)

Stack trace of thread 673:
#0 0x00007f19f577f6a2 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf6a2)
#1 0x00007f19f4b42e60 n/a (intel_drv.so + 0xb4e60)
#2 0x00007f19f57793e9 start_thread (libpthread.so.0 + 0x93e9)
#3 0x00007f19f598a293 __clone (libc.so.6 + 0x100293)

Stack trace of thread 688:
#0 0x00007f19f577f6a2 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf6a2)
#1 0x00007f19f088d70c n/a (i965_dri.so + 0x51e70c)
#2 0x00007f19f088ca28 n/a (i965_dri.so + 0x51da28)
#3 0x00007f19f57793e9 start_thread (libpthread.so.0 + 0x93e9)
#4 0x00007f19f598a293 __clone (libc.so.6 + 0x100293)

Stack trace of thread 678:
#0 0x00007f19f577f6a2 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf6a2)
#1 0x00007f19f4b42e60 n/a (intel_drv.so + 0xb4e60)
#2 0x00007f19f57793e9 start_thread (libpthread.so.0 + 0x93e9)
#3 0x00007f19f598a293 __clone (libc.so.6 + 0x100293)

Stack trace of thread 676:
#0 0x00007f19f577f6a2 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf6a2)
#1 0x00007f19f4b42e60 n/a (intel_drv.so + 0xb4e60)
#2 0x00007f19f57793e9 start_thread (libpthread.so.0 + 0x93e9)
#3 0x00007f19f598a293 __clone (libc.so.6 + 0x100293)

Stack trace of thread 686:
#0 0x00007f19f577f6a2 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf6a2)
#1 0x00007f19f088d70c n/a (i965_dri.so + 0x51e70c)
#2 0x00007f19f088ca28 n/a (i965_dri.so + 0x51da28)
#3 0x00007f19f57793e9 start_thread (libpthread.so.0 + 0x93e9)
#4 0x00007f19f598a293 __clone (libc.so.6 + 0x100293)

Stack trace of thread 675:
#0 0x00007f19f577f6a2 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf6a2)
#1 0x00007f19f4b42e60 n/a (intel_drv.so + 0xb4e60)
#2 0x00007f19f57793e9 start_thread (libpthread.so.0 + 0x93e9)
#3 0x00007f19f598a293 __clone (libc.so.6 + 0x100293)
-------------------------------------->8----------------------------------------

This only occurs with version 1.20.9 of xserver; it doesn't happen with 1.20.8. Furthermore, it occurrs 100% of the time that I wake my laptop from suspend, and it always occurs within a few seconds after logging in. Here is information on my system:
--------------------------------------8<----------------------------------------
# inxi -Fzm
System: Kernel: 5.7.11 x86_64 bits: 64 Desktop: Xfce 4.14.2 Distro: Arch Linux
Machine: Type: Laptop System: Dell product: Precision 5540 v: N/A serial: <filter>
Mobo: Dell model: 0FMYX6 v: A00 serial: <filter> UEFI: Dell v: 1.8.1 date: 07/03/2020
Battery: ID-1: BAT0 charge: 47.1 Wh condition: 87.4/97.0 Wh (90%)
Memory: RAM: total: 31.11 GiB used: 1.42 GiB (4.6%)
Array-1: capacity: 32 GiB slots: 2 EC: None
Device-1: DIMM A size: 16 GiB speed: 2667 MT/s
Device-2: DIMM B size: 16 GiB speed: 2667 MT/s
CPU: Info: 8-Core model: Intel Core i9-9880H bits: 64 type: MT MCP L2 cache: 16.0 MiB
Speed: 1100 MHz min/max: 800/4800 MHz Core speeds (MHz): 1: 1101 2: 1100 3: 1101 4: 1100 5: 1100 6: 1100 7: 1100
8: 1100 9: 1101 10: 1100 11: 1100 12: 1100 13: 1100 14: 1100 15: 1100 16: 1100
Graphics: Device-1: Intel UHD Graphics 630 driver: i915 v: kernel
Device-2: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo
Display: server: X.Org 1.20.9 driver: intel resolution: 1920x1080~60Hz
OpenGL: renderer: Mesa Intel UHD Graphics 630 (CFL GT2) v: 4.6 Mesa 20.1.6
Audio: Device-1: Intel Cannon Lake PCH cAVS driver: snd_hda_intel
Sound Server: ALSA v: k5.7.11
Network: Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi
IF: wlp59s0 state: up mac: <filter>
Drives: Local Storage: total: 931.51 GiB used: 447.19 GiB (48.0%)
ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 EVO Plus 1TB size: 931.51 GiB
Partition: ID-1: / size: 915.41 GiB used: 447.13 GiB (48.8%) fs: ext4 dev: /dev/dm-0
ID-2: /boot size: 238.1 MiB used: 46.4 MiB (19.5%) fs: ext4 dev: /dev/nvme0n1p2
Swap: Alert: No Swap data was found.
Sensors: System Temperatures: cpu: 38.0 C mobo: N/A
Fan Speeds (RPM): cpu: 0 fan-2: 0
Info: Processes: 289 Uptime: 14m Shell: Bash inxi: 3.1.06
-------------------------------------->8----------------------------------------

I've opened a bug for this in xserver here: https://gitlab.freedesktop.org/xorg/xserver/issues/1073
This task depends upon

Closed by  Laurent Carlier (lordheavy)
Wednesday, 02 September 2020, 06:50 GMT
Reason for closing:  Fixed
Additional comments about closing:  xorg-server-1.20.9-2
Comment by Andrew Kotsyuba (avallac_h) - Monday, 31 August 2020, 16:35 GMT
Possible solution (I tried it, seems to work fine):
https://gitlab.freedesktop.org/xorg/xserver/-/issues/1067#note_612461
Comment by Sultan Alsawaf (kerneltoast) - Tuesday, 01 September 2020, 19:51 GMT
That patch fixes the issue for me as well.

Could we get this patch into the Arch package?
Comment by Laurent Carlier (lordheavy) - Wednesday, 02 September 2020, 06:19 GMT
Please check with xorg-server-1.20.9-2 in testing
Comment by Sultan Alsawaf (kerneltoast) - Wednesday, 02 September 2020, 06:49 GMT
xorg-server-1.20.9-2 works.

Loading...