Glibc detected malloc() memory corruption 0xb6179bb8 when calling new keyword C++
<p>My programme run to a point where calling the new keyword would cause the error stated above. eg. char* a = new char[100].  The error is reproducible and everytime I run the programme it is until that point of calling new keyword that causes problem. It seems to be the memory location is corrupted at the point. What is the possible cause for that?</p>

<p>Thanks.</p>
