Recently I found that all my Steam games using Proton (which lets you play Windows games under Linux) crashed on launch with the following error:
*** stack smashing detected ***: terminated
Searching was largely unhelpful – lots of other people had the same issue but mostly down to having games on a non-Linux filesystem (e.g. NTFS), or the Proton devs saying graphics card X wasn’t supported. None of these applied to me, but the fix I eventually found was:
sudo ubuntu-drivers autoinstall
This changed several packages that were related to my graphics cards (one built-in to the motherboard, plus a separate Nvidia card) and sorted the problem.