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 ** Bug watch added: freedesktop.org Bugzilla #101995 https://bugs.freedesktop.org/show_bug.cgi?id=101995 ** Changed in: xorg-server (Ubuntu) Importance: Undecided => High ** Changed in: xorg-server (Ubuntu) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/1839174 Title: Xorg crashes - segfault error 6 in libc-2.27.so To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1839174/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp