I have an app provided by my college as part of a course and when I run it on Ubuntu 22.04 it crashes with a segmentation fault. However if I run it on 18.04 LTS and 20.04 LTS it works fine. I have tried running it from a 22.04 LTS Live CD and it crashes in the same way as on my laptop, so I don't think this is a problem with my installation. It is definitely related to the Ubuntu version.
I don't have access to the source code so I cannot recompile it or even dive into the source to see what might be causing it. Is there some way I can run this in a "20.04 compatibility mode"? Such a thing exists on Windows but I don't know if anything like it is available on Ubuntu.
I don't have any details for the seg fault as the app traps the fault and displays a generic error, but even if I had more details it would not help me as the college are not distributing the source.