On 14 August 2014 17:18, navin p wrote: > Is this a corruption , how do i debug this ? You can try rebuilding your code with -D_GLIBCXX_DEBUG compiler option, which turns on debugging checks in the C++ standard library. That might reveal a bug in your code. You could also try using the sanitizer features in recent versions of GCC.