The stacktrace looks similar to https://bugs.freedesktop.org/show_bug.cgi?id=101995 which was fixed in https://gitlab.freedesktop.org/xorg/xserver/commit/cf7517675
The commit is included in Ubuntu since https://launchpad.net/ubuntu/+source/xorg-server/2:1.20.0-2ubuntu1 and is in 18.04 from https://launchpad.net/ubuntu/+source/xorg-server-hwe-18.04/2:1.20.4-1ubuntu3~18.04.1
The stacktrace looks similar to https:/ /bugs.freedeskt op.org/ show_bug. cgi?id= 101995 which was fixed in https:/ /gitlab. freedesktop. org/xorg/ xserver/ commit/ cf7517675
The commit is included in Ubuntu since https:/ /launchpad. net/ubuntu/ +source/ xorg-server/ 2:1.20. 0-2ubuntu1 and is in 18.04 from https:/ /launchpad. net/ubuntu/ +source/ xorg-server- hwe-18. 04/2:1. 20.4-1ubuntu3~ 18.04.1