title: What is a R6010 error?
body: <p>I ran into a problem whereby my executable may receive an abort/retry/ignore dialog such as:</p>
  
  <p>Debug Error!
  Program: ...whatever.exe</p>
  
  <p>R6010
  - abort() has been called</p>
  
  <p>I believe it is because I have an unhandled exception and I can replicate the problem with this simple program:</p>
  
  <pre><code>int _tmain(int argc, _TCHAR* argv[])
  {
      try
      {
          throw std::exception();
      }
      catch (std::logic_error&amp; e)
      {
  
      }
  
      std::cout &lt;&lt; "Hello World!";
      return 0;
  }
  </code></pre>
  
  <p>Is my assumption correct (it is caused by an unhandled exception)?  I have found plenty of examples online for the error but nothing that actually defines what the error code means.</p>
  
  <p>This error only occurs in my debug build.  My release build will just hang before crashing out (which is what I expect for the unhandled exception).</p>