title: Exit gracefully from glibc detected - malloc(): memory corruption
body: <p>Is there a graceful way to recover from the following in C++?</p>
  
  <pre><code>\*** glibc detected *** glibc detected - malloc(): memory corruption **\* 
  </code></pre>
  
  <p>I know that <code>try</code> / <code>catch</code> won't work and it does not seem like using <code>signal</code> handlers will work either. </p>