FWIW, this should be fixed by
https://cgit.freedesktop.org/xorg/xserver/commit/?id= 9f04fa3babaaabe0ed5bf4aa256375 5bc6c45723
.
Note that this crash only happens when the X server is already shutting
down (or at least resetting for a new generation), so it's kind of a
minor issue.