title: "Process finished with exit code 139" in CLion IDE while the program is running fine in the terminal
body: <p>I am working on a software project, which can be build by invoking <code>cmake</code>, <code>make</code> and <code>make install</code>. The IDE I am using is JetBrains' CLion.</p>
  <p>The thing that I do not understand is that when I run the program in CLion, I get this feedback:</p>
  <blockquote>
  <p>Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)</p>
  </blockquote>
  <p>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).
  <a href="https://i.stack.imgur.com/vhTwz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vhTwz.png" alt="enter image description here" /></a></p>
  <p>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 &quot;original&quot;.</p>
  <p>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.</p>
  <p>Thanks in advance for any hints, help or pushes in the right direction! Have a nice day!</p>