title: How to track down a "double free or corruption" error
body: <p>When I run my (C++) program it crashes with this error.</p>
  
  <blockquote>
    <p><strong>* glibc detected *</strong> ./load: double free or corruption (!prev):
    0x0000000000c6ed50 ***</p>
  </blockquote>
  
  <p>How can I track down the error?</p>
  
  <p>I tried using print (<code>std::cout</code>) statements, without success. Could <code>gdb</code> make this easier?</p>