I am working on a software project, which can be build by invoking cmake, make and make install. The IDE I am using is JetBrains' CLion.
The thing that I do not understand is that when I run the program in CLion, I get this feedback:
Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)
However, when I run the program in a terminal, it works flawlessly.
When I use the CLion debugger, Assembly code is presented to me and I don't know why (see screenshot below).

I don't know how I should debug this issue. Apologies if my issue is a duplicate, in this case I'd be happy if one could show me the "original".
I should also mention that (although feeling quite comfortable with my Ubuntu 20.04) I am still fairly new to Linux/Unix in general and also not a master of the C language.
Thanks in advance for any hints, help or pushes in the right direction! Have a nice day!