title: Is it possible to catch a segfault with try/catch?
body: <p>I did this test to see what happened:</p>
  
  <pre><code>try
  {
      int *x = 0;
      *x = 1234;
  }
  catch(...)
  {
      cout &lt;&lt; "OK";
  }
  </code></pre>
  
  <p>But it throws a segfault, why does it not catch the segfault?</p>