Same problem. It happend when I init Cursor.
This happens with NVIDIA graphics cards. I have a hybrid Nvidia/Intel card and the error occurs when I enable Nvidia. Visual Studio Code also crashes, it must be some Electron configuration.
I use Arch Linux, with Wayland/Hyprland.
I’m getting this with an intel graphics card