title: Glibc detected malloc() memory corruption (0xb6179bb8) when calling new keyword C++
body: <p>My program runs to a point where calling the <strong>new</strong> keyword would cause the error stated above. i.e. <code>char* a = new char[100]</code>. The error is reproducible and every time. I run the program until that point of calling the <strong>new</strong> keyword. It seems to be the memory location is corrupted at the point, but I'm not sure what he issue is. </p>
  
  <p>What are the possible causes for this error?</p>