This seems to be NVIDIA related (I'm using nvidia-driver-470). Downgrading the libnvidia-egl-wayland1 package to the version used in impish fixes the issue; hence it's a 1.1.9 regression.
Setting GDK_BACKEND=x11, as mentioned in the upstream issue, works around the problem. ** Bug watch added: github.com/NVIDIA/egl-wayland/issues #27 https://github.com/NVIDIA/egl-wayland/issues/27 ** Also affects: egl-wayland via https://github.com/NVIDIA/egl-wayland/issues/27 Importance: Unknown Status: Unknown ** Also affects: egl-wayland (Ubuntu) Importance: Undecided Status: New ** Changed in: yelp (Ubuntu) Importance: High => Undecided ** Changed in: yelp (Ubuntu) Status: New => Invalid ** Tags added: regression-release ** Summary changed: - yelp crashes in wayland session + yelp crashes in wayland session with NVIDIA 470 -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to egl-wayland in Ubuntu. https://bugs.launchpad.net/bugs/1949924 Title: yelp crashes in wayland session with NVIDIA 470 Status in NVIDIA / egl-wayland: Unknown Status in egl-wayland package in Ubuntu: New Status in yelp package in Ubuntu: Invalid Bug description: $ yelp yelp: ../src/wayland-thread.c:87: wlExternalApiLock: Assertion `!"failed to lock pthread mutex"' failed. Aborted (core dumped) This does not happen in Debian testing, and it also works as expected in an Ubuntu on Xorg session. ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: yelp 41.1-1 ProcVersionSignature: Ubuntu 5.13.0-19.19-generic 5.13.14 Uname: Linux 5.13.0-19-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.20.11-0ubuntu70 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: ubuntu:GNOME Date: Fri Nov 5 02:51:43 2021 InstallationDate: Installed on 2019-11-10 (725 days ago) InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017) SourcePackage: yelp UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/egl-wayland/+bug/1949924/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp